Eclipse Proxy Settings Issue [message #333746] |
Wed, 31 December 2008 08:48 |
Eclipse User |
|
|
|
Hello,
Within my plugin, I create a Socket like below:
clientSocket = new Socket(host, portNum);
The connection is created as long as I have my Eclipse Network Connections
Preference set to "Direct connection to the Internet". This is not ideal
though, as I am behind a firewall and need to route through a proxy in
order to get Eclipse updates - so I have the preference set to "Manual
proxy configuration:" with my setting defined. This enables me to get
updates, but my plugin is no longer able to connect. I have added my
plugin's host name to the "No Proxy for:" list, but I still get a
SocketException when the above Socket creation line executes.
Here is the exception I get:
!MESSAGE SOCKS: Connection not allowed by ruleset
!MESSAGE java.net.SocksSocketImpl.connect(Unknown Source)
!MESSAGE java.net.Socket.connect(Unknown Source)
..
..
How are the Eclipse Proxy settings used in the creation of a Socket? Am I
not doing something correctly when creating the Socket?
I am using Eclipse:
Version: 3.4.1
Build id: M20080911-1700
Thanks in advance for any responses.
Derek
|
|
|
Powered by
FUDForum. Page generated in 0.03341 seconds