-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action does not work behind a proxy #949
Comments
Hi @RaviVadera thanks for opening this issue! I think you've correctly diagnosed the issue. Alternatively, if you're willing, we'd accept a PR to pass along proxy information to |
@RobbieMcKinstry most probably not possible to change the proxy config, I will propose a PR soon-ish. |
Just hit this issue as well.
|
What happened?
When using the action in a GitHub runner which is behind a proxy, the action does not work and times out waiting for connection. Tried setting necessary http_proxy, https_proxy env vars for the action but it still does not help.
Expected Behavior
The action is able to run behind the proxy with necessary env vars set.
Steps to reproduce
Run the action on a runner that is behind a proxy.
Output of
pulumi about
CLI
Version 3.68.0
Go Version go1.20.4
Go Compiler gc
Plugins
NAME VERSION
aws 5.18.0
awsx 1.0.2
docker 3.6.1
nodejs unknown
Host
OS ubuntu
Version 20.04
Arch x86_64
This project is written in nodejs: executable='/snap/bin/node' version='v18.16.0'
Backend
Name ********
URL s3://********
User *****
Organizations
Dependencies:
NAME VERSION
@pulumi/aws 5.18.0
@pulumi/awsx 1.0.2
@pulumi/pulumi 3.68.0
@types/node 16.18.32
typescript 4.9.5
Pulumi locates its logs in /tmp by default
warning: Failed to get information about the current stack: No current snapshot
Additional context
Upon checking the code, it seems that the error originates when getting matching version info at
actions/src/libs/libs/get-version.ts
Line 24 in b7143f1
Adding proxy config to 'got' should fix the issue,
https://github.com/sindresorhus/got/blob/main/documentation/tips.md#proxying
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: