-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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/openAI/v2ex #123
Comments
把代码里的proxyIP 改成一个对任意cloudflare IP(访问提示DirectIP access not allowed,1.1.1.1不行,随便ping一个就行)的转发。可以自建、找中转ip或者其他公共服务都可以 |
@kerry64 有没有详细的说明如何操作呢?能有原理说明就更好了,谢谢了 |
原理是retry函数里 这个转发的服务器可以用haproxy实现。 |
@kerry64 为什么必须要加一个这个代理IP呢?为什么不能是 客户端然后到cf workers然后到被墙的网站呢? |
他本来就是客户端-worker-目标网站。但cf worker限制了对cf ip range的访问。代码里写了,先尝试直接访问目标网站,如果通了,那就通。没通才会用proxyip retry |
可是workers既然闲置了ip range,为什么给proxy设置cf的ip又可以连接上? @kerry64 |
延迟OK
测速报错:The SSL connection could not be established, see inner exception.
开启代理后:
可以访问Google、YouTube,速度还可以
但无法访问cloudflare、openAI、v2ex
The text was updated successfully, but these errors were encountered: