You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
However fetch is implemented in node-fetch, which does NOT respect http proxy configurations like environment variables or ~/.gitconfig. This seems to be done intentionally, the node-fetch guys write that node-fetch is on the wrong abstraction level, so if you're using it you have to implement the http proxy settings yourself (e.g. with an http-proxy-agent).
I suggest to switch from node-fetch to some other download library that respects environment variables http_proxy and https_proxy by default.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because no activity occured in 7 days after being marked as stale. If it's still relevant - feel free to reopen. Thank you for your contributions.
Expected Behavior
build behind http proxy should work (as long as all internet connection use the http proxy)
Current Behavior
build fails with timeout when fetching list.json (solidity releases)
Possible Solution
With #1596 you changed from a static list of solidity releases to dynamically fetching it with this line:
However fetch is implemented in node-fetch, which does NOT respect http proxy configurations like environment variables or ~/.gitconfig. This seems to be done intentionally, the node-fetch guys write that node-fetch is on the wrong abstraction level, so if you're using it you have to implement the http proxy settings yourself (e.g. with an http-proxy-agent).
I suggest to switch from node-fetch to some other download library that respects environment variables
http_proxy
andhttps_proxy
by default.Steps to Reproduce (for bugs)
See ethereum-oasis-op/baseline#86.
Your Environment
Arch Linux (x64)
baseline (latest development version)
sol-compiler 4.0.2 (dependency of baseline)
The text was updated successfully, but these errors were encountered: