New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Debugger Fails to Connect (Connection Refused) #1854

Closed
seanmostafavi opened this Issue Nov 26, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@seanmostafavi
Copy link

seanmostafavi commented Nov 26, 2018

As of the latest version of IntelliJ IDEA for macOS High Sierra and the Perl plugin, I can no longer locally debug Perl apps. It's not clear if this is a Perl Camelcade or IDE problem so my apologies in advance if I'm filing this bug in the wrong tracker.

My firewall was disabled while producing this issue, and local debugging on Python, Java, and Node.js apps works fine. Any work-arounds or tips are greatly appreciated.

IntelliJ IDEA 2018.3 (Ultimate Edition)
Build #IU-183.4284.148, built on November 20, 2018
JRE: 1.8.0_152-release-1343-b15 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

Deubg run log:

2018-11-26 12:01:10,931 [176442761]   INFO - idea.execution.PerlCommandLine - Executing: /opt/local/libexec/perl5.26/sitebin/perlbrew exec -q --with perl-5.28.0 /Users/idea/perl5/perlbrew/perls/perl-5.28.0/bin/perl -I/Users/idea/src/trunk/cyber/ocr-ws/lib -d:Camelcadedb /opt/local/bin/morbo script/ocr-ws.pl 
2018-11-26 12:01:10,931 [176442761]   INFO - idea.execution.PerlCommandLine -   environment: {PERL5_DEBUG_HOST=0.0.0.0, PERL5_DEBUG_ROLE=server, PERL5_DEBUG_PORT=61117} (+CONSOLE) 
2018-11-26 12:01:10,931 [176442761]   INFO - idea.execution.PerlCommandLine -   host = local; vm = perlbrew[perl-5.28.0]; pty = true; charset: UTF-8 
2018-11-26 12:01:10,997 [176442827]   WARN - a.run.debugger.PerlDebugThread - Connection refused (Connection refused) 
java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:211)
	at com.perl5.lang.perl.idea.run.debugger.PerlDebugThread.run(PerlDebugThread.java:126)
2018-11-26 12:01:22,411 [176454241]   INFO - idea.execution.PerlCommandLine - Executing: /opt/local/libexec/perl5.26/sitebin/perlbrew exec -q --with perl-5.28.0 /Users/idea/perl5/perlbrew/perls/perl-5.28.0/bin/perl -I/Users/idea/src/trunk/cyber/ocr-ws/lib -d:Camelcadedb /opt/local/bin/morbo script/ocr-ws.pl 
2018-11-26 12:01:22,411 [176454241]   INFO - idea.execution.PerlCommandLine -   environment: {PERL5_DEBUG_HOST=0.0.0.0, PERL5_DEBUG_ROLE=server, PERL5_DEBUG_PORT=61117} (+CONSOLE) 
2018-11-26 12:01:22,411 [176454241]   INFO - idea.execution.PerlCommandLine -   host = local; vm = perlbrew[perl-5.28.0]; pty = true; charset: UTF-8 
2018-11-26 12:01:22,473 [176454303]   WARN - a.run.debugger.PerlDebugThread - Connection refused (Connection refused) 
java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:211)
	at com.perl5.lang.perl.idea.run.debugger.PerlDebugThread.run(PerlDebugThread.java:126)
2018-11-26 12:01:38,370 [176470200]   INFO - idea.execution.PerlCommandLine - Executing: /opt/local/libexec/perl5.26/sitebin/perlbrew exec -q --with perl-5.28.0 /Users/idea/perl5/perlbrew/perls/perl-5.28.0/bin/perl -I/Users/idea/src/trunk/cyber/ocr-ws/lib -d:Camelcadedb /Users/idea/src/trunk/cyber/ocr-ws/t/persistence.t 
2018-11-26 12:01:38,371 [176470201]   INFO - idea.execution.PerlCommandLine -   environment: {PERL5_DEBUG_HOST=0.0.0.0, PERL5_DEBUG_ROLE=server, PERL5_DEBUG_PORT=50337} (+CONSOLE) 
2018-11-26 12:01:38,371 [176470201]   INFO - idea.execution.PerlCommandLine -   host = local; vm = perlbrew[perl-5.28.0]; pty = true; charset: UTF-8 
2018-11-26 12:01:38,435 [176470265]   WARN - a.run.debugger.PerlDebugThread - Connection refused (Connection refused) 
java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:211)
	at com.perl5.lang.perl.idea.run.debugger.PerlDebugThread.run(PerlDebugThread.java:126)

hurricup added a commit that referenced this issue Nov 27, 2018

@hurricup hurricup closed this Nov 27, 2018

@hurricup hurricup added this to the 2018.3.4 milestone Nov 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment