Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task Failed. Error: "A scan failed to complete." #31

Open
shashipramod opened this issue Feb 20, 2019 · 4 comments
Open

Task Failed. Error: "A scan failed to complete." #31

shashipramod opened this issue Feb 20, 2019 · 4 comments

Comments

@shashipramod
Copy link

2019-02-20T18:02:41.8626486Z ##[section]Starting: OWASP ZAP Scan
2019-02-20T18:02:41.8648750Z ==============================================================================
2019-02-20T18:02:41.8649138Z Task : OWASP Zed Attack Proxy Scan
2019-02-20T18:02:41.8649423Z Description : Visual Studio Team Services build/release task for running OWASP ZAP automated security tests
2019-02-20T18:02:41.8649733Z Version : 2.0.7
2019-02-20T18:02:41.8649956Z Author : Kasun Kodagoda
2019-02-20T18:02:41.8650175Z Help : More Information
2019-02-20T18:02:41.8650401Z ==============================================================================
2019-02-20T18:02:44.1147352Z ##[error]Task Failed. Error: "A scan failed to complete."
2019-02-20T18:02:44.1179693Z ##[section]Finishing: OWASP ZAP Scan

@Jaffacakes82
Copy link

I'm getting the same error.

@kasunkv Is there a task error log we can investigate?

My build agent is the same server as where the OWASP ZAP application is installed. I'm also running OWASP ZAP in daemon mode on port 8080.

As the build agent is on the same server, the API URL on the task in the release definition is http://localhost:8080.

@thc202
Copy link

thc202 commented Mar 21, 2019

If it's a problem in ZAP its log should contain more details (file zap.log in ZAP home, https://github.com/zaproxy/zaproxy/wiki/FAQconfig ).

@shehir12
Copy link

Same error

@shehir12
Copy link

2019-09-26T12:36:27.3649628Z ##[section]Starting: OwaspZapScan
2019-09-26T12:36:27.3654039Z ==============================================================================
2019-09-26T12:36:27.3654170Z Task : OWASP Zed Attack Proxy Scan
2019-09-26T12:36:27.3654253Z Description : Visual Studio Team Services build/release task for running OWASP ZAP automated security tests
2019-09-26T12:36:27.3654626Z Version : 2.0.10
2019-09-26T12:36:27.3654698Z Author : Kasun Kodagoda
2019-09-26T12:36:27.3654790Z Help : More Information
2019-09-26T12:36:27.3654879Z ==============================================================================
2019-09-26T12:36:27.8743226Z ##[error]Task Failed. Error: "A scan failed to complete."
2019-09-26T12:36:28.4402511Z ##[section]Finishing: OwaspZapScan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants