Originally created by @rohan-datar on GitHub (Oct 21, 2024).
Currently, http proxies for only support a http://<host>:<port> scheme.
From the docs:
When specifying a proxy address, it must have scheme http, and may not contain anything other than a host and port.
Trying to proxy pkl packages through something like Artifactory Remote Repositories does not work as they add a path to the proxy url which is not supported and throws a Java exception when it attempts to resolve.
Allowing proxies to have a http://<host>:<port>/path/to/proxy would be very helpful
Originally created by @rohan-datar on GitHub (Oct 21, 2024).
Currently, http proxies for only support a `http://<host>:<port>` scheme.
From the docs:
> When specifying a proxy address, it must have scheme http, and may not contain anything other than a host and port.
Trying to proxy pkl packages through something like [Artifactory Remote Repositories](https://jfrog.com/help/r/jfrog-artifactory-documentation/remote-repositories) does not work as they add a path to the proxy url which is not supported and throws a Java exception when it attempts to resolve.
Allowing proxies to have a `http://<host>:<port>/path/to/proxy` would be very helpful
Pkl's HTTP proxy support is for CONNECT-based HTTP forward proxies. These work very differently from something like an Artifactory remote repo, which is a read-through caching reverse proxy.
Supporting mirroring via such a reverse proxy requires some additional handling and is being discussed in SPICE-0002.
@HT154 commented on GitHub (Oct 21, 2024):
Pkl's HTTP proxy support is for `CONNECT`-based HTTP forward proxies. These work very differently from something like an Artifactory remote repo, which is a read-through caching reverse proxy.
Supporting mirroring via such a reverse proxy requires some additional handling and is being discussed in [SPICE-0002](https://github.com/apple/pkl-evolution/pull/4).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rohan-datar on GitHub (Oct 21, 2024).
Currently, http proxies for only support a
http://<host>:<port>scheme.From the docs:
Trying to proxy pkl packages through something like Artifactory Remote Repositories does not work as they add a path to the proxy url which is not supported and throws a Java exception when it attempts to resolve.
Allowing proxies to have a
http://<host>:<port>/path/to/proxywould be very helpful@HT154 commented on GitHub (Oct 21, 2024):
Pkl's HTTP proxy support is for
CONNECT-based HTTP forward proxies. These work very differently from something like an Artifactory remote repo, which is a read-through caching reverse proxy.Supporting mirroring via such a reverse proxy requires some additional handling and is being discussed in SPICE-0002.
@bioball commented on GitHub (Oct 22, 2024):
Closing this, but feel free to follow or contribute to SPICE-0002 for your use case!