Hi.
The error "Check for updates call failed" indicates that ZAP was not
able to install the jython add-on.
Is ZAP able to access the internet from the Docker container?
Best regards.
On 04/01/2023 13:59, nagender singh wrote:
> Hi
>
> I am trying to run automation framework with below command:
>
> docker run --user=0 --net zaptestnet --rm -v $WORKSPACE:/zap/wrk/:rw -t
> owasp/zap2docker-stable zap.sh *-addonupdate -addoninstall jython* -cmd
> -autorun /zap/wrk/test_fullscan.yaml
>
> *In the test_fullscan.yaml:*
> authentication:
> method: "script"
> parameters:
> script: "/zap/wrk/authScript_6.py"
> * scriptEngine: "jython"*
> Extra_POST_data: ""
> *Logs:*
> Found Java version 11.0.16
> Available memory: 13869 MB
> Using JVM args: -Xmx3467m
> 1168 [main] INFO org.parosproxy.paros.Constant - Copying default
> configuration to /root/.ZAP/config.xml
> 1399 [main] INFO org.parosproxy.paros.Constant - Creating directory
> /root/.ZAP/session 1400 [main] INFO org.parosproxy.paros.Constant -
> Creating directory /root/.ZAP/dirbuster
> 1400 [main] INFO org.parosproxy.paros.Constant - Creating directory
> /root/.ZAP/fuzzers 1400 [main] INFO org.parosproxy.paros.Constant -
> Creating directory /root/.ZAP/plugin Jan 04, 2023 1:42:37 PM
> java.util.prefs.FileSystemPreferences$1 run INFO: Created user preferences
> directory.
> *Check for updates call failed Check for updates call failed*
>
> *Unexpected error accessing file /zap/wrk/test_fullscan.yaml : No such
> engine: jython - see log for details null*