-
Notifications
You must be signed in to change notification settings - Fork 550
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
HTTP_PROXY env variable not fetched by GuzzleHttp #878
Comments
I am also experiencing issues when using Heimdall behind a corporate proxy |
The strange part is when we curl directly from the container, we are able to fetch the https://appslist.heimdall.site/list.json site
|
I'm not behind a proxy, and the list updater is throwing me the exact same error ... GuzzleHttp\Exception\ConnectException |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello, We fixed it by adding following piece of code in /app/www/app/SupportedApps.php `
` |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same problem in version 2.5.6. It works fine for me with this fix. But this creates an inconsistency in the docker image. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Hello,
In our corporate network, we are behind a http proxy for internet access.
Previously, heimdall was working fine when setting HTTP_PROXY, HTTPS_PROXY and NO_PROXY env variables in our deployment.
Now we are getting following error.
GuzzleHttp\Exception\ConnectException thrown with message "cURL error 6: Could not resolve host: appslist.heimdall.site (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://appslist.heimdall.site/list.json"
When digging into it, it seems that GuzzleHttp is not taking into account these environment variables.
From code in /var/www/localhost/heimdall/app/SupportedApps.php :
While looking at GuzzleHttp documentation, proxy could be set in request fonction : link
The text was updated successfully, but these errors were encountered: