Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Proxy Settings Issue
Eclipse Proxy Settings Issue [message #333746] Wed, 31 December 2008 13:48
Derek Rea is currently offline Derek ReaFriend
Messages: 14
Registered: July 2009
Junior Member
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: Fri Apr 26 07:14:56 GMT 2024

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

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

Back to the top