Code Monkey home page Code Monkey logo

Comments (6)

jfcherng avatar jfcherng commented on August 12, 2024

Interesting... I can reproduce this with a account which doesn't subscribe to copilot.

:: [10:52:02.047] --> LSP-copilot signOut (7): {}
:: [10:52:02.535] <-  LSP-copilot window/logMessage: {'type': 3, 'message': '[auth] Invalid copilot token: missing token: 403 '}
:: [10:52:02.535] <<< LSP-copilot (7) (duration: 488ms): {'status': 'NotAuthorized', 'user': 'XXXXXX'}

I've started a discussion in https://github.com/orgs/community/discussions/126315

from lsp-copilot.

jfcherng avatar jfcherng commented on August 12, 2024

As a workaround, you can delete its session by deleting the whole github-copilot folder.

On Windows, it's %localappdata%\github-copilot.
On other platforms, it's ~/.config/github-copilot.

from lsp-copilot.

jfcherng avatar jfcherng commented on August 12, 2024

As a workaround, you can delete its session by deleting the whole github-copilot folder.

If eventually the GitHub officials don't really care Sublime Text, we probably have to delete that directory directly rather than calling Copilot.vim's signOut command. Or someone has to reverse engineer https://github.com/github/copilot.vim/blob/release/dist/agent.js again.


I am not sure whether Copilot.vim suffers from the same issue though... But it looks like it just calls the signOut command directly too. https://github.com/github/copilot.vim/blob/c79d711cbf7c6672c6c57d6df7c5ab7b6cac2b7a/autoload/copilot.vim#L630-L638

from lsp-copilot.

jfcherng avatar jfcherng commented on August 12, 2024

It looks like I can't sign out a subscribed account either now.

:: [14:44:16.071] --> LSP-copilot signOut (32): {}
:: [14:44:16.085] <<< LSP-copilot (32) (duration: 14ms): {'status': 'OK', 'user': 'jfcherng'}

from lsp-copilot.

jfcherng avatar jfcherng commented on August 12, 2024

A fixed (workaround) new release has been tagged and will be available on Package Control within hours.

from lsp-copilot.

jfcherng avatar jfcherng commented on August 12, 2024

This is claimed to be fixed in https://github.com/orgs/community/discussions/126315#discussioncomment-9691739 anyway.

from lsp-copilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.