Skip to content

Adding http:// proxy like in apt-cacher-ng fails #60

Description

@afbjorklund

When setting the proxy as the server address, there is an error:

http: proxy error: failed to execute request after retries: unsupported protocol scheme ""

So when getting such a request, it should add http:// and drop /

https://www.unix-ag.uni-kl.de/~bloch/acng/html/config-servquick.html#config-client


Replace all mirror hostnames with cachinghost/hostname in sources.list, so
deb http://ftp.uni-kl.de/debian etch main
should now become:

deb http://192.168.0.17:3142/ftp.uni-kl.de/debian etch main
(assuming that CacheServerIp is 192.168.0.17 and the service port is 3142).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions