-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Panel Preview not working: KeyError #7433
Comments
Reading the code I really struggle to see how this is possible UNLESS the websocket connection takes >30 seconds to open. Can you confirm how quickly this happens? |
Thanks so much for responding. The preview opens and closes the web socket almost instantanously. panel-preview-not-working.mp4 |
Right now my hypothesis is that token/ session_id is not valid due to the xrsf cookie issue jupyterhub/zero-to-jupyterhub-k8s#3422 mentioned. |
I'm fairly certain those are unrelated issues, the token is transmitted as part of the websocket headers so that seems unlikely to be affected by any cookie issues. Also the token clearly can be decoded since it doesn't error on the |
My understanding from reading the issue is that it is in fact a headers issue. I just do not understand if its causing this issue. |
An additional comment is that we've mixed a helm chart v 3.3.8 for installing Jupyterhub App. version 4.1.6 with installing the jupyterhub 5.2.1 python package. We will try to align these. |
As a sidenote, keep in mind that the Preview feature is also broken with notifications turned on: |
My colleagues also mentions #7039 as something that might be related. |
Status Update on our findings: Panel preview can show but not work fully initially. When we refresh it does not show and there is some websocket issue. WorksOur updated Jupyter image works with Panel preview when
Does not work
DetailsWe tried both helm charts marked below from https://hub.jupyter.org/helm-chart/. We tried the docker images We also tried our original docker image (which is also |
When we open the preview the web socket is connected. When we refresh the connection is lost When we refresh the connection is lost again with the same session session id/ token. Should we see the same token @philippjfr ? |
Just tried again while testing an upgrade of our jupyterhub. I can open the preview - but not refresh. During refresh the websocket connection is lost. panel-preview-not-refresh.mp4 |
I'm working on upgrading our jupyterhub and Panel. In our existing setup the Jupyter Panel Preview is working. But not in the new setup.
Steps
base
environmentpn.panel('hello').servable()
there is no problem.)Check the server logs
conda list
Additional Context
I'm told there is also a xrsf cookie issue jupyterhub/zero-to-jupyterhub-k8s#3422. I don't know if its related.
The text was updated successfully, but these errors were encountered: