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

Doesn't works when multiple VS Code instance #143

Open
geeky01adarsh opened this issue Feb 14, 2024 · 1 comment
Open

Doesn't works when multiple VS Code instance #143

geeky01adarsh opened this issue Feb 14, 2024 · 1 comment
Assignees

Comments

@geeky01adarsh
Copy link

It only works with the first instance of VS Code and when it tries closing the first instance, it doesn't get automatically activated for others.

@fabiojung
Copy link

Any update on this?

I also work with multiple VSCode instances. The login workflow works for the first instance opened, but once the second one is opened I get the following error: Failed logging in to Codiumate: unable to get issuer certificate

Error from codium-ai output:

["ERROR" - 2:41:18 PM] auth_service.ts:login error
{
  "error": {
    "message": "unable to get issuer certificate",
    "name": "Error",
    "stack": "Error: unable to get issuer certificate\n\tat rA.from (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:4804503)\n\tat h.<anonymous> (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:4826760)\n\tat h.emit (node:events:529:35)\n\tat l.forEach.u.<computed> (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:490838)\n\tat ClientRequest.emit (node:events:529:35)\n\tat TLSSocket.socketErrorListener (node:_http_client:501:9)\n\tat TLSSocket.emit (node:events:517:28)\n\tat emitErrorNT (node:internal/streams/destroy:151:8)\n\tat emitErrorCloseNT (node:internal/streams/destroy:116:3)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)\nError: Axios Better Stacktrace\n\tat n.forEach.A.<computed> [as post] (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:4797823)\n\tat e.default.getCustomToken (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:849649)\n\tat e.default.getAccessToken (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:849554)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n\tat async e.default.loginIfPreviouslyLoggedIn (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:849349)\n\tat async D.login (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:853959)\n\tat async a.login (/Users/username/.vscode/extensions/codium.codium-0.8.5/dist/extension.js:2:858878)",
    "config": {
      "transitional": {
        "silentJSONParsing": true,
        "forcedJSONParsing": true,
        "clarifyTimeoutError": false
      },
      "adapter": [
        "xhr",
        "http"
      ],
      "transformRequest": [
        null
      ],
      "transformResponse": [
        null
      ],
      "timeout": 8000,
      "xsrfCookieName": "XSRF-TOKEN",
      "xsrfHeaderName": "X-XSRF-TOKEN",
      "maxContentLength": -1,
      "maxBodyLength": -1,
      "env": {},
      "headers": {
        "Accept": "application/json",
        "Content-Type": "application/json",
        "User-Agent": "axios/1.6.2",
        "Content-Length": "1416",
        "Accept-Encoding": "gzip, compress, deflate, br"
      },
      "method": "post",
      "url": "https://proxy.codium.ai/v1/auth/create_custom_token",
      "data": "{\"id_token\":\"token-removed-from-here\"}"
    },
    "code": "UNABLE_TO_GET_ISSUER_CERT",
    "status": null
  }
}

After this error, the login doesn't work anymore even when using a single vscode instance.

VSCode 1.88.1 on MacOS 13.6.5

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

3 participants