我正在尝试在我的GitLab存储库中使用ZAP。 (链接到ZAP的docker映像:https://github.com/zaproxy/zaproxy/wiki/Docker)
运行特定的CLI命令后,出现此错误:
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1',port=8080): Max retries exceeded with url: http://zap/JSON/ascan/action/scan/?apikey=&url=https%3A%2F%2Ftargetwebsite%2flanding&recurse=False (Caused by ProxyError('Cannot connect to proxy.',NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83a9dcc588>: Failed to establish a new connection: [Errno 111] Connection refused',)))
是否有人已经遇到了相同的问题,或者知道我该如何解决?谢谢大家!