Rate Limited by Cloudflare, any solution?
mochasweet opened this issue · 2 comments
mochasweet commented
padixa commented
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 commented
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.