Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Proxy Settings Issue
Eclipse Proxy Settings Issue [message #333746] Wed, 31 December 2008 08:48
Eclipse UserFriend
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
Previous Topic:MRU file size
Next Topic:EclipseApplication Launcher Variant
Goto Forum:
  


Current Time: Thu May 01 22:35:48 EDT 2025

Powered by FUDForum. Page generated in 0.05082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top