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

Error: Client network socket disconnected before secure TLS connection was established #376

Open
dreamsleet opened this issue May 22, 2023 · 2 comments
Labels
question Further information is requested

Comments

@dreamsleet
Copy link

TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:6406:34)
at node:internal/deps/undici/undici:6727:42
at node:internal/process/task_queues:140:7
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:711:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET',
path: undefined,
host: 'api.openai.com',
port: 443,
localAddress: null
}
}
I use ChatGPT, but it reports such an error. Please help me. Thanks

@dreamsleet dreamsleet added the question Further information is requested label May 22, 2023
@liukaixiang817
Copy link

Same error with the TUN mode proxy

@WaterHyacinthInNANHU
Copy link

TypeError: fetch failed at Object.processResponse (node:internal/deps/undici/undici:6406:34) at node:internal/deps/undici/undici:6727:42 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:203:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: Client network socket disconnected before secure TLS connection was established at connResetException (node:internal/errors:711:14) at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19) at TLSSocket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: undefined, host: 'api.openai.com', port: 443, localAddress: null } } I use ChatGPT, but it reports such an error. Please help me. Thanks

Had the same problem. Bypassed this by using http instead of https proxy.

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

No branches or pull requests

3 participants