clients icon indicating copy to clipboard operation
clients copied to clipboard

Bitwarden extension for Safari blocks or makes Cloudflare Turnstile fail constantly

Open mackonsti opened this issue 1 year ago • 12 comments

Steps To Reproduce

  1. Go to Mac App Store and download Bitwarden, mine is Version 2024.6.0 (25275)
  2. Launch Safari Version 17.5 (18618.2.12.111.5, 18618) on MacOS Ventura 13.6.7.
  3. Make sure the Bitwarden Safari extension is enabled (no need on Incognito websites but won't change anything)
  4. No other extensions are active, to isolate the issue.
  5. Drop a visit to any Cloudflare-protected website e.g. their Dashboard: https://dash.cloudflare.com/login
  6. Check the behaviour: You will constantly get the validation animation and never resolve that CAPTCHA thing.
  7. Now disable Bitwarden extension, refresh the page: Cloudflare Turnstile works...

Expected Result

Resolving the Turnstile CAPTCHA graphic on Cloudflare-supported sites, should work.

Actual Result

Resolving the Turnstile CAPTCHA graphic on Cloudflare-supported sites, fails. Error appears briefly and restarts contsantlly.

Screenshots or Videos

Failure

Additional Context

[Warning] [Cloudflare Turnstile] Error: 106010. (b3dd9dc498acb045c611.js, line 43)
[Error] TypeError: globalThis.requestIdleCallback is not a function. (In 'globalThis.requestIdleCallback(this.processMutations, { timeout: 500 })', 'globalThis.requestIdleCallback' is undefined)
	(anonymous function) (bootstrap-autofill-overlay.js:4273)
[Error] Blocked a frame with origin "https://challenges.cloudflare.com" from accessing a frame with origin "https://dash.cloudflare.com". Protocols, domains, and ports must match.

See some more in the log attached but it is a repeated error: Safari Console Error.log

P.S. Changing the user-agent of the browser, as found in some Reddit forums, did not change the issue outcome, still an error.

Operating System

macOS

Operating System Version

13.6.7

Web Browser

Safari

Browser Version

Version 17.5 (18618.2.12.111.5, 18618)

Build Version

2024.6.0 (25275)

Issue Tracking Info

  • [ ] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

mackonsti avatar Jun 18 '24 19:06 mackonsti

Can confirm, same issue here.

Write avatar Jun 19 '24 05:06 Write

Same with me.

Grinchii avatar Jun 20 '24 21:06 Grinchii

Hi there,

Thank you for checking up on this. Yes, this matter has been reported, and the Engineering team is working on a fix (https://github.com/bitwarden/clients/pull/9643).

I am unable to provide an ETA for a fix, but I would expect to see this introduced very soon.

If you wish to add any further information/screenshots/recordings etc., please feel free to do so at any time - our engineering team will be happy to review these.

Thanks once again!

Greenderella avatar Jun 21 '24 15:06 Greenderella

I thought I was going crazy. I just recently switched to Safari and was having issues with this. And yup, after seeing this thread I disabled Bitwarden and everything worked properly again. It's not only the Turnstile, it's any managed challenge screen.

thekendog avatar Jun 22 '24 01:06 thekendog

FYI, it also messes up phpMyAdmin pages. The pages completely freeze up and nothing can be clicked.

thekendog avatar Jun 22 '24 01:06 thekendog

I just found this via search engine - the issue is also present with the login of TrueNAS SCALE and Safari. Was driving me nuts. An endless stream of TypeError: globalThis.requestIdleCallback is not a function errors. Thanks to everyone looking into this.

pmhausen avatar Jun 22 '24 11:06 pmhausen

I've been having the same issue and have tried many troubleshooting steps. I finally found that disabling the Bitwarden Safari extension allows Cloudflare verification to succeed. Enabling the Bitwarden extension brings the problem back.

warnerchad avatar Jun 24 '24 17:06 warnerchad

As a temporary workaround, you can also disable Bitwarden just for the Cloudflare dashboard.

Safari -> Settings -> Websites, scroll down the panel on the left to Extensions -> Bitwarden Password Manager, then scroll through the list of currently open websites until you find "dash.cloudflare.com" and choose "deny".

daltonrooney avatar Jun 24 '24 18:06 daltonrooney

Thanks for the tip @daltonrooney but some sites check "if you are a human" via similar APIs and fail, too... you know, when visiting a website there's some pre-check done.

Nevertheless, seems with latest Bitwarden update on Mac App Store 2023.6.3 the issue is resolved on Safari, please update and confirm everyone?

mackonsti avatar Jun 27 '24 11:06 mackonsti

@Greenderella actually it also affects firefox, although a bit differently: sometimes it takes forever for the turnstile to load (working or not), other the turnstile disappears, other it just does not finish loading at all.

mmcarvalho avatar Jun 27 '24 11:06 mmcarvalho

Updating to 2023.6.3 fixed this on Safari for me. Thanks!

warnerchad avatar Jun 27 '24 16:06 warnerchad

The fix is confirmed, thank you for the prompt release!

demyxco avatar Jun 27 '24 16:06 demyxco

⚠️ Stale Issue Notice

This issue has been automatically marked as stale due to inactivity. It will be closed in 2 weeks (October 15, 2025) if no further activity occurs.

If this issue is still relevant and you would like to keep it open, please:

  • Comment on this issue to show continued interest
  • Provide any additional information or updates
  • Confirm that the issue still exists in the latest version

Thank you for your contribution to this project! 🙏

closebot-bw avatar Oct 01 '25 18:10 closebot-bw

🔒 Issue Closed Due to Inactivity

This issue has been automatically closed due to lack of activity for an extended period. We periodically review and close inactive issues to help maintain our issue tracker and focus on current priorities.

If this issue is still relevant:

  • Please create a new issue with updated information
  • Include steps to reproduce the problem if it's a bug report
  • Mention if this issue still occurs in the latest version

Thank you for your contribution to this project. Your feedback helps us improve! 🙏

closebot-bw avatar Oct 16 '25 18:10 closebot-bw