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

TLS error; can't connect #19

Open
edmcman opened this issue Nov 8, 2024 · 0 comments
Open

TLS error; can't connect #19

edmcman opened this issue Nov 8, 2024 · 0 comments

Comments

@edmcman
Copy link

edmcman commented Nov 8, 2024

Hi,

With ollama-copilot installed on VS code, I can't connect and get a bunch of TLS errors.

Output from ollama-copilot:

2024/11/08 10:18:52 unsupported method: GET
2024/11/08 10:18:54 unsupported method: GET
2024/11/08 10:19:21 http: TLS handshake error from 127.0.0.1:34272: remote error: tls: unknown certificate
2024/11/08 10:19:22 unsupported method: GET
2024/11/08 10:19:23 request: GET /copilot_internal/v2/token
2024/11/08 10:19:23 response: GET /copilot_internal/v2/token 200 873.465µs
2024/11/08 10:19:23 http: TLS handshake error from 127.0.0.1:46664: remote error: tls: unknown certificate
2024/11/08 10:19:23 http: TLS handshake error from 127.0.0.1:46670: remote error: tls: unknown certificate
2024/11/08 10:19:29 http: TLS handshake error from 127.0.0.1:46684: remote error: tls: unknown certificate
2024/11/08 10:19:29 http: TLS handshake error from 127.0.0.1:46692: remote error: tls: unknown certificate
2024/11/08 10:20:01 unsupported method: GET
2024/11/08 10:20:06 unsupported method: GET
2024/11/08 10:20:26 http: TLS handshake error from 127.0.0.1:58942: remote error: tls: unknown certificate
2024/11/08 10:20:29 unsupported method: GET
2024/11/08 10:20:32 unsupported method: GET

Log from "GitHub Copilot Chat" in VS code:

2024-11-08 10:19:22.643 [info] Using the Electron fetcher.
2024-11-08 10:19:22.643 [info] Initializing Git extension service.
2024-11-08 10:19:22.643 [info] Successfully activated the vscode.git extension.
2024-11-08 10:19:22.643 [info] Enablement state of the vscode.git extension: true.
2024-11-08 10:19:22.643 [info] Successfully registered Git commit message provider.
2024-11-08 10:19:23.547 [info] Logged in as edmcman
2024-11-08 10:19:23.678 [info] Logged in as edmcman
2024-11-08 10:19:23.683 [error] Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:519:28): Failed to get copilot token
2024-11-08 10:19:23.683 [error] GitHub Copilot could not connect to server. Extension activation failed: "net::ERR_CERT_AUTHORITY_INVALID"
2024-11-08 10:19:23.683 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-08 10:19:23.683 [error] Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
2024-11-08 10:19:23.683 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-11-08 10:19:23.683 [error] Error: net::ERR_CERT_AUTHORITY_INVALID
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
2024-11-08 10:19:23.683 [info] activationBlocker from 'languageModelAccess' took for 15ms

image

I am using VS code 1.95.1. Any idea what is going on?

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