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

Rate Limited by Cloudflare, any solution? #10

Open
mochasweet opened this issue Jul 7, 2023 · 2 comments
Open

Rate Limited by Cloudflare, any solution? #10

mochasweet opened this issue Jul 7, 2023 · 2 comments

Comments

@mochasweet
Copy link

image
@padixa
Copy link

padixa commented Sep 14, 2023

could we use our mdm.xml file in -volume folder like this:

<dict>
  <key>organization</key>
  <string>xx</string>  
  <key>auth_client_id</key>
  <string>xx</string>
  <key>auth_client_secret</key>
  <string>xx</string>
</dict>

And use something like ZeroTrust. to avoid rate limite? Cloudflare Document

The good things that the folder could download the client config, register information, then we don't need to remove and register again next time stop docker and start .

@tar-xz
Copy link

tar-xz commented Oct 28, 2023

I believe this is the limitation of ipinfo.io.

https://github.com/Neilpang/wgcf-docker/blob/main/entry.sh#L73-L80

_checkV4() {
  echo "Checking network status, please wait...."
  while ! curl --max-time 2  ipinfo.io; do
    wg-quick down wgcf
    echo "Sleep 2 and retry again."
    sleep 2
    wg-quick up wgcf
  done

The response content from the remote server doesn't matter since it's only for checking the internet connection.

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

No branches or pull requests

3 participants