AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

ERR_HTTP_INVALID_STATUS_CODE

Open 18296070379 opened this issue 2 years ago • 8 comments

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)

What is the problem?

18296070379 avatar Apr 13 '23 09:04 18296070379

as per the documentation you need

You will need [Nodejs +18 (LTS recommended)](https://nodejs.org/en/) installed.

what is the output of node -v on your terminal?

nexty5870 avatar Apr 13 '23 09:04 nexty5870

@nexty5870 Thank you for your reply. My node version is v18.16.0. Is it because of network issues?

18296070379 avatar Apr 13 '23 09:04 18296070379

I got the same issue

yihaozuifan avatar Apr 13 '23 09:04 yihaozuifan

I just run the setup and it's working fine here, how do you run it?

can you try to list the step you take to replicate? that might give more indication

nexty5870 avatar Apr 13 '23 09:04 nexty5870

@nexty5870 `npm i npx prisma db push npm run dev

`

That is to say, currently my network environment cannot directly access the OpenAI API, but I have implemented a global proxy.

18296070379 avatar Apr 13 '23 09:04 18296070379

I got the same issue

Have you solved this problem?

18296070379 avatar Apr 13 '23 14:04 18296070379

got the same issue

sosonami2 avatar Apr 14 '23 08:04 sosonami2

Is this a regional error? Possible duplicate #90

APiTJLillo avatar Apr 15 '23 18:04 APiTJLillo