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
I am trying to set up a local caching proxy for a debian-based commercial system. The official repository is HTTPS only and requires basic auth.
I add a /etc/apt/auth.conf.d/ file with credentials on the client machine so that apt could communicate with the server. Using basic auth URI (https://LOGIN:PASSWORD@apt.domain.name/os) also works with apt/wget/curl/browser.
Starting apt-proxy in docker with docker run -it --rm --name=apt-proxy -p 3142:3142 soulteary/apt-proxy --debian=https://LOGIN:PASSWORD@apt.domain.name/os/ shows no apparent errors during mirror benchmarking but running http_proxy=http://apt.local:3142 apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true update on client machine results in
Server log:
I am trying to set up a local caching proxy for a debian-based commercial system. The official repository is HTTPS only and requires basic auth.
I add a
/etc/apt/auth.conf.d/
file with credentials on the client machine so that apt could communicate with the server. Using basic auth URI (https://LOGIN:PASSWORD@apt.domain.name/os
) also works with apt/wget/curl/browser.Starting apt-proxy in docker with
docker run -it --rm --name=apt-proxy -p 3142:3142 soulteary/apt-proxy --debian=https://LOGIN:PASSWORD@apt.domain.name/os/
shows no apparent errors during mirror benchmarking but runninghttp_proxy=http://apt.local:3142 apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true update
on client machine results inServer log:
Is it a simple client configuration problem or there actually aren't easy ways to implement such a thing?
The text was updated successfully, but these errors were encountered: