Description
When using the slack-github-action in GitHub App mode, the Action fails to utilize environment variables HTTPS_PROXY and https_proxy correctly.
What type of issue is this? (place an x in one of the [ ])
Requirements (place an x in each of the [ ])
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: slackapi/slack-github-action@v1.24.0
node version:
OS version(s): Ubuntu 20.04 LTS
Steps to reproduce:
- run slack-github-action behind a proxy
- make sure you set HTTPS_PROXY and https_proxy env vars
- use slack webhook method
- observe success
- use slack app method (slack bot token)
- observe failure
Expected result:
HTTPS_PROXY var is respected and slack api call goes through properly, resulting in the display of a message on the respective channel.
Actual result:
Slack message never arrives in channel. Likely because HTTPS_PROXY env var is not being respected
Attachments:
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 3.***.***.153:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 18.***.***.***:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 3.***.***.98:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 3.***.***.98:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 18.***.***.225:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 3.***.***.98:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 18.***.***.***:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 3.***.***.153:443
[WARN] web-api:WebClient:0 http request failed connect ETIMEDOUT 18.***.***.225:443
Error: The operation was canceled.
Description
When using the slack-github-action in GitHub App mode, the Action fails to utilize environment variables
HTTPS_PROXYandhttps_proxycorrectly.What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: slackapi/slack-github-action@v1.24.0
node version:
OS version(s): Ubuntu 20.04 LTS
Steps to reproduce:
Expected result:
HTTPS_PROXY var is respected and slack api call goes through properly, resulting in the display of a message on the respective channel.
Actual result:
Slack message never arrives in channel. Likely because HTTPS_PROXY env var is not being respected
Attachments: