random-user-agent
random-user-agent copied to clipboard
Cloudflare loop with whitelist mode
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
I'm having infinite loop when accessing webpages using Cloudflare as WAF such as gitlab.com and jetbra.in, it keeps reloading after 5 seconds, the only way to fix this problem is to turn off whitelist mode in the settings (it also disables the extension itself 🤦🏻 ).
Steps to reproduce
- Go to https://gitlab.com/users/sign_in or https://jetbra.in/.
- The loop starts.
- Turn off whitelist mode in the extension settings.
- Reload those webpages, it will pass.
Browser
Chrome
Extension version
No response
Anything else?
No response
Hi @meichengg! I can't reproduce described behavior... For example, https://jetbra.in/ opens without the loop (chrome 101, linux):
I'm using Chrome 102.0.5005.61 (macOS Monterey) by the way, sorry for the missing info.
Ok, I will check on mac a little bit later, ok?
I think you should check this out and you can try with animedao.com.
https://support.mozilla.org/kn/questions/1347179
and this too
I also checked on Windows, i think Cloudflare checks if the user agent is valid, in this case it's kinda wrong so the user gets the loop.
Are you sure you don't have any other installed extensions that might be interfering with the site's functionality? Could you disable all of them for a test?
Yes, i turned all the other extensions off, the only left was this extension. I retested with those websites i mentioned above and all give me infinite loop but only one was working.
loop: Mozilla/5.0 (X11; U; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4861.82 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; WOW64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4852.142 Safari/537.36
working: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4859.209 Safari/537.36
I have the same problem What do you need me to share?
Buddies, I have reproduced described behavior, but haven't any idea (right now) how to fix this issue, except the disabling replacing on the domain while checking is not passed. Sorry for that :(
Buddies, I have reproduced described behavior, but haven't any idea (right now) how to fix this issue, except the disabling replacing on the domain while checking is not passed. Sorry for that :(
its okay, you did great, we will find other workarounds, thanks anyway
Hello, I just wanted to report that I am facing the same issue even with other user agent spoof extensions. It looks like there is some issue when cloudflare serves the challenge and verifies your agent.
I've also tried to whitelist some domains:
- cloudflare.com
- hcaptcha.com
- challenges.cloudflare.com
- a.nel.cloudflare.com
- cf-assets.hcaptcha.com
Unfortunately this does not solve the issue. The challenge will pass only if you get a user agent coherent with your real one, e.g. if you are using Mozilla like me, every Firefox user agent on every platform will work, but if you attempt to set a Chrome one for example, you get the loop.
The only workaround to this, unfortunately, is to blacklist even the target domain you are trying to access behind the challenge. I hope this is achievable in some way and that this is useful info.
I can confirm that i'm using the Chrome on macOS and the only option that i choose is Chrome for macOS which i still get the loop.
@tarampampam , i found the root cause of this problem, check this out.
https://www.zenrows.com/blog/bypass-cloudflare#cloudflare-active-bot-detection-techniques:~:text=In%20the%20context,live%20demo.
Same problem here.
How to overcome cloudflare verification?? Can not enter
I had to pause the agent temporarily :(
I'm working on a new major version of the extension. Please, be patient, I'll do everything that I can to resolve this issue in a new version, I promise
I have great news - the Cloudflare infinite loop appears to be fixed in the new version (v4)! More details can be found here: #572
If anyone can help with testing, links to the alpha build can be found using the link above. Your assistance will be greatly appreciated!
I'm closing this issue because the described problem seems to be fixed in the new version, which was released recently (here is the link). Feel free to reopen it or ping me if it still brings any problems. Thank you for reporting the issue and for your attention to this project! 👍🏿
i have the chrome extension 4.0.1 version and chatgpt.com has the cloudflare loop again
i have the chrome extension 4.0.1 version and chatgpt.com has the cloudflare loop again
Could you record a short video to show how it looks on your side?
i have the chrome extension 4.0.1 version and chatgpt.com has the cloudflare loop again
Could you record a short video to show how it looks on your side?
https://github.com/tarampampam/random-user-agent/assets/57327458/142779af-7455-4aa8-b942-dec9b828ea01
Thank you! Could you also try the latest version (4.0.2) and, if possible, share screenshots of your settings? I'm asking because I just tested it, and the captcha challenge passed successfully without repeating (in other words, I can't reproduce the issue)
Thank you! Could you also try the latest version (4.0.2) and, if possible, share screenshots of your settings? I'm asking because I just tested it, and the captcha challenge passed successfully without repeating (in other words, I can't reproduce the issue)
same happens with last version and default settings
Unfortunately, I'm still not able to reproduce:
https://github.com/tarampampam/random-user-agent/assets/7326800/c485327d-9bd9-480d-be4d-c9fb167d1a16
Version 4.0.2 cannot pass Cloudflare's CAPTCHA verification.