Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#5846] Remove custom user agent to fix captcha failure loop #5865

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

g1a55er
Copy link

@g1a55er g1a55er commented Sep 4, 2024

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 15 Pro, iOS 17.6.1

Description

I was also hit by the bug filed as #5846, where I get stuck in an infinite "Something went wrong" captcha failure loop on registration with notifications unavailable.

After some debugging, comparing iOS and Android, it turns out this traces back to hCaptcha not liking the custom user agent of the WebView used for the CAPTCHA view

Once I removed the custom user agent so that the WebView goes back to the default user agent, I am able to successfully get out of the failure loop.

@g1a55er g1a55er changed the title [#5846] Remote custom user agent to fix captcha failure loop [#5846] Remove custom user agent to fix captcha failure loop Sep 4, 2024
@luoye1101
Copy link

I deleted the custom user agent in your way, but the problem still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants