-
Notifications
You must be signed in to change notification settings - Fork 2.6k
http_proxy is used even for https #7367
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
Comments
I would think this is a golang bug, since we do not use the environment variables directly. |
@giuseppe @mtrmac @vrothberg WDYT? |
AFAICS this is just |
I agree, I don't think we have to handle it differently from Podman |
@tkopecek You'll probably need to file an issue against https://github.com/golang/go given this is behavior from the Go standard library |
Filed golang/go#40909 |
We can follow this there. |
/kind bug
Description
When
http_proxy
is set in the environment, podman uses it (at least for communication with registry) even for https connections. Non/existence ofhttps_proxy
is not relevant.http_proxy
should be used only for http requests.Steps to reproduce the issue:
Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Physical box, updated f32, proxy is squid with enabled https. Anyway, it has self-signed certificate which is not trusted in the environment where podman is running. So, maybe it is relevant - if it would be trusted you may not notice (except proxy log) that proxy is used.
The text was updated successfully, but these errors were encountered: