Project

General

Profile

Actions

Bug #228

closed

http-core test fails behind proxy (build problem)

Added by Maximilian Stein over 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Low
Target version:
Start date:
04/25/2013
Due date:
% Done:

0%

Estimated time:
Reviewer:
Build Version:

Description

StreamHttpClientConnectionTest.testRequestHttpGoogle fails behind HTTP proxy because the connection times out. The compiled client (built by outcomenting the test case) however works behind proxy.

From the build output:
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at org.openecard.transport.httpcore.StreamHttpClientConnectionTest.testRequestHttpGoogle(StreamHttpClientConnectionTest.java:55)


Related issues

Related to Feature #72: Write Tests for Paos Module New05/29/2012

Actions
Actions

Also available in: Atom PDF