Skip to content

Unable to Sign in to Copilot #242

Description

@danish-ti

Hi I am not able to sign in to LSP-copilot
I get the error could not log in with device flow on github.com tunneling socket could not be established cause=getaddrinfo ENOTFOUND
I am under a corporate proxy. I have added the proxy to ~/.npmrc still not able to sign in.
This is the output of Troubleshoot.

Troubleshooting: LSP-copilot

Version

  • LSP: 2.3.0
  • Sublime Text: 4200

Server Test Run

  • exit code: 0
  • output

Server Configuration

  • command
[
  "${node_bin}",
  "${server_path}",
  "--stdio"
]
  • shell command
"/home/danish/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/20.18.0/node/bin/node" "/home/danish/.cache/sublime-text/Package Storage/LSP-copilot/20.18.0/language-server/node_modules/copilot-node-server/copilot/dist/language-server.js" --stdio
  • selector
source | text | embedding
  • priority_selector
source | text | embedding
  • init_options
{}
  • settings
{
  "auto_ask_completions": true,
  "commit_completion_on_tab": true,
  "completion_style": "popup",
  "debug": false,
  "hook_to_auto_complete_command": false,
  "local_checks": false,
  "prompts": [
    {
      "description": "Review code and provide feedback.",
      "id": "review",
      "prompt": [
        "Review the referenced code and provide feedback.",
        "Feedback should first reply back with the line or lines of code, followed by the feedback about the code.",
        "Do not invent new problems.",
        "The feedback should be constructive and aim to improve the code quality.",
        "If there are no issues detected, reply that the code looks good and no changes are necessary.",
        "Group related feedback into a single comment if possible.",
        "Present each comment with a brief description of the issue and a suggestion for improvement.",
        "Use the format `Comment #: [description] [suggestion]` for each comment, # representing the number of comments.",
        "At last provide a summary of the overall code quality and any general suggestions for improvement."
      ]
    }
  ],
  "proxy": "",
  "status_text": "{% if is_copilot_ignored %}{{ is_copilot_ignored }}{% elif is_waiting %}{{ is_waiting }}{% elif server_version %}v{{ server_version }}{% endif %}",
  "telemetry": {
    "telemetryLevel": null
  }
}
  • env
{
  "PATH": "/home/danish/.cache/sublime-text/Package Storage/lsp_utils/node-runtime/20.18.0/node/bin:"
}

Active view

  • File name
/home/danish/workspace/scripts/schedule.py
  • Settings
{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
  "lsp_active": true,
  "syntax": "Packages/Python/Python.sublime-syntax"
}
  • base scope
source.python

Project / Workspace

  • folders
[
  "/home/danish/workspace/scripts"
]
  • is project: False

LSP configuration

## System PATH - /home/danish/.bun/bin - /home/danish/.local/bin - /home/danish/.local/bin - /home/danish/bin - /usr/local/sbin - /usr/local/bin - /usr/sbin - /usr/bin - /sbin - /bin - /usr/games - /usr/local/games - /snap/bin - /snap/bin - /opt/cross-gcc-bare-13/bin/ - /opt/cross-gcc-linux-13/bin/ - /opt/cross-gcc-linux-10/ - /home/danish/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin - /opt/nvim-linux64/bin - /home/danish/.fzf/bin - /home/danish/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-linux-gnueabihf/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions