Closed vppawar closed 3 years ago
I'm sorry I'm not familiar with the http_proxy
/ https_proxy
settings. Do other requests work? Maybe the code cannot reach 192.30.255.117
?
@gr2m : We tried to call the curl from the same system where the runner is installed , and it is giving us correct results.
curl -X GET -u $GITHUB_TOKEN:x-oauth-basic 'https://api.github.com/users/vppawar'
Is that you mean when you say code cannot reach to 192.30.255.117?
@gr2m : The question is how we can use this action behind the proxy?
I'm sorry I'm not familiar with the
http_proxy
/https_proxy
settings. Do other requests work? Maybe the code cannot reach192.30.255.117
?
@gr2m The other request also does not work. How can we make it work behind the proxy?
Run octokit/request-action@v2.x
/usr/bin/docker exec 60bc6ca797260c4c477da68cbe1bd879ff325368d06be5f796560af5e9f8e3de sh -c "cat /etc/*release | grep ^ID"
GET /repos/{owner}/{repo}/releases/latest
> owner: octokit
> repo: request-action
> mediaType: [object Object]
Error: request to https://api.github.com/repos/octokit/request-action/releases/latest failed, reason: connect ETIMEDOUT 192.30.255.116:443
@imwiss do you know someone who could help here? I'm not familiar with how the proxy is setup (documentation)
@vppawar can you enable debug logs? See https://github.com/octokit/request-action/#debugging
@vppawar is this still an issue for you? Did you find out anything new?
@gr2m : We found a different solution where we are giving running the script which calls the GitHub REST API directly.
I am trying to use the action behind the proxy
This is giving the timeout error
The endpoint https://api.github.com/users/vppawar works fine when called using curl after specifying the proxy