-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab-CI: WebSocketException: Connection to 'http://127.0.0.1:33655#' was not upgraded to websocket #158
Comments
Looks more like an issue with your GitLab setup. Will be great if it can be reproduced locally in a docker container. Will be great if you can try |
I would like to help you to reproduce this issue. To do so...
|
We can try to repro locally in a Docker container by using Cirrus CLI. Once you install it you can create env:
FLUTTER_VERSION: 2.2.0
test_task:
container:
image: cirrusci/flutter:$FLUTTER_VERSION
script:
- flutter pub get
- flutter test
- flutter build apk Once you have it you can try to run |
Closing because of inactivity and not enough information to reproduce 😪 |
We solved it. Our gitlab-runner runs behind a corporate proxy server, thus PROXY variables were mapped into the runner. |
@boldt where did you add localhost to the I'm running into this same issue, although using action, I have |
Hint: I cross-posted this issue also on flutter/flutter#83344, since I don't know whether it's a flutter issue or an issue with the docker-image.
Environment
Steps to Reproduce
I created the standard "getting started" app:
On our local machines, we can run
flutter test
, which succeeds:Now, we want to build the app with gitlab-CI. We're using the image
cirrusci/flutter:2.2.0
:Now,
flutter test
crashes with the error:The text was updated successfully, but these errors were encountered: