I am using OWASP Zap v2.5. I installed it on a Mac using Homebrew. I have a simple app that I have been testing against to understand how it works. If i run two spider scans against the same target in the same session, it will hang and I see the below exception in the log. If I delete the site and clean up the old scans, it will work.
2017-01-26 09:04:26,721 [pool-3-thread-1] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from:
http://getbootstrap.com)
2017-01-26 09:04:26,781 [pool-3-thread-2] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from:
http://getbootstrap.com)
2017-01-26 09:04:26,822 [pool-3-thread-1] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from:
https://lodash%5C.com/%5C)
2017-01-26 09:04:26,996 [ZAP-ProxyThread-1] WARN API - ApiException while handling API request:
Bad Format (bad_format)
at org.zaproxy.zap.extension.api.API.handleApiRequest(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
The 'error while processing url' seems like red herrings because this is a successful scan
2017-01-26 09:03:23,703 [Thread-8] INFO Spider - Starting spider...
2017-01-26 09:03:23,749 [pool-1-thread-2] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from:
http://getbootstrap.com)
2017-01-26 09:03:23,828 [pool-1-thread-1] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from: https://),url(https://),red
2017-01-26 09:03:23,828 [pool-1-thread-1] WARN URLCanonicalizer - Error while Processing URL in the spidering process (on base ): Host could not be reliably evaluated from: https://)
2017-01-26 09:03:23,906 [pool-1-thread-2] INFO Spider - Spidering process is complete. Shutting down...