Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316900

Summary: Connection timed out error dumped to terminal
Product: [Tools] Linux Tools Reporter: Charley Wang <charley.wang>
Component: LibhoverAssignee: Jeff Johnston <jjohnstn>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: domenico.alessi
Version: 0.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Charley Wang CLA 2010-06-15 09:31:17 EDT
On Helios RC4 with Libhover installed from Helios build #237, I randomly got an error dumped to the terminal that I launched Eclipse from.




Reproducibility:
Not sure, was experimenting with Valgrind at the time. 


java.net.ConnectException: Connection timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
	at java.net.Socket.connect(Socket.java:546)
	at java.net.Socket.connect(Socket.java:495)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:174)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
	at sun.net.www.http.HttpClient.New(HttpClient.java:321)
	at sun.net.www.http.HttpClient.New(HttpClient.java:338)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:814)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:755)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:680)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1005)
	at java.net.URL.openStream(URL.java:1029)
	at org.eclipse.linuxtools.internal.cdt.libhover.LibHoverLibrary.getHoverInfo(LibHoverLibrary.java:101)
	at org.eclipse.linuxtools.internal.cdt.libhover.LibHoverLibrary.getFunctionInfo(LibHoverLibrary.java:215)
	at org.eclipse.linuxtools.internal.cdt.libhover.LibHover.getFunctionSummary(LibHover.java:376)
	at org.eclipse.linuxtools.internal.cdt.libhover.LibHover.getFunctionInfo(LibHover.java:315)
	at org.eclipse.cdt.internal.ui.text.CHelpSettings.getFunctionInfo(CHelpSettings.java:121)
	at org.eclipse.cdt.internal.ui.CHelpProviderManager.getFunctionInfo(CHelpProviderManager.java:163)
	at org.eclipse.cdt.internal.ui.text.c.hover.CDocHover.getHoverInfo(CDocHover.java:84)
	at org.eclipse.cdt.internal.ui.text.c.hover.AbstractCEditorTextHover.getHoverInfo2(AbstractCEditorTextHover.java:83)
	at org.eclipse.cdt.internal.ui.text.c.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:149)
	at org.eclipse.cdt.internal.ui.text.c.hover.CEditorTextHoverProxy.getHoverInfo2(CEditorTextHoverProxy.java:86)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Comment 1 Charley Wang CLA 2010-07-08 10:24:50 EDT
I still appear to be getting this issue with my current installation of Helios and libhover 0.2.0.2010061522 from the Helios update site.
Comment 2 Domenic Alessi CLA 2011-02-04 14:44:20 EST
(In reply to comment #1)
> I still appear to be getting this issue with my current installation of Helios
> and libhover 0.2.0.2010061522 from the Helios update site.

I get the exact same error.  We go through a proxy in Ericsson.  It seems that the extension for Code Assist in Linux Tools tries to go over the internet to get information.  It eventually times out and resorts to the CDT code assist.  The quick fix is to set your proxy, or connect to the internet.  Not the greatest solution, but it's what I am using until it gets fixed.  I am on Eclipse 3.6.1.
Comment 3 Eclipse Genie CLA 2014-06-17 13:34:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2016-06-07 17:59:45 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2018-05-31 19:13:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Jeff Johnston CLA 2018-06-01 11:56:09 EDT
This bug no longer exists.