[BUG] It seems Digital Ocean IPs cannot access Claude Code atm
All 3 of our servers are returning this message:
Unable to connect to Anthropic services
Failed to connect to console.anthropic.com: Request failed with status code 403
Please check your internet connection and network settings.
Note: Claude Code might not be available in your country. Check supported countries at https://anthropic.com/supported-countries
On other servers however using Linode, it was driving me mad but I'm 100% this is what's going on. Can someone look into why the IPs are being blocked? I am connecting from legit countries, USA, Germany and Israel.
I can confirm this. Via claude code, or direct curl tests from cli to console/api, 403 globally.
Failed to connect to console.anthropic.com: Request failed with status code 403
gmbvdl@myb:~$ wget --server-response --spider console.anthropic.com 2>&1 | grep "HTTP/" | awk '{print $2}'
301
403
If it is indeed DO IP nets being blocked, why are they blanket blocked like this instead of specifically. Bit erratic
Same for me connection from Azure VMs in West Europe.
Im on DO and I'm getting the same message. Please advise.
I'm also on Digital Ocean and receiving the same message. Extremely frustrating and negatively impacting.
I'm also on Digital Ocean and receiving the same message. Extremely frustrating and negatively impacting.
Yeah it forced me to get WSL installed and just use that. You can still use Claude Code effectively like that.
EDIT — 6:07 pm CT: seems to be resolved for at least one machine, checking others
Same issue. Fine yesterday 05-06, can’t access starting today 05-07. Getting response 403 or 401 on any type of call (curl -v https://console.anthropic.com gets 403, and claude code use gets 401 expired OAuth token, unable to login again effectively).
This genuinely appears to be a blanket blacklist of DO ip’s. Super curious what is the reason. Unfortunately if this continues I need to pick to drop DO or CC, and I’d rather drop neither!
I am not use in cloud, just in my home network will get those bugs too. In California
This is Claude's Cloudflare Shield. According to my tests, globally, any server using curl receives a 403. It's not a real 403, but rather waiting for a CAPTCHA verification, which the CLI environment cannot handle. Only console.anthropic.com behaves this way; the actual working api.anthropic.com seems to have no issues. I believe Claude considers this a very good way to protect their business.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Hi - thanks for reporting. Please re-open with repro steps if this error is still occurring. Thank you!