zap-hud icon indicating copy to clipboard operation
zap-hud copied to clipboard

HUD not working with FireFox recently

Open loritempleton opened this issue 3 years ago • 11 comments

We use Zap on a regular basis with FF, A few weeks ago I ran my scans fine. But today, I can't get the "Heads Up Display" to work on Firefox. It works on Chrome. My whole QA team reported the same experience. Upon further investigation seems Zap is throwing an error in the console for Firefox ( see image):

8-11-22ZapError

BTW I'm not operating in Private Browser mode. My current version of FF is on a MAC. 103.0.2 (64-bit). ANy idea on if something changed in FF blocking the HUD recently?

loritempleton avatar Aug 11 '22 17:08 loritempleton

Yes, something changed and the HUD no longer works with Firefox, the cause is being investigated.

thc202 avatar Aug 11 '22 18:08 thc202

Just to make this clear - something changed in Firefox :/ Chrome still works as a workaround, but being a Mozillian I'm keen to get it working on Firefox again...

psiinon avatar Aug 12 '22 07:08 psiinon

@loritempleton can you try changing your Firefox settings - under Privacy and Security, scroll down to Cookies and Site Data, click on "Manage Exceptions...", type https://zap/ in the Address of Website section and click Allow then Save Changes. Then reload the page with the HUD on. That worked for me. Unfortunately that has to be done every time you launch Firefox from ZAP right now - I'll see if theres a way we can get ZAP to apply that setting automatically...

psiinon avatar Aug 12 '22 10:08 psiinon

Asked for help on the Mozilla Discourse: https://discourse.mozilla.org/t/failed-to-register-update-a-serviceworker/102538

psiinon avatar Aug 12 '22 11:08 psiinon

See this thread on twitter: https://twitter.com/psiinon/status/1558070292433567750 This is proving painful ☹️

psiinon avatar Aug 15 '22 11:08 psiinon

OK, #1141 seems to have fixed most of the problems with Firefox. I'm still having problems with the tests and launching the tutorial from Firefox but its much better than it was! Will be releasing it as is and then looking at the remaining problems..

psiinon avatar Sep 22 '22 12:09 psiinon

I use FoxyProxy when i work with Zap it connects i did the steps you mentioned but for some reason my HUD is not showing and its not catching any possible alerts. I dont understand why is the new update just not working with FireFox ?

Anthonymcqueen21 avatar Sep 26 '22 17:09 Anthonymcqueen21

  1. If you aren't launching the browser from ZAP them you could be missing settings for HUD.
  2. If you haven't browsed to a site it won't show (it doesn't display on about:blank).

kingthorin avatar Sep 26 '22 17:09 kingthorin

@Anthonymcqueen21 what version of Firefox are you using? Are there any errors in the zap.log file? https://www.zaproxy.org/faq/somethings-not-working-what-should-i-do/#check-the-log-file

psiinon avatar Sep 27 '22 07:09 psiinon

I am using the default settings for that and the latest version of firefox

Anthonymcqueen21 avatar Oct 06 '22 23:10 Anthonymcqueen21

Are there any errors in the zap.log file? https://github.blog/changelog/2022-10-06-express-disinterest-on-for-you-feed-rollup-items/

kingthorin avatar Oct 07 '22 00:10 kingthorin

Just reporting that this in finally working for FF again for me. BTW, I'm using V 105.0.1 (64-bit) on a Mac. Thank you to those who helped and fixed it!

loritempleton avatar Oct 12 '22 15:10 loritempleton

Thanks for letting us know!

psiinon avatar Oct 12 '22 15:10 psiinon