Skip to content

getaddrinfo()错误 #300

@thousandcity

Description

@thousandcity

git.exe clone --progress -v -- "https://github.com/apache/tomcat.git" "D:\thousandcity\github\tomcat"
Cloning into 'D:\thousandcity\github\tomcat'...
fatal: unable to access 'https://github.com/apache/tomcat.git/': getaddrinfo() thread failed to start

git did not exit cleanly (exit code 128) (21719 ms @ 2025/10/24 10:39:30)

已经配置switchhosts自动更新,hosts文件也已经修改,没有使用任何vpn。
`C:\Users\Administrator>nslookup github.com
服务器: dns.google
Address: 8.8.8.8

非权威应答:
名称: github.com
Address: 20.205.243.166`
结果显示IP获取已经正确。
这又是什么原因呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions