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

FetchError: request failed, getaddrinfo ENOTFOUND #7

Open
mspronesti opened this issue Mar 21, 2023 · 0 comments
Open

FetchError: request failed, getaddrinfo ENOTFOUND #7

mspronesti opened this issue Mar 21, 2023 · 0 comments

Comments

@mspronesti
Copy link

Hello, I'm using the unofficial free API using the access token I got from chatGPT: https://chat.openai.com/api/auth/session
However I get this ENOTFOUND error.

node version: v16.13.2

[ERROR] FetchError: request to https://chat.duti.tech/api/conversation failed, reason: getaddrinfo ENOTFOUND chat.duti.tech
    at ClientRequest.<anonymous> (file:///usr/lib/node_modules/openai-chatgpt/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:402:35)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  type: 'system',
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  erroredSysCall: 'getaddrinfo'
}
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

1 participant