Closed Zephyr596 closed 1 year ago
Hi there! Thanks for the report. However, I see not really a way how we could debug this. The error messages do not tell me much, there seems to be a connection timeout when talking to a server from GitHub. Why? I have no idea. Can your runner access api.github.com?
Thank you for your reply! This error is caused by self-hosted-runner's proxy. When we use nodejs to send http requests, it can't get self-hosted-runner's proxy, so it throw this error. The global-tunnel-ng module on NPM appears to handle this. Before an http request occurs, I set proxy as follows
globalTunnel.initialize({
connect: 'neither',
protocol: 'https:',
host: 'your proxy host',
port: 8080 //your proxy port
});
You can refer to my fork repo
erros: