-
Notifications
You must be signed in to change notification settings - Fork 106
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
Initial websocket request can fail #105
Comments
Ideas on why
|
@consideRatio I ran into this issue while working on NASA-IMPACT/veda-jupyterhub#2. I have opened a PR with a proposed workaround in #112. Please let me know if that looks reasonable. |
sunu
added a commit
to sunu/jupyter-remote-qgis-proxy
that referenced
this issue
Jun 5, 2024
Related to jupyterhub/jupyter-remote-desktop-proxy#105. When QGIS starts before VNC connection is established, the QGIS process doesn't get attached to the VNC session and runs in the background. We wait for the VNC connection to be established to make sure the QGIS GUI shows up in the VNC session.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've not been able to pinpoint the reason, but it seems like the initial attempt to connect to a VNCserver via websockets when visiting /desktop can sometimes fail. I suspect its a race condition that may make it never happen in some contexts, and often in others.
In #101 there is now a test that often but not always in our CI system on the first attempt, but not the second.
Debugging
The text was updated successfully, but these errors were encountered: