Issue 21 in java-twitter: Connection Time out

14 views
Skip to first unread message

codesite...@google.com

unread,
Jul 21, 2011, 4:06:54 PM7/21/11
to java-t...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 21 by basilabr...@gmail.com: Connection Time out
http://code.google.com/p/java-twitter/issues/detail?id=21

What steps will reproduce the problem?
1.Run the Java program
2.
3.

What is the expected output? What do you see instead?

I want the feeds from corp account
What version of the product are you using? On what operating system?

Windows XP
Please provide any additional information below.

Jul 21, 2011 3:55:04 PM


Exception in thread "main" java.lang.RuntimeException:
java.net.ConnectException: Connection timed out: connect
at net.unto.twitter.TwitterHttpManager.execute(TwitterHttpManager.java:168)
at net.unto.twitter.TwitterHttpManager.get(TwitterHttpManager.java:115)
at
net.unto.twitter.methods.AbstractRequest.getJson(AbstractRequest.java:122)
at
net.unto.twitter.methods.PublicTimelineRequest.get(PublicTimelineRequest.java:37)
at com.twitter.test.TwitterTest.main(TwitterTest.java:21)
Caused by: 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.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at net.unto.twitter.TwitterHttpManager.execute(TwitterHttpManager.java:154)
... 4 more


Reply all
Reply to author
Forward
0 new messages