bernardo-bruning / ollama-copilot

Proxy that allows you to use ollama as a copilot like Github copilot
MIT License
289 stars 20 forks source link

Github-copilot with Remote OLLAMA server tls error #10

Open rasulovk opened 3 months ago

rasulovk commented 3 months ago

Hi,

I just installed ollama and ollama-copilot as per instruction , but see a lot of errors in terminal, please advise how to fix it:

/home/shell# ollama-copilot 2024/06/04 11:13:33 http: TLS handshake error from 127.0.0.1:53132: remote error: tls: unknown certificate 2024/06/04 11:13:45 http: TLS handshake error from 127.0.0.1:44372: remote error: tls: unknown certificate 2024/06/04 11:13:48 http: TLS handshake error from 127.0.0.1:40568: remote error: tls: unknown certificate 2024/06/04 11:13:49 http: TLS handshake error from 127.0.0.1:40572: remote error: tls: unknown certificate 2024/06/04 11:13:54 http: TLS handshake error from 127.0.0.1:40584: remote error: tls: unknown certificate 2024/06/04 11:14:06 http: TLS handshake error from 127.0.0.1:36290: remote error: tls: unknown certificate 2024/06/04 11:14:08 http: TLS handshake error from 127.0.0.1:36306: EOF 2024/06/04 11:14:08 http: TLS handshake error from 127.0.0.1:57336: EOF 2024/06/04 11:14:10 http: TLS handshake error from 127.0.0.1:57346: EOF 2024/06/04 11:14:11 http: TLS handshake error from 127.0.0.1:57358: remote error: tls: unknown certificate 2024/06/04 11:14:14 http: TLS handshake error from 127.0.0.1:57366: remote error: tls: unknown certificate 2024/06/04 11:14:15 http: TLS handshake error from 127.0.0.1:57370: remote error: tls: unknown certificate

Visual studio console logs:

2024-06-04 15:15:55.284 [info] [fetcher] Using Electron fetcher, feature flag is enabled. 2024-06-04 15:15:55.285 [info] [code-referencing] Public code references are enabled. 2024-06-04 15:15:55.286 [info] [auth] Sucessfully authenticated 2024-06-04 15:16:10.319 [error] [default] Error sending telemetry Error: net::ERR_CERT_AUTHORITY_INVALID at SimpleURLLoaderWrapper. (node:electron/js2c/utility_init:2:9932) at SimpleURLLoaderWrapper.emit (node:events:517:28)

carlosealves2 commented 3 months ago

I have the same error

rasulovk commented 3 months ago

I can't get it worked, getting error when tried example from installation guide:

2024-06-05 09:02:41.046 [error] [default] Error sending telemetry Error: net::ERR_CERT_AUTHORITY_INVALID at SimpleURLLoaderWrapper. (node:electron/js2c/utility_init:2:9932) at SimpleURLLoaderWrapper.emit (node:events:517:28)

Does you have same issue ?

bernardo-bruning commented 3 months ago

Hello! This error is generated because the proxy does not redirect requests to the telemetry service. I have been working on this issue and have released recent changes that remove these errors in your IDE.

Same with error copilot works for me