GitHub Codespace中ping api.github.com超时问题求助
背景信息
我在GitHub Codespace中运行GitHub自托管运行器检查脚本。
./run.sh --check --url https://github.com/$GITHUB_REPOSITORY --pat $SELF_HOSTED_RUNNER_PAT_TOKEN
问题描述
尽管DNS解析正常,但脚本在执行互联网连接检查时,ping命令失败。
$ nslookup api.github.com Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: api.github.com Address: 140.82.121.6 $ nslookup vstoken.actions.githubusercontent.com Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: vstoken.actions.githubusercontent.com canonical name = star-actions-githubusercontent-com.l-0007.l-msedge.net. star-actions-githubusercontent-com.l-0007.l-msedge.net canonical name = l-0007.l-msedge.net. Name: l-0007.l-msedge.net Address: 13.107.42.16 Name: l-0007.l-msedge.net Address: 2620:1ec:21::16
错误信息
Ping api.github.com (0.0.0.0) failed with 'TimedOut' Ping vstoken.actions.githubusercontent.com (0.0.0.0) failed with 'TimedOut'
求助问题
相同的ping命令在本地网络可正常执行,但在Codespace中却超时,疑似存在ping阻塞,恳请协助排查原因。
内容的提问来源于stack exchange,提问作者Lukasz Dynowski
相关产品推荐
相关产品推荐

