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

fetch failed #513

Closed
2 tasks done
RareSkye opened this issue Mar 31, 2023 · 5 comments
Closed
2 tasks done

fetch failed #513

RareSkye opened this issue Mar 31, 2023 · 5 comments

Comments

@RareSkye
Copy link

RareSkye commented Mar 31, 2023

Verify latest release

  • I verified that the issue exists in the latest chatgpt release

Verify webapp is working

  • I verify that the ChatGPT webapp is working properly for this account.

Environment details

windows 11
node js 18.15

Describe the Bug

Everything has always worked correctly, today it gives the same error all day
node:internal/deps/undici/undici:11413
Error.captureStackTrace(err, this);
^

TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11413:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchSSE (file:///C:/Users/Andrey/Desktop/gpt/node_modules/chatgpt/build/index.js:46:15) {
cause: Error: connect ECONNREFUSED 127.0.0.1:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 443
}
}

@iamsoltan
Copy link

same as mein !

@sam-hieken
Copy link

sam-hieken commented Mar 31, 2023

Same here, looks like something's wrong with the reverse proxy. The other reverse proxy I mentioned on that link should work.

@transitive-bullshit
Copy link
Owner

closing as a duplicate of #419

also, I strongly recommend using the official API via ChatGPTAPI going forwards. The unofficial API proxies are not robust and will continue to have intermittent issues.

@RareSkye
Copy link
Author

RareSkye commented Apr 2, 2023

How can i use official chatGPT? If he demands 5 bucks for a couple of texts. It's easier to turn to russian copywriters

@transitive-bullshit
Copy link
Owner

transitive-bullshit commented Apr 2, 2023

@RareSkye OpenAI API pricing is actually really cheap. you can use gpt-3.5-turbo for fractions of a penny per thousand tokens. Details here: https://twitter.com/transitive_bs/status/1635712260424478720

This pricing will continue to come down over time as well.

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