[Bug] 请问vercel是不是被openai封ip了?用vercel部署的网页提交问题就报“Sorry, you have been blocked”,有什么办法解决么?
为了提高交流效率,我们设立了官方 QQ 群和 QQ 频道,如果你在使用或者搭建过程中遇到了任何问题,请先第一时间加群或者频道咨询解决,除非是可以稳定复现的 Bug 或者较为有创意的功能建议,否则请不要随意往 Issue 区发送低质无意义帖子。
反馈须知
⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。
请在下方中括号内输入 x 来表示你已经知晓相关内容。
- [x] 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
- [x] 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
- [x] 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。
描述问题 [Bug] 请问vercel是不是被openai封ip了有什么办法解决么?
如何复现 用vercel部署的网页提交问题就报“Sorry, you have been blocked”,
截图
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
一些必要的信息
- 系统:[比如 windows 10]
- 浏览器: [比如 chrome]
- 版本: [填写设置页面的版本号]
- 部署方式:[比如 vercel部署]
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Is vercel’s IP blocked by openai? When submitting a problem on a webpage deployed with vercel, it reports "Sorry, you have been blocked". Is there any way to solve it?
In order to improve communication efficiency, we have set up an official QQ group and QQ channel. If you encounter any problems during use or construction, please join the group or channel for consultation as soon as possible, unless it is a bug that can be stably reproduced or More creative feature suggestions, otherwise please do not send low-quality and meaningless posts to the Issue area.
Feedback Instructions
⚠️ NOTE: Any post that does not follow this template will be immediately closed and we will not be able to locate your issue without providing the information below.
Please enter x in the square brackets below to indicate that you already know the relevant content.
- [ ] I confirm that I have searched for the feedback issue in FAQ, and there is no find the solution;
- [ ] I confirm that I have searched the Issues list (including those that have been Closed) for this feedback issue, but no answer has been found.
- [ ] I confirm that I have searched for the feedback issue in Vercel usage tutorial. No answer found.
Describe the problem [Bug] Is there any way to solve the problem of vercel being blocked by openai?
How to reproduce When submitting a problem using a webpage deployed with vercel, it will report "Sorry, you have been blocked".
screenshot
Please provide console screenshots, screenshots, or server-side log screenshots here.
Some necessary information
- System: [such as windows 10]
- Browser: [such as chrome]
- Version: [Fill in the version number of the settings page]
- Deployment method: [such as vercel deployment]
I am having the same issue. Also doesn't work when deployed to vercel. Works in codepod and I assume local.
Managed to visualize the returned html message. It seems that the IP is banned due to attack protection.
我一个同事用用safari,报这个错,换成chrome好了
Bot detected the issue body's language is not English, translate it automatically.
A colleague of mine reported this error when using Safari. He changed it to Chrome.
https://github.com/suoaao/affordable-openai
The self-reverse proxy can still be used after one iteration.
I don't think its browser dependent. The block is happening at open ai which means its blocked after vercel sends the data. I have tried edge, firefox and chrome, they are all blocked.
Below is a similar thread on the openai dev forums complaining about the same thing.
https://community.openai.com/t/api-access-failed-showing-cloudflare-block-page/506015/18
Potentially all vercel servers are blocked and and vercel has to negotiate with openai for renewed access.
that's proxy issue
works fine for me
proxy :
只要这个cdn 域名能够正常访问 就没有问题了
Bot detected the issue body's language is not English, translate it automatically.
As long as the cdn domain name can be accessed normally, there will be no problem.
Currently, OpenAI has blocked API access for all regions of Hong Kong. Vercel will pass through the user's IP to OpenAI's API, and if your IP is not from an allowed country, you will not be able to access it.
Currently, OpenAI has blocked API access for all regions of Hong Kong. Vercel will pass through the user's IP to OpenAI's API, and if your IP is not from an allowed country, you will not be able to access it.
How Vercel pass through user's IP? This project seems to use Vercel to provide a proxy for those blocked IPs?
是不是CF的问题 https://github.com/noobnooc/noobnooc/discussions/9#discussioncomment-7587019
Bot detected the issue body's language is not English, translate it automatically.
Is it a problem with CF https://github.com/noobnooc/noobnooc/discussions/9#discussioncomment-7587019
we have the same issue too, and I check my CNAME record seems not proxy enabled, The value is cname.vercel-dns.com, so more like vercel's issue.
在vercel.json中加入"regions": ["sin1"],可指定使用新加坡节点,避免自动使用了香港。
Bot detected the issue body's language is not English, translate it automatically.
Add "regions": ["sin1"] to vercel.json to specify the Singapore node to avoid automatically using Hong Kong.
在vercel.json中加入"regions": ["sin1"],可指定使用新加坡节点,避免自动使用了香港。
对的。https://github.com/noobnooc/noobnooc/discussions/9#discussioncomment-7590721
在vercel.json中加入"regions": ["sin1"],可指定使用新加坡节点,避免自动使用了香港。
测试可行
fixed by #3290