Proxy fails when using HTTP CONNECT (E.G. HTTPS via a HTTP only proxy) #2259
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
release-please fails when trying to connect to a HTTP only proxy via HTTP CONNECT
See:
release-please/src/github.ts
Lines 226 to 231 in 08331fa
It would probably make sense just to take the whole proxy URL (E.G. http://my-proxy:80) and apply it to the HTTP agent instead of making assumptions about the users environment?
Happy to raise a PR for this 🙂
Note: This would also require an update in the GitHub action to stop it splitting the proxy input and would probably therefore be a breaking change for both release-please and the action.
Environment details
release-please
version: 16.10.1Steps to reproduce
my-proxy:80
which only acceptshttp
connectionshttps
connection to the proxy.The text was updated successfully, but these errors were encountered: