Hello,
I am trying to start ZAP-cli with the following command: zap-cli start.
I get the following error
[INFO] Starting ZAP daemon
[DEBUG] Starting ZAP process with command: C:\Program Files\OWASP\Zed Attack Proxy\zap.bat -daemon -port 8090.
[DEBUG] Logging to c:\tmp\zap.log
[ERROR] Timed out waiting for ZAP to start.
My log file contains these lines at the end:
6574 [ZAP-daemon] INFO org.zaproxy.zap.DaemonBootstrap - ZAP is now listening on localhost:8090
Parsing message body failed: Invalid JSON: <json>:1:0 Expected json literal but found
Ó=¹8¢¢?ªý62 f?h? ¦ËðÈ ¬ à > A
??òÉï^ 3183ce526e809df7b5c4e83348e99ebc
^
Parsing message body failed: Invalid JSON: <json>:1:0 Expected json literal but found
Ó=¹8¢¢?ªý62 f?h? ¦ËðÈ ¬ à > A
??òÉï^ 3183ce526e809df7b5c4e83348e99ebc
I have configured the following values as an environment variable:
ZAP_LOG_PATH : c:\tmp
ZAP_PATH : C:\Program Files\OWASP\Zed Attack Proxy\
ZAP_PORT : 8090
ZAP_URL : localhost
I disabled API key in Zap Owasp
The session that has been created is locked as if Zap was still running.
Do you have an idea ?
Thanks in advance.