OWASP ZAP Docker Full Scan Fails with Proxy Error

115 views
Skip to first unread message

Andrew Stump

unread,
Nov 9, 2021, 11:34:34 AM11/9/21
to OWASP ZAP User Group

I am attempting to perform a full scan against my application using the OWASP ZAP docker packaged scan, however the scans are failing to connect to the proxy with a ProcyError, and the error seems to be inconsistent. Sometimes it will be:

 NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89c980ee80>: Failed to establish a new connection: [Errno 111] Connection refused')

Other times it will be: ConnectionResetError(104, 'Connection reset by peer')

The command I am using is basic one from the documentation:

docker run -t owasp/zap2docker-stable zap-full-scan.py -t https://my.webapp.com

Running the baseline-scan works without issue, and running the full-scan against other demo sites works fine too.

As suggested I have run curl against my application from inside the container and 200 is returned as expected, so I am unsure what needs to be configured to enable the connection.

Thanks,

Andrew

Reply all
Reply to author
Forward
0 new messages