[jbosstools-issues] [JBoss JIRA] (JBIDE-11667) PortForward: When not using 127.0.0.1 I get hard error - should just bring the status into "error"

Stefan Bunciak (JIRA) jira-events at lists.jboss.org
Wed May 9 07:58:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bunciak closed JBIDE-11667.
----------------------------------



Port forwarding start only when not binding 127.0.0.1, but that is issue of Mac, not the tooling.

Verified on Mac OS X, JBoss Developer Studio

Version: 5.0.0.Beta3
Build id: v20120430-1703-H125-Beta3
Build date: 20120430-1703

                
> PortForward: When not using 127.0.0.1 I get hard error - should just bring the status into "error"
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11667
>                 URL: https://issues.jboss.org/browse/JBIDE-11667
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Max Rydahl Andersen
>            Assignee: Xavier Coulon
>             Fix For: 3.3.0.Beta3
>
>
> On a Mac, Start forward, uncheck 127.0.0.1 and press start all 
> Gets hard error and no info.
> Error logs says:
> com.openshift.client.OpenShiftSSHOperationException: Failed to start port forwarding on 127.4.92.2:8080
> 	at com.openshift.internal.client.ssh.ApplicationPortForwarding.start(ApplicationPortForwarding.java:56)
> 	at com.openshift.internal.client.ApplicationResource.startPortForwarding(ApplicationResource.java:611)
> 	at org.jboss.tools.openshift.express.internal.core.portforward.ApplicationPortForwardingWizardPage$3$1.run(ApplicationPortForwardingWizardPage.java:156)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: com.jcraft.jsch.JSchException: PortForwardingL: local port 127.4.92.2:8080 cannot be bound.
> 	at com.jcraft.jsch.PortWatcher.<init>(PortWatcher.java:146)
> 	at com.jcraft.jsch.PortWatcher.addPort(PortWatcher.java:99)
> 	at com.jcraft.jsch.Session.setPortForwardingL(Session.java:1617)
> 	at com.jcraft.jsch.Session.setPortForwardingL(Session.java:1614)
> 	at com.openshift.internal.client.ssh.ApplicationPortForwarding.start(ApplicationPortForwarding.java:53)
> 	... 3 more
> Caused by: java.net.BindException: Can't assign requested address
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
> 	at java.net.ServerSocket.bind(ServerSocket.java:328)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:194)
> 	at com.jcraft.jsch.PortWatcher.<init>(PortWatcher.java:138)
> 	... 7 more
> This is an expected error but could just happen for a few out of all ports - should just collect these errors and show info about which ip/ports could not be forwarded and have them be in error state.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list