Skip to content
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

我尝试用阿里云香港和美国硅谷都不行 #61

Open
fangyuan99 opened this issue May 4, 2023 · 6 comments
Open

我尝试用阿里云香港和美国硅谷都不行 #61

fangyuan99 opened this issue May 4, 2023 · 6 comments

Comments

@fangyuan99
Copy link

点击测试函数的时候都报错,放在项目里也不行,使用node16和17版本都测试了

测试函数报错

发送请求失败,请稍后再试。如果多次失败,请检查您的 HTTP 函数是否禁止了跨域请求。点击[这里](https://help.aliyun.com/document_detail/71229.html#section-s91-v5a-lqw)查看 CORS 请求处理相关文档。

项目报错

404 Not Found {
  "error": {
    "message": "Invalid URL (POST /chat/completions)",
    "type": "invalid_request_error",
    "param": null,
    "code": null
  }
}
@dubaishun
Copy link

我的也是阿里云函数 用不了,404或者502 打开网页时会跳转到新的空白页。

@Blueness-Song
Copy link

我也是。。

@Blueness-Song
Copy link

我问了阿里云的工程师,他说这是国际网络链路问题,https方式不行,可以本地发送http请求试下,我试了换成http就好使了!

@dubaishun
Copy link

不是这个问题,打开的时候是弹出新页,和https/http没有关系。

@dubaishun
Copy link

经测试阿里云函数硅谷 弗吉尼亚 香港 链路不通,无法跳转到api.openai.com

@xcwen6
Copy link

xcwen6 commented Jul 7, 2023

经测试阿里云函数硅谷 弗吉尼亚 香港 链路不通,无法跳转到api.openai.com

阿里云新加坡可以使用,我现在就是使用新加坡的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants