AjaxSpider and Firefox Error in owasp/zap2docker-stable:2.12.0

140 views
Skip to first unread message

JWeb Dev

unread,
Jun 27, 2023, 11:45:24 PM6/27/23
to OWASP ZAP User Group
Hi,
I do nothing special. Just want to run ajaxSpider in stable docker container over API.
Call.
resp = spider.scan(endpoint.getUrl(), null, null, null);
Error Log:
715418 [ZAP-AjaxSpiderApi] INFO org.zaproxy.zap.extension.spiderAjax.SpiderThread - Running Crawljax (with firefox-headless): API - https://www.ga..d-requirements
715419 [ZAP-AjaxSpiderApi] INFO org.zaproxy.zap.extension.spiderAjax.SpiderThread - Starting proxy...
715420 [ZAP-AjaxSpiderApi] INFO org.zaproxy.zap.extension.spiderAjax.SpiderThread - Proxy started, listening at port [34343].
715428 [ZAP-AjaxSpiderApi] INFO com.crawljax.core.plugin.Plugins - Loaded org.zaproxy.zap.extension.spiderAjax.SpiderThread$DummyPlugin@458a6ba5 as a OnBrowserCreatedPlugin
1687923685865 geckodriver INFO Listening on 127.0.0.1:8503
1687923685895 mozrunner::runner INFO Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" MOZ_NO_REMOTE="1" "/usr/bin/firefox" "--marionette" "-headless" "-no-remote" "-profile" "/tmp/rust_mozprofilexVUOoM"
*** You are running in headless mode.
[GFX1-]: glxtest: libpci missing
[GFX1-]: glxtest: Unable to open a connection to the X server
[GFX1-]: glxtest: libEGL missing
[GFX1-]: No GPUs detected via PCI
1687923686163 Marionette INFO Marionette enabled
1687923686169 Marionette INFO Listening on port 36053
Read port: 36053
1687923686304 RemoteAgent WARN TLS certificate errors will be ignored for this session
console.error: Region.jsm: "Error fetching region" (new SyntaxError("JSON.parse: unexpected character at line 1 column 1 of the JSON data", ""))
console.error: Region.jsm: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.jsm", 419))
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/rust_mozprofilexVUOoM/search.json.mozlz4", (void 0)))
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
717091 [Forwarding newSession on session null to remote] INFO org.openqa.selenium.remote.ProtocolHandshake - Detected dialect: W3C
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.

Any Ideas, how to fix it?
I found similar themes, but they are refer to gekodriver. I checked. Geko driver is there.

Regards

thc...@gmail.com

unread,
Jun 28, 2023, 3:05:37 AM6/28/23
to zaprox...@googlegroups.com
Hi.

That's normal output by the WebDriver and Firefox, there's nothing to fix.

In following ZAP releases that output will no longer be shown though.

Best regards.

JWeb Dev

unread,
Jun 28, 2023, 3:34:31 AM6/28/23
to OWASP ZAP User Group
@thc202 - thanks for the answer. 
This means that the scan is working, and I see this repeated message because the process simply has not ended yet.
And I need to just ignore this message. Correct?

May I ask, when is the next stable release planned?

Reply all
Reply to author
Forward
0 new messages