claude pro OAuth error: Request failed with status code 403问题解决
claude pro
使用账户授权,只要一点击授权就会报错OAuth error: Request failed with status code 403
根据这篇文章 https://github.com/anthropics/claude-code/issues/8007 的解答提示,原文说到:
1.不要太过于相信vpn全局,git bash或者cmd、终端里面用curl ifconfig.me出去看看自己公网ip
2.https://tool.hiofd.com/ip/ 这里查询ip地址,claude限制国家挺多的,我这边可以发现自己挂全局vpn仍然是中国的ip
3.如果发现自己是限制国家ip,那么用proxy设置http代理端口,再次curl ifconfig.me出去发现ip不是限制国家ip即可。
Issue Resolution Summary:
Do not rely solely on VPN global mode.
Use curl ifconfig.me in Git Bash, CMD, or terminal to verify your actual public IP address.
Check your IP location via https://tool.hiofd.com/ip/ .
Claude enforces strict geolocation restrictions. In some cases, even with a global VPN enabled, the outbound IP may still appear to be from a restricted country (e.g., China).
If your IP is from a restricted region, configure your system or application to use an HTTP proxy.
After setting the proxy, re-run curl ifconfig.me to confirm that your IP now originates from an allowed country.
更多推荐

所有评论(0)