Bug 193578 - [runtime] [msn] doesn't honor platform proxy settings
Summary: [runtime] [msn] doesn't honor platform proxy settings
Status: RESOLVED WONTFIX
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.0   Edit
Assignee: ecf.examples-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 238394 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-20 13:18 EDT by Andreas Goetz CLA
Modified: 2014-02-12 16:28 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Goetz CLA 2007-06-20 13:18:24 EDT
Trying to connect to MSN I'm receiving the following error in the log file:

!ENTRY org.eclipse.ecf.ui 4 4 2007-06-20 19:15:25.015
!MESSAGE Connect to abc failed.
!SUBENTRY 1 org.eclipse.ecf.identity 4 0 2007-06-20 19:15:25.015
!MESSAGE 
!STACK 0
java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at org.eclipse.ecf.protocol.msn.Session.openSocket(Session.java:126)
	at org.eclipse.ecf.protocol.msn.Session.<init>(Session.java:106)
	at org.eclipse.ecf.protocol.msn.DispatchSession.<init>(DispatchSession.java:53)
	at org.eclipse.ecf.protocol.msn.MsnClient.connect(MsnClient.java:137)
	at org.eclipse.ecf.internal.provider.msn.MSNContainer.connect(MSNContainer.java:299)
	at org.eclipse.ecf.ui.actions.AsynchContainerConnectAction$AsynchActionJob.run(AsynchContainerConnectAction.java:127)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I believe this might be due to proxy settings on platform level not being honored.
Comment 1 Remy Suen CLA 2007-06-20 13:34:31 EDT
I'm afraid I'm not as hot with Java networking as I should be (being on the ECF team and all), but so how would I go about making a connection to messenger.hotmail.com at port 1863 through a proxy?
Comment 2 Remy Suen CLA 2007-06-20 13:41:09 EDT
Just remembered we also have bug 181544.
Comment 3 Scott Lewis CLA 2007-06-20 13:51:09 EDT
Here's a possibly useful ref:

http://www.javaworld.com/javaworld/javatips/jw-javatip42.html

Andreas are you using system properties like this?

System.getProperties().put( "proxySet", "true" );
System.getProperties().put( "proxyHost", "myProxyMachineName" );
System.getProperties().put( "proxyPort", "85" );

And does your proxy have authentication?  (i.e. username/password)?

RE: bug 181544, that refers to a different sense of 'platform', if I'm understanding this bug report correctly.  i.e. bug 181544 is referring to Eclipse 3.3 proxy settings, whereas this one is referring to jre 'platform' proxy settings...I think...that's why I asked the above.

Eventually (i.e. post Europa) we will move everything over to use the Eclipse 3.3 proxy settings/API.
Comment 4 Andreas Goetz CLA 2007-06-21 03:42:40 EDT
Remy, didn't mean to bash on your skills. Just my first-time ECF user experience. I'm using the Eclipse workbench, not RCP- therefore no system properties manually set. I was sort of expecting that the installed examples would honor the workbench preferences (as does update, mylar etc). Makes sense?
Comment 5 Remy Suen CLA 2007-06-21 06:19:33 EDT
(In reply to comment #4)
> Remy, didn't mean to bash on your skills. Just my first-time ECF user
> experience. I'm using the Eclipse workbench, not RCP- therefore no system
> properties manually set. I was sort of expecting that the installed examples
> would honor the workbench preferences (as does update, mylar etc). Makes sense?

No offense taken. The protocol was something I whipped out in a month or two back in 2005 with some additional work in late 2007 for slight fix-ups a long time ago for fun, so I never really considered the whole proxy issue (since I don't use proxies to connect to the outside world).

Anyway, so from your workbench statement, I presume you are actually not using the Java System properties as Scott had thought in comment #3.
Comment 6 Andreas Goetz CLA 2007-06-21 07:34:03 EDT
Correct. Unless Eclipse workbench sets these- no. I'm not even writing code- just using the plugin as end user.
Comment 7 Scott Lewis CLA 2008-05-23 16:13:24 EDT
changing target milestone
Comment 8 Remy Suen CLA 2008-06-25 08:56:40 EDT
*** Bug 238394 has been marked as a duplicate of this bug. ***
Comment 9 Scott Lewis CLA 2014-02-12 16:28:28 EST
I don't think that we are going to be able to continue to support the msn provider, given the limited resources/committer involvement that ECF currently has...and the change in technical focus for the project (toward OSGi Remote Services support).

Consequently, I'm going to resolve this as wontfix.  If resources become available for work on this, then please reopen.