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

Cloudflare loop with whitelist mode #304

Closed
1 task done
meichengg opened this issue May 19, 2022 · 27 comments
Closed
1 task done

Cloudflare loop with whitelist mode #304

meichengg opened this issue May 19, 2022 · 27 comments
Assignees
Labels
type:feature_request Feature request

Comments

@meichengg
Copy link

Is there an existing issue for this?

  • 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

  1. Go to https://gitlab.com/users/sign_in or https://jetbra.in/.
  2. The loop starts.
  3. Turn off whitelist mode in the extension settings.
  4. Reload those webpages, it will pass.

Browser

Chrome

Extension version

No response

Anything else?

No response

@tarampampam
Copy link
Owner

tarampampam commented May 19, 2022

Hi @meichengg! I can't reproduce described behavior... For example, https://jetbra.in/ opens without the loop (chrome 101, linux):

image

@meichengg
Copy link
Author

I'm using Chrome 102.0.5005.61 (macOS Monterey) by the way, sorry for the missing info.

@tarampampam
Copy link
Owner

Ok, I will check on mac a little bit later, ok?

@meichengg
Copy link
Author

meichengg commented May 20, 2022

@meichengg
Copy link
Author

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.

image

@tarampampam
Copy link
Owner

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?

@meichengg
Copy link
Author

meichengg commented May 20, 2022

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

@fakhamatia
Copy link

I have the same problem
What do you need me to share?

@tarampampam
Copy link
Owner

tarampampam commented Sep 27, 2022

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 :(

@meichengg
Copy link
Author

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

@tarampampam tarampampam added type:feature_request Feature request and removed type:bug labels Oct 5, 2022
@tarampampam tarampampam pinned this issue Oct 13, 2022
@TheGITofTeo997
Copy link

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.

@meichengg
Copy link
Author

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.

image

@meichengg
Copy link
Author

@philiparvidsson
Copy link

Same problem here.

@Auzhie14
Copy link

How to overcome cloudflare verification?? Can not enter

@yozachar
Copy link

I had to pause the agent temporarily :(

@tarampampam
Copy link
Owner

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

@tarampampam
Copy link
Owner

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!

@tarampampam
Copy link
Owner

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! 👍🏿

@adriadam10
Copy link

adriadam10 commented May 17, 2024

i have the chrome extension 4.0.1 version and chatgpt.com has the cloudflare loop again

@tarampampam
Copy link
Owner

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?

@adriadam10
Copy link

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?

github.mp4

@tarampampam
Copy link
Owner

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)

@adriadam10
Copy link

adriadam10 commented May 17, 2024

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

@tarampampam
Copy link
Owner

Unfortunately, I'm still not able to reproduce:

Screencast.2024-05-17.17.27.47.mp4

@gnz1123
Copy link

gnz1123 commented May 18, 2024

Version 4.0.2 cannot pass Cloudflare's CAPTCHA verification.

@meichengg
Copy link
Author

@adriadam10 @gnz1123 Are you guys using any VPN service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature_request Feature request
Projects
None yet
Development

No branches or pull requests

9 participants