-
Notifications
You must be signed in to change notification settings - Fork 5.2k
A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration. #4630
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
Comments
I am having the same issue here with Google cloud . I am able to open jupyter notebook . I follow the step |
@TonyFly3000 Can you please post the errors you are getting? are you getting it as - Jupyter can't connect to kernel? if yes, click on f12 to see if its a websocket issue conda install tornado==4.5.3 If this doesn't work there could be a network issue for which none has found a solution yet. if none of these works for you, you can chuck this off and use google's notebook instance from AI platform option, go through this, Let me know how it goes! Thanks |
@Aravinviju Hi Arav, It turns out that its my company network issue. I am able to run the jupyter in a GCP at my home. Its weird that when I run it in the company ,it keep showing "A connection to the notebook server could not be established" I installed the R studio server at the same VM in GCP and its work fine in my company network. Thank you |
@TonyFly3000 Hi Tony Thanks for the update. This problem has been happening for a while for quite a lot of people. But if you're comfortable using the R studio, its up to you. Thanks |
I am using GCP AI Platform and am regularly getting this Server Connection Error error on a 'Terminal' flavoured Notebook. Started occurring about 3 weeks ago. Never noticed it before then. I was connecting via a hotel WiFi so thought it was the transport layer, but now I am connected at home with a fixed connection. |
@intotecho I have the same issue |
I had websocket issue and your conversation have helped me .. thank alot :) |
I'm also having this problem with an AI Notebook Instance, the same as here: https://stackoverflow.com/questions/60423090/server-connection-error-on-gcp-ai-platform-notebook |
hi guys i am facing the same issue..and looks like none of the suggestions given here are working for me thanks |
Same here, load_extensions Any suggestion? |
I had the same issue. For me it was due to a reverse proxy that I had to also enable WebSockets for by adding the appropriate headers. |
I had a VPN running. Disabling it fixed the problem for me. |
on my "C:\Users\musal" directory I got this same error : But I installed it on another directory ( C:\pythonDeepdivPdf\5_objects and classes ) it is working fine now, I installed it using official website https://jupyter.org/install : If you use pip, you can install it with (but make sure to install it in the directory you want ):
Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows):
|
I installed Python on my PC and everything started working....I didn't install python before installing anaconda |
hi there, I have this same issue, but I only get this when running jupyter notebooks in R, when i use python 3 notebooks it connects to the kernel fine - would anyone be able to help? Kind regards, |
Hi @rachel662 - I would check the FWIW, mine looks as follows (running on a Mac OS): {
"argv": ["/Library/Frameworks/R.framework/Resources/bin/R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"],
"display_name": "R",
"language": "R"
} Should you still encounter issues, it might be a good idea to include the output of the notebook server's console in a follow-up comment as connection issues have many manifestations. |
Hi
I have tried all the versions of the tornado, it doesn't solve the issue.
I started with python 3.6 and tried till python 3.7.3 with all the combinations of tornado versions.
Its still giving the same problem.
As I said I'm using jupyter in a GCP instance(ubuntu).
In the Same instance it works perfectly well for my colleague.
I have tried changing my machine too, but there wasn't any effect.
Check:
Isntance - checked with new instance.
Machine - Checked in a different machine.
Tornado versions - Tried all combinations, non worked.
The Jupyter notebook was perfectly work till last week and suddenly this happened. I'm not sure what the problem is. I have tried all the solutions you guys have mentioned on the other related issues.


I Connected from home on a Thursday and it was working fine, the next day at office when I connected back it started showing this error. Can Network change be an issue? or would it have changed or put some kind of security barrier in my office user profile or ID?
I clearly don't have a clue!
Any help on this is much appreciated.
Thanks
Arav
The text was updated successfully, but these errors were encountered: