Hi,
I configured my browser (Mozilla Firefox) to access the internet through ZAP.
Although the host (internal network site) does not accept the connection I can access it.
Here is the message I get on my browser when I press the button "Open Network Login Page" button:
ZAP Error [org.apache.commons.httpclient.ConnectTimeoutException]: The host did not accept the connection within timeout of 20000 ms
Stack Trace:
java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
[wrapped] org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 20000 ms
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:728)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:449)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:201)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.parosproxy.paros.network.HttpSender.executeMethod(HttpSender.java:398)
at org.parosproxy.paros.network.HttpSender.runMethod(HttpSender.java:633)
at org.parosproxy.paros.network.HttpSender.send(HttpSender.java:589)
at org.parosproxy.paros.network.HttpSender.sendAuthenticated(HttpSender.java:565)
at org.parosproxy.paros.network.HttpSender.sendAuthenticated(HttpSender.java:553)
at org.parosproxy.paros.network.HttpSender.sendAndReceive(HttpSender.java:458)
at org.parosproxy.paros.network.HttpSender.sendAndReceive(HttpSender.java:428)
at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:564)
at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:321)
at java.lang.Thread.run(Unknown Source)
In the Zap.log file I could not find any entry related to this.