-
Notifications
You must be signed in to change notification settings - Fork 179
Description
Describe the bug
It is more secure to run BPNs with whitelisted outbound connectivity to specified URLs, and therefore it should be possible to use an outbound proxy (e.g. squid). This mostly works, but fails with non obvious errors for cncli sync and validate services without first creating ~/.curlrc with proxy and noproxy settings configured.
To Reproduce
Steps to reproduce the behavior:
- Block outbound access on 80/443 from BPNs
- Configure whitelisted access to URLs required via a proxy such as squid
- On BPN export standard environment variables http_proxy, https_proxy, no_proxy
- On BPN fail to set ~/.curlrc with proxy and no proxy values
Expected behavior
Error message from cncli sync or validate service to indicate unable to connect
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
- OS: Ubuntu
- Product version: CNTools v13.4.1
- Cardano Node version: n/a
- Network you're connecting to: n/a
Additional context
Reporting this in case useful for others...may not be a bug as much a documentation issue.
Internet access via proxy is default behaviour on enterprise networks and this feature should be supported by default.