Skip to content

vdoctor will hang in local LAN #23955

Description

@kbkpbot

Describe the bug

If I have no connection to github, v doctor will hang

Reproduction Steps

In a local LAN which has no connection to github, run v doctor

v doctor

Expected Behavior

show system infomation

Current Behavior

hang for a long time

Possible Solution

add a flag to v doctor, for example -skip-github ?

Additional Information/Context

No response

V version

V 0.4.9 1ca7157.2c3e278

Environment details (OS name and version, etc.)

V full version V 0.4.9 1ca7157.2c3e278
OS linux, Debian GNU/Linux 12 (bookworm)
Processor 4 cpus, 64bit, little endian, aarch64
Memory 0.34GB/0.89GB
V executable /home/mars/github/lang/v/v
V last modified time 2025-03-14 15:30:08
V home dir OK, value: /home/mars/github/lang/v
VMODULES OK, value: /home/mars/.vmodules
VTMP OK, value: /tmp/v_1000
Current working dir OK, value: /home/mars/github/lang/v
Git version git version 2.39.5
.git/config present true
cc version cc (Debian 12.2.0-14) 12.2.0
gcc version gcc (Debian 12.2.0-14) 12.2.0
clang version N/A
tcc version tcc version 0.9.27 mob:da11cf6 (AArch64 Linux)
tcc git status thirdparty-linux-aarch64 ecc2f67a
emcc version N/A
glibc version ldd (Debian GLIBC 2.36-9+rpt2+deb12u9) 2.36

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThis tag is applied to issues which reports bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions