Connection Refused Error on running remote debugger
When I trying to start debugging session I takes the following error:
ssh://roman@10.233.204.34:22/home/roman/goldconfig/venv/bin/python3 -u /home/roman/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support=auto --client 0.0.0.0 --port 32961 --file /home/roman/goldconfig/manage.py runserver 10.233.204.34:8000
Could not connect to 0.0.0.0: 45171
Traceback (most recent call last):
File "/home/roman/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 456, in start_client
s.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused
Could not connect to 0.0.0.0: 45171
Traceback (most recent call last):
File "/home/roman/.pycharm_helpers/pydev/pydevd.py", line 2149, in main
debugger.connect(host, port)
File "/home/roman/.pycharm_helpers/pydev/pydevd.py", line 649, in connect
s = start_client(host, port)
File "/home/roman/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 456, in start_client
s.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused
Process finished with exit code 1
When I running my Django project by common way it's working well.
Also I have two another projects. One of its have the same problem, and another working well, but if I stopped debugging session, it'll rise the same error.
All project are running on the same remote machine.
_________________________________________
UPD: Another error occurred
Error running 'mts-nso': While creating remote tunnel for SshjSshConnection(roman@10.233.204.34)@6870eaba: localhost:60919 <== localhost:42053: Global request [global req for tcpip-forward] failed
_________________________________________
PyCharm 2020.3.3 (Professional Edition)
Build #PY-203.7148.72, built on January 27, 2021
Licensed to ПАО "МТС"
Runtime version: 11.0.9.1+11-b1145.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1502M
Cores: 4
Please sign in to leave a comment.
The problem appeared out of nowhere, it was not there before
Hello,
This is a known issue, please vote for https://youtrack.jetbrains.com/issue/PY-43638. There are several workarounds please see https://youtrack.jetbrains.com/issue/PY-43638#focus=Comments-27-4576463.0-0
Please also update to 2021.2.2.
I apologize for the inconvenience.