Nutlope / aicommits

A CLI that writes your git commit messages for you with AI

Home Page:https://www.npmjs.com/package/aicommits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proxy error:Client network socket disconnected before secure TLS connection was established

Draculabo opened this issue · comments

commented

Bug description

Hello, I encountered some errors while running "aicommits config set proxy=https://closeai.deno.dev" and couldn't find any similar issues on Stack Overflow. Therefore, I seek your expertise here for guidance. I have tested the proxy address and received successful requests with response results. However, I suspect that the issue may lie in the format of the proxy address. Hence, could you kindly provide an example template if that is the case? Thank you very much for your assistance.
proxy_address=https://closeai.deno.dev

✖ Client network socket disconnected before secure TLS connection was established

    at connResetException (node:internal/errors:691:14)
    at TLSSocket.onConnectEnd (node:_tls_wrap:1585:19)
    at TLSSocket.emit (node:events:532:35)
    at endReadableNT (node:internal/streams/readable:1346:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)  

aicommits version

v1.10.0

Environment

System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 4.88 GB / 15.83 GB
  Binaries:
    Node: 16.14.0 - F:\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 8.3.1 - F:\nodejs\npm.CMD

Can you contribute a fix?

  • I’m interested in opening a pull request for this issue.

Seems https://closeai.deno.dev is a ChatGPT reverse proxy, but that's not what the proxy config is for:
https://github.com/Nutlope/aicommits#proxy

commented

Seems https://closeai.deno.dev is a ChatGPT reverse proxy, but that's not what the proxy config is for: https://github.com/Nutlope/aicommits#proxy

Yes, this is a reverse proxy address for ChatGPT. Can it not be used as a proxy for aicommits? If it does not work, what type of proxy do I need to provide for it?

Says in the documentation link I provided above.

Closing as it's not a bug.