Skip to content

Github Copilot CLI: Model call failed: "Connection error." #256

@ajayrathiif

Description

@ajayrathiif

Describe the bug

I’m trying to use GitHub Copilot but am encountering the issue shown in the screenshot. My company has an active GitHub subscription with the Copilot CLI feature enabled. However, I noticed that no list of available models appears, I had to manually connect to gpt-5, after which I received the error:
“Execution failed: Connection error.”

I’ve already tried restarting the terminal and VS Code, reauthorizing the GitHub connection, and even testing it on a colleague’s system . the issue persists. Could it be that my company’s network proxy is blocking connections to the Copilot CLI API?

Any insights or suggestions would be greatly appreciated.

Image

Affected version

0.0.337

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions