Git Product home page Git Product logo

Comments (9)

RRosio avatar RRosio commented on August 15, 2024

Thank you for opening this issue @Jules00768, could you share the version of Notebook and other Jupyter related packages you are using, via jupyter --version as well as the output you see from where you run jupyter notebook or jupyter notebook --debug? When running jupyter kernelspec list do you see any available kernels?

from notebook.

Lubuntu-Man avatar Lubuntu-Man commented on August 15, 2024

this is the same issue i'm facing, working on lubuntu lts 22.04, the jupyter will execute codes as usual but the kernel is not connecting at all as seen in the terminal. All i have noticed in terminal is that is stays on connecting and nothing after that. Also at the first run it shows this after trying to connect: [I 2024-07-22 16:38:51.966 ServerApp] Connecting to kernel dff0b987-2f5c-4ff2-999e-8f5eaf39055e.
[W 2024-07-22 16:38:52.098 ServerApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x765de7492f50>

I tried creating new kernel, reinstalling zmq and all other stuff. The notebook and ipykernel has been reinstalled too.

In debug, I have noticed in terminal that it keeps repeating token accepting procedure but never fails or shows success either:

2024-07-22 17:00:16.373 ServerApp] Accepting token-authenticated request from 1xx.x.x.x
[D 2024-07-22 17:00:16.420 ServerApp] 200 GET /api/contents?content=1&hash=0&1721xxxxxxxxx ([email protected]) 48.12ms
[D 2024-07-22 17:00:17.777 ServerApp] Accepting token-authenticated request from 1xx.x.x.x
[D 2024-07-22 17:00:17.781 ServerApp] 200 GET /api/contents/pp.ws/initiate1.ipynb/checkpoints?17xxxxxx65 ([email protected]) 4.48ms

from notebook.

RRosio avatar RRosio commented on August 15, 2024

Thank you for adding your input here @Lubuntu-Man! There are a few issues in the queue that users submitted after having trouble connecting to the kernel. You might want to take a look there to see if there is a similar issue reported that mentions a potential fix or workaround.

from notebook.

RRosio avatar RRosio commented on August 15, 2024

@Jules00768 just a follow up ping here in case you were able to try out the suggestions in my previous comment?

from notebook.

RRosio avatar RRosio commented on August 15, 2024

Hi @Lubuntu-Man, wondering if you are still facing this issue? Were you able to look at the queue to find a similar issue? Also if you could share the version of Notebook you are using (jupyter --version) that would be helpful!

from notebook.

Lubuntu-Man avatar Lubuntu-Man commented on August 15, 2024

hey @RRosio, so i switched to a windows 10 laptop from lubuntu 22.04 desktop, and you won't believe, i faced the same issue. Exactly the same. here are the version details or current windows system:
IPython : 8.26.0
ipykernel : 6.29.5
ipywidgets : 8.1.3
jupyter_client : 8.6.2
jupyter_core : 5.7.2
jupyter_server : 2.14.2
jupyterlab : 4.2.4
nbclient : 0.10.0
nbconvert : 7.16.4
nbformat : 5.10.4
notebook : 7.2.1
qtconsole : 5.5.2
traitlets : 5.14.3

I am trying to find any irregularities in firewall. adding the jupyter manually in firewall allow hasn't made any difference. God help us!

from notebook.

RRosio avatar RRosio commented on August 15, 2024

I will close this issue due to inactivity but please feel free to reopen with any additional information/updates!

from notebook.

Lubuntu-Man avatar Lubuntu-Man commented on August 15, 2024

so nobody has found any solution to this till now. I just performed the zmq check to and it didn't help either. we really need a solution to this as this issue seems to be very unique. Although people in past did came through such kernel issues but nobody seems to find the solution of this particular "[W 2024-08-06 18:57:37.827 ServerApp] Got events for closed stream <zmq.eventloop.zmqstream.ZMQStream object at 0x000001CDAD8CE270>"

from notebook.

Lubuntu-Man avatar Lubuntu-Man commented on August 15, 2024

@RRosio hey, so for me, installing python 3.10 and the anaconda 3 and then installing jupyter notebook 6.5.7 in conda env from Anaconda navigator finally helped. Here i'm attaching the current version details for everyone's reference. Thank you for your efforts as i read in other discussions zmq related errors which helped me solve this out.
jupyter --version
Selected Jupyter core packages...
IPython : 8.25.0
ipykernel : 6.28.0
ipywidgets : not installed
jupyter_client : 7.4.9
jupyter_core : 5.7.2
jupyter_server : 2.14.1
jupyterlab : not installed
nbclient : 0.8.0
nbconvert : 7.10.0
nbformat : 5.9.2
notebook : 6.5.7
qtconsole : not installed
traitlets : 5.14.3

from notebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.