question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder crash when turning on/reconnecting a VPN

See original GitHub issue

Problem Description

While having a VPN, if I lose connection or manually reconnect spyder crashes with no error message. In my case, the VPN is Windscribe connected to the closest possible node. Turning the VPN off while having Spyder open does not generate a crash.

What steps reproduce the problem?

  1. Open Spyder
  2. Turn on VPN
  3. Crash

Versions

  • Spyder version: 4.1.5 None
  • Python version: 3.8.5 64-bit
  • Qt version: 5.12.5
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.6.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.18.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.2 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.2 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=1.0                   :  2.6.0 (OK)
pyls >=0.34.0;<1.0.0           :  0.34.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  1.0.1 (OK)
qtconsole >=4.6.0              :  4.7.7 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.2 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  3.3.2 (OK)
numpy >=1.7                    :  1.19.1 (OK)
pandas >=0.13.1                :  1.1.2 (OK)
scipy >=0.17.0                 :  1.5.0 (OK)
sympy >=0.7.3                  :  None (OK)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Dec 4, 2020

Spyder no longer crashes

Ok, those are good news (hard crashes are the worst).

but the console shows that there is still something wrong as I get an infinite loop of

Ok, that means the ports we use need to be changed from tcp to ipc. However, that’s not something we control but it depends on some projects maintained by the Jupyter team. So I don’t know when/if it’s going to be addressed by them.

1reaction
dalthvizcommented, Dec 2, 2020

Hi @ifariasg sorry to hear that, if the crash is related with the VPN being on or reconnecting maybe the issue is caused by the VPN closing some connection to the LSP. Is there a way for your VPN config to exclude localhost/127.0.0.1 address to prevent connection interruptions? Also, maybe running from the Anaconda prompt spyder --debug-info verbose could give us some useful info about the error and if there is something we can do from the Spyder side.

Any new info is greatly appreciated 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder is crashing while idling in background - Stack Overflow
Spyder was crashing because it's connection (on 127.0.0.1) was being closed by an external process. Neither virus nor firewall was doing it.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found