ZAP Error [java.net.SocketException]: Socket closed Stack Trace: java.net.SocketException: Socket closed at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:286) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:727) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:447) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:199) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.parosproxy.paros.network.HttpSender.executeMethod(HttpSender.java:333) at org.parosproxy.paros.network.HttpSender.runMethod(HttpSender.java:564) at org.parosproxy.paros.network.HttpSender.send(HttpSender.java:523) at org.parosproxy.paros.network.HttpSender.sendAuthenticated(HttpSender.java:501) at org.parosproxy.paros.network.HttpSender.sendAuthenticated(HttpSender.java:490) at org.parosproxy.paros.network.HttpSender.sendAndReceive(HttpSender.java:405) at org.parosproxy.paros.network.HttpSender.sendAndReceive(HttpSender.java:362) at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:509) at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:317) at java.lang.Thread.run(Thread.java:748)
I'm browsing from chrome on macOS 10.14. Within chrome I'm using SwitchyOmega to configure the proxy for specific hosts. I'm fairly sure that this host matching is working. Even when I try to proxy an external website Zap spits out the error above for all requested resources.
The usual searches on Google and within this email group didn't turn anything interesting up. The error message is generic enough that I don't have many clues to debug this further. Any help would be appreciated.
Thanks,
brian
What if you point your browser to ZAP using the regular browser proxy settings? Does that work?
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/8a460a1c-e551-497b-a1c1-f72aa4abd546%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What are the details in the 504 error in ZAP's history tab?Please include a screenshot if possible!
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/c29f4235-bd7b-4270-8ff8-ed0b2445c3a6%40googlegroups.com.
Sorry, could you highlight one of each of the responses so that we can see the full response headers and body in the screenshot?Are you working behind a corporate proxy?
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/7027e9ed-2f9e-4145-a796-5d4ca091dcdd%40googlegroups.com.
Are you working behind a corporate/system proxy?Can you access the internet at all?
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/ae2ea03e-71a2-4b05-8075-f47f0dd20cdc%40googlegroups.com.
Obviously this isn't a solution, just part of diagnosis :)
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/1c1076d1-ad95-4a42-98f1-8b444d1e0fad%40googlegroups.com.
Not everyone's favorite method, but at this point I would try to slap Wireshark in there and see if you can trace back the root cause of these 502 and 504s....like where were they addressed to/from, who sent the grumpy reply, etc, with an emphasis on outgoing traffic from ZAP (since it looks like your browser to ZAP portion is OK)
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/a96ebdaf-c1ee-443a-9e77-8c338c8e75cd%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/24231c84-34de-4dad-85c2-31c6e1bdf010%40googlegroups.com.
Thanks for following up!I opened a new issue for this: https://github.com/zaproxy/zaproxy/issues/5308
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zaproxy-users/52ed15b0-a19f-45a8-b93b-40c9ad42a770%40googlegroups.com.