How to deal with "Couldn't obtain remote socket from output (...)" error?


Following docs at I'm trying to use remote debugging but I get the following error (port number is random so changes each run):

Error running projectX
Can't run remote python interpreter: Couldn't obtain remote socket from output ('', 55874)
, stderr stty: standard input: Invalid argument

How can I fix this?

Running (not debugging) project with remote interpreter works fine.

PyCharm 3.4.1 (135.1049)
Comment actions Permalink

Same problem here. 

PyCharm 2017.2.4
Build #PY-172.4343.24, built on October 19, 2017
Licensed to Oracle

JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.11.6

Comment actions Permalink

Same here :(

PyCharm 2017.3.3 (Professional Edition)
Build #PY-173.4301.16, built on January 11, 2018
Licensed to Lorenzo Maiorfi
You have a perpetual fallback license for this version
Subscription is active until January 19, 2019
JRE: 1.8.0_152-release-1024-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Comment actions Permalink

Hi! The problem is going to be fixed in the upcoming PyCharm 2018.1 EAP 9:
You're welcome to try it with your projects and share your feedback! Thank you!


Please sign in to leave a comment.