One Star

local lan - HttpMethodDirector Connection timed out

Hi,
I'm a complete new user to TOP (TOP 3.2.1.r31371, Java 1.6u16, Debian Linux). I try to profile an Oracle Database through a VPN and SSH tunnel (which works great Smiley Happy.
The problem is, that the (Cisco) VPN Client blocks all local network traffic which can't be circumvented (and wouldn't be legal either). Therefore all programs accessing the Database 'see' a working network interface, but can't access the internet or else.
When expanding the 'Library' element in the DQ Repository the whole GUI hangs for eternity. Here is a subset of the console output:
./Software/TOP-All-r31371-V3.2.1/TalendOpenProfiler-linux-gtk-x86
79410 INFO org.talend.cwm.db.connection.TalendCwmFactory - 0 catalog(s) loaded from database
79410 INFO org.talend.cwm.db.connection.TalendCwmFactory - 45 schema(s) loaded from database
269376 INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
269377 INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request
458451 INFO org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
458451 INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request
--> CTRL-C
It seems like TOP tries to access the internet but (not surprisingly) can't find anything...
Any ideas how to circumvent this problem?

10 REPLIES
One Star

Re: local lan - HttpMethodDirector Connection timed out

When TOP hangs like described above and the VPN connection terminates, the GUI recovers after some time.
Of course this isn't a productive solution, but clearly shows that everything hangs because of org.apache.commons.httpclient.HttpMethodDirector time outs.
Employee

Re: local lan - HttpMethodDirector Connection timed out

Hi,
the Libraries/Exchange folder indeed tries to connect to the internet because it tries to retrieve the list of patterns and indicators available at http://www.talendforge.org/exchange
Is this happening already when you unfold the "Librairies" folder or when you unfold the "Exchange" folder?
One Star

Re: local lan - HttpMethodDirector Connection timed out

thx for the quick response!
It already happens when I expand/unfold the 'Libraries' folder. There also seems to be a caching system - if I unfold 'Libraries' and 'Exchange' without the VPN tunnel there is no time out if the local network gets disabled. Nevertheless I can't do any profiling because of the same problem...
Employee

Re: local lan - HttpMethodDirector Connection timed out

Unfortunately, I don't see how to disable this internet connection in the current version.
I suggest that you open an issue on our bugtracker http://www.talendforge.org/bugs/my_view_page.php
We'll fix it as soon as possible.
One Star

Re: local lan - HttpMethodDirector Connection timed out

opened a new bug-report:
9873
hope that I did everything right Smiley Wink
Employee

Re: local lan - HttpMethodDirector Connection timed out

Thank you. we have all the needed information to work on it.
We'll work on it as soon as possible and try to provide you a workaround or a patch if possible.
One Star

Re: local lan - HttpMethodDirector Connection timed out

The status 'to verify' was assigned to the bug 0009873 a while ago.
I'd like to help to test/verify the fix.
How can I build TOP from source?
(a 2-minute google research didn't really help)
Employee

Re: local lan - HttpMethodDirector Connection timed out

Hi
I think that there is already a topic in the forum.
See some documentation about TOS at http://www.talendforge.org/wiki/doku.php?id=dev:run_from_svn_windows
You need to install TOS first because some code is reused in TOP.
Then checkout all projects of TOP from http://talendforge.org/svn/top/trunk
Import these projects into your Eclipse 3.4.
I can also provide you a nightly build. It would be easier for you. Let me know if you're interested.
One Star

Re: local lan - HttpMethodDirector Connection timed out

Thx
I'll try the normal SVN check-out first
( http://www.talendforge.org/wiki/doku.php?id=dev:run_from_svn )
Employee

Re: local lan - HttpMethodDirector Connection timed out

Hi,
We released a new version of TOP -> 3.2.2, in which there is now a time out for this internet connection.
We hope this helps.