-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0 #90
Comments
same here |
1 similar comment
same here |
Update. I pulled hahayusuf:feat/custom_base_path and misconfiged the API Base Url. |
me too |
same here |
same here !
Fails to deploy Agent with error:
|
Same happens on Ubuntu 22.04 LTS |
I am in germany and I can open https://api.openai.com/v1/ easily in webbrowser on Debian 11 and Ubunu 22 machines so it is not a connection error |
Are you still experiencing this @alorbach @night3759 @Pandoxie @horysk @FakeSnake618 @muqiufeng-zang ? |
It works (Y) |
Added support for custom base url: #543 Going to close this as a result. I'll also include something in the documentation to describe this |
I am in china, so I need to use vpn to get the response from openai, but when the vpn is on, the error occurs.
error - RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 0
at new NodeError (node:internal/errors:399:5)
at ServerResponse.writeHead (node:_http_server:344:11)
at ServerResponse.writeHead (E:\AgentGPT-main\node_modules\next\dist\compiled\compression\index.js:46:263)
at ServerResponse._implicitHeader (node:_http_server:335:8)
at ServerResponse.end (E:\AgentGPT-main\node_modules\next\dist\compiled\compression\index.js:22:749)
at DevServer.runEdgeFunction (E:\AgentGPT-main\node_modules\next\dist\server\next-server.js:1461:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async DevServer.runApi (E:\AgentGPT-main\node_modules\next\dist\server\next-server.js:468:47)
at async Object.fn (E:\AgentGPT-main\node_modules\next\dist\server\next-server.js:751:37)
at async Router.execute (E:\AgentGPT-main\node_modules\next\dist\server\router.js:253:36)
at async DevServer.run (E:\AgentGPT-main\node_modules\next\dist\server\base-server.js:384:29)
at async DevServer.run (E:\AgentGPT-main\node_modules\next\dist\server\dev\next-dev-server.js:743:20)
at async DevServer.handleRequest (E:\AgentGPT-main\node_modules\next\dist\server\base-server.js:322:20) {
code: 'ERR_HTTP_INVALID_STATUS_CODE'
The text was updated successfully, but these errors were encountered: