Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coder login command results in i/o timeout error when not using a proxy #14719

Open
Labels
cliArea: CLI
@MVMartinov19

Description

@MVMartinov19

I encountered an issue today when attempting to run the following command:

coder login "https://URL"

The result was the following error message:

Encountered an error running "coder login", see "coder login --help" for more informationerror: Failed to check server "https://URL" for first user, is the URL correct and is coder accessible from your browser? Error - has initial user: Get "https://URL/api/v2/users/first": dial tcp URL:443: i/o timeout

Root Cause
The issue arises because, without a proxy, there is no access to the internet. Only when connected through a proxy is there internet access, which allows the system to reach the Coder instance.

While HTTP requests made from JetBrains Gateway'sCoderCLIManager,

CoderCLIManager - GET 200 https://URL/bin/coder-windows-amd64.exe are successful, it's important to note that JetBrains Gateway uses the system's Proxy settings.

Question
Is there a way for the Coder CLI to use proxy settings from Windows, or alternatively, can a proxy be configured for Coder CLI to make requests via HTTP or another type of proxy? This would ensure that Coder CLI can function properly in environments where direct internet access is restricted without a proxy.

Without proxy settings in Coder CLI, requests timeout due to the lack of direct internet access.

Environment
OS: Windows 10

Would appreciate any guidance on configuring proxy settings for Coder CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliArea: CLI

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp