-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to connect to any Chat APIs #2100
Comments
What's your node version? |
v18.16.1 |
Try updating to the latest LTS version (20) |
Updated node.js to v20.12.2 Still getting the same error. |
currently having exactly the same problem with NovelAi. everything was ok, this error started appearing few hours ago. maybe it's something about servers, idk. |
@sorrowhead do you perhaps have a ESET antivirus software installed? |
I have the same or similar problem with OpenRouter, it worked couple of hours ago but now it doesnt, i get this error msg: |
This was found to be a problem with ESET antivirus. Adding an exception for Node in SSL protection rules seems to help. Thanks @Covalent0714 for the image. |
It worked! Thank you. |
that worked, thank you very much! <3 |
@Cohee1207 Through a round-a-bout journey today I found this by going from Stack Overflow > ESET > here. Just wanted to extend a massive thanks for posting about this on the ESET forums so it could be recognized. That helped myself and a bunch of co-workers today. Again, seriously, respect. We owe you a beer.... or lots of beers. |
@sorrowhead it looks like your node install is not in the PATH variable anymore. Try reinstalling it. I'm closing this issue as we currently have a workaround solution and ESET is working on a fix. |
Environment
馃獰 Windows
System
Windows 10
Version
1.11.8 'staging' (d636385)
Desktop Information
NovelAI and Cohere APIs
Describe the problem
Attempts to connect to any chat APIs (Cohere and NovelAI shown as examples yield a FetchError and says "No connection..."
FetchError: request to https://api.cohere.ai/v1/models failed, reason: unable to verify the first certificate
at ClientRequest. (C:\Users[REDACTED]\Documents\GitHub\SillyTavern\node_modules\node-fetch\lib\index.js:1505:11)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
FetchError: request to https://api.novelai.net/user/subscription failed, reason: unable to verify the first certificate
at ClientRequest. (C:\Users[REDACTED]\Documents\GitHub\SillyTavern\node_modules\node-fetch\lib\index.js:1505:11)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
This is a new problem that arose today. Nothing was changed with regards to API keys.
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: