notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Warning message "Replacing stale connection"

Open maddukurisrinivasarao opened this issue 4 years ago • 3 comments

I am getting "Replacing stale connection" warning message in for following scenario, is it expected behavior?

  1. Launch a jupyter session, connect to a kernel (e.g python kernel)
  2. Stop jupyter server by pressing Ctrl-C, don't close the jupyter console window
  3. Launch a jupyter session, connect to a kernel (e.g python kernel)

Noticed a warning message: "Replacing stale connection"

Note: jupyter_client version 5.3.3

maddukurisrinivasarao avatar Feb 12 '20 20:02 maddukurisrinivasarao

Hmm - I'm not reproducing this (using 6.0.3). The comment in this area of the code seems to sum up the intent and, although it's "easy for me to say", I don't think it's something to worry about.

kevin-bates avatar Mar 04 '20 21:03 kevin-bates

Hi, I had the same issues: https://github.com/jupyter/jupyter_client/issues/510#issuecomment-608198607

mattburnham avatar Apr 03 '20 02:04 mattburnham

I also get this, and cannot execute any notebook cells: dependencies:

  - _libgcc_mutex=0.1
  - _openmp_mutex=4.5
  - anyio=4.3.0
  - argon2-cffi=23.1.0
  - argon2-cffi-bindings=21.2.0
  - arrow=1.3.0
  - asttokens=2.4.1
  - async-lru=2.0.4
  - attrs=23.2.0
  - babel=2.14.0
  - beautifulsoup4=4.12.3
  - bleach=6.1.0
  - brotli-python=1.1.0
  - bzip2=1.0.8
  - ca-certificates=2024.2.2
  - cached-property=1.5.2
  - cached_property=1.5.2
  - certifi=2024.2.2
  - cffi=1.16.0
  - charset-normalizer=3.3.2
  - comm=0.2.2
  - debugpy=1.8.1
  - decorator=5.1.1
  - defusedxml=0.7.1
  - entrypoints=0.4
  - exceptiongroup=1.2.0
  - executing=2.0.1
  - fqdn=1.5.1
  - h11=0.14.0
  - h2=4.1.0
  - hpack=4.0.0
  - httpcore=1.0.5
  - httpx=0.27.0
  - hyperframe=6.0.1
  - idna=3.6
  - importlib-metadata=7.1.0
  - importlib_metadata=7.1.0
  - importlib_resources=6.4.0
  - ipykernel=6.29.3
  - ipython=8.22.2
  - isoduration=20.11.0
  - jedi=0.19.1
  - jinja2=3.1.3
  - json5=0.9.25
  - jsonpointer=2.4
  - jsonschema=4.21.1
  - jsonschema-specifications=2023.12.1
  - jsonschema-with-format-nongpl=4.21.1
  - jupyter-lsp=2.2.5
  - jupyter_client=8.6.1
  - jupyter_core=5.7.2
  - jupyter_events=0.10.0
  - jupyter_server=2.14.0
  - jupyter_server_terminals=0.5.3
  - jupyterlab=4.1.6
  - jupyterlab_pygments=0.3.0
  - jupyterlab_server=2.26.0
  - ld_impl_linux-64=2.40
  - libexpat=2.6.2
  - libffi=3.4.2
  - libgcc-ng=13.2.0
  - libgomp=13.2.0
  - libnsl=2.0.1
  - libsodium=1.0.18
  - libsqlite=3.45.2
  - libstdcxx-ng=13.2.0
  - libuuid=2.38.1
  - libxcrypt=4.4.36
  - libzlib=1.2.13
  - markupsafe=2.1.5
  - matplotlib-inline=0.1.6
  - mistune=3.0.2
  - nbclient=0.10.0
  - nbconvert-core=7.16.3
  - nbformat=5.10.4
  - ncurses=6.4.20240210
  - nest-asyncio=1.6.0
  - notebook-shim=0.2.4
  - openssl=3.2.1
  - overrides=7.7.0
  - packaging=24.0
  - pandocfilters=1.5.0
  - parso=0.8.4
  - pexpect=4.9.0
  - pickleshare=0.7.5
  - pip=24.0
  - pkgutil-resolve-name=1.3.10
  - platformdirs=4.2.0
  - prometheus_client=0.20.0
  - prompt-toolkit=3.0.42
  - psutil=5.9.8
  - ptyprocess=0.7.0
  - pure_eval=0.2.2
  - pycparser=2.22
  - pygments=2.17.2
  - pysocks=1.7.1
  - python=3.12.2
  - python-dateutil=2.9.0
  - python-fastjsonschema=2.19.1
  - python-json-logger=2.0.7
  - python_abi=3.12
  - pytz=2024.1
  - pyyaml=6.0.1
  - pyzmq=25.1.2
  - readline=8.2
  - referencing=0.34.0
  - requests=2.31.0
  - rfc3339-validator=0.1.4
  - rfc3986-validator=0.1.1
  - rpds-py=0.18.0
  - send2trash=1.8.3
  - setuptools=69.2.0
  - six=1.16.0
  - sniffio=1.3.1
  - soupsieve=2.5
  - stack_data=0.6.2
  - terminado=0.18.1
  - tinycss2=1.2.1
  - tk=8.6.13
  - tomli=2.0.1
  - tornado=6.4
  - traitlets=5.14.2
  - types-python-dateutil=2.9.0.20240316
  - typing-extensions=4.11.0
  - typing_extensions=4.11.0
  - typing_utils=0.1.0
  - tzdata=2024a
  - uri-template=1.3.0
  - urllib3=2.2.1
  - wcwidth=0.2.13
  - webcolors=1.13
  - webencodings=0.5.1
  - websocket-client=1.7.0
  - wheel=0.43.0
  - xz=5.2.6
  - yaml=0.2.5
  - zeromq=4.3.5
  - zipp=3.17.0

sorenwacker avatar Apr 14 '24 12:04 sorenwacker