-
Notifications
You must be signed in to change notification settings - Fork 180
Fix issues with webscockets #1623
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…nd streamline service availability check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
added error handling during initialization implemented a mechanism to prevent multiple concurrent initializations introduced a connection timeout for websocket connections improved error propagation for service availability checks and reconnection attempts
3a0dab8
into
dev
Uh oh!
There was an error while loading. Please reload this page.
Description
Replace HEAD request with query param on the main GET request
In situation where JupyterLab is running behind OAuth 2, like in JupyterHub with HTTPS enabled, the HEAD method is not supported. We use HEAD request to check the connection before opening a websocket. This PR replaces HEAD request with a query parameter in the main GET request thus enabling the extension to work with OAuth 2 flow.
Fix websocket reconnection issues
initialize()
method to better report connection failures_initializationInProgress
to prevent multiple concurrent initialization attempts