view.qiime2.org not working in iframe on Firefox on HTTPS site

I think this may be a Firefox issue. I have QIIME 2 View... (with the actual src based on URL parameter on the host site) embedded in an iframe on a site I maintain. On Firefox, I get the console log message "Failed to register/update a ServiceWorker for scope ‘https://view.qiime2.org/’: Storage access is restricted in this context due to user settings or private browsing mode." and "Uncaught (in promise) DOMException: The operation is insecure." I see the error message "SecurityError: The operation is insecure." on the page. I checked settings and "Delete cookies and site data when Firefox is closed" is not checked.

The site itself is https, so it should not be insecure. I'm not in private browsing mode. This works on Chrome. It used to work on older versions of Firefox. I'm not sure if there's an iframe setting I need to use to make this work or if there was a bug referring to this change in Firefox's bug tracker. The direct link (not embedded) works without error messages.

Hi @jacobs,

This is unusual - this isn't something that I've come across before, but I did find an old issue on Mozilla's Github that suggests the following to resolve this issue:

  • Enable 'delete cookies and site data when Firefox is closed' in your Firefox settings.
  • Add https://send.firefox.com to your exceptions list.

Give these a try, and circle back if you're still running into the same error - but in the meantime, I'd recommend using Google Chrome so that you can continue using QIIME 2 View without any issues.

Cheers :lizard:

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.