Skip to content

Add support for Proxy Server #438

@harsha-chamarthi

Description

@harsha-chamarthi

Hi Team,

I am running my garm server instance on EC2 behind a proxy server, i have set the proxy settings as environment variables HTTP_PROXY and HTTPS_PROXY pointing to our proxy server. GIthub and the below url is accesible when we do a curl, but when i create a organisation using garm-cli i am getting the below error,

Failure reason | fetching runner tools: Get "https://api.github.com/orgs/*****/actions/runners/downloads": could not refresh installation id **********'s token: could not get access_tokens from GitHub API for installation ID ***********: dial tcp 140.82.116.6:443: connect: connection refused |

We have configured our other self-hosted runners using the environment variables mentioned in the below doc and it works fine.
https://docs.github.com/en/actions/how-tos/hosting-your-own-runners/managing-self-hosted-runners/using-a-proxy-server-with-self-hosted-runners

Please help in resolving this issue or let me know how to pass the proxy settings to our garm server

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions