I am using the Jetty 8 websocket client libraries in a standalone Java program (so my client is not a browser). I am unable to connect to the remote websocket server when running on my corporate network (which uses proxy servers). I have tried configuring Java system properties for the proxy server:
-Dhttp.proxyHost="proxy" -Dhttp.proxyPort="8080" -Dhttps.proxyHost="proxy" -Dhttps.proxyPort="8080" to no avail. The WebSocketClient open method called from my code is hitting this exception: java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Unknown Source) at sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at org.eclipse.jetty.websocket.WebSocketClient.open(WebSocketClient.java:349) at org.eclipse.jetty.websocket.WebSocketClient.open(WebSocketClient.java:308) ... Does the Jetty 8 websocket client support negotiating wss connections through proxy servers? If yes, how is this configured in my client application? Does Jetty 9 support websocket client connections through proxy servers? -- Mike Weadley ............................................................................................................................................ The information contained in this email is confidential and intended only for the addressee. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
