-
Notifications
You must be signed in to change notification settings - Fork 23
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
authenticating proxy not working #131
Comments
Hi @jorgheymans, Thank you for reporting this issue. I can confirm the problem: the URL to download the Node.js distribution uses HTTPS, making proxy basic credentials invisible for the proxy server. Apart from obvious workarounds such as disabling proxy authentication temporarily in your organisation for this client workstation, I don't see an acceptable solution until the fix is published. |
Thanks for the detailed reply ! Instead of doing the heavy lifting yourself, have you considered leveraging https://square.github.io/okhttp/ for this ? It supports this scenario out of the box. |
Yes, thank you! In fact, I'm not only considering doing that 'by hand'. I saw Apache HttpClient also supports this feature. But I'll take a look at the okhttp of course, because I'm also interested in a lighweight solution. |
Thank you, it works now ! Maybe a suggestion: in |
Hi, glad to read it's working now. I understand you would like the plugin to find its configuration automatically from predefined properties. I need more details about the fallback strategy you are introducing:
Thank you for your help! |
|
Hello, thank you. That's perfect, I create a dedicated issue for this improvement. |
update to latest version of frontend plugin which supports building from behind an authenticating proxy (siouan/frontend-gradle-plugin#131)
Using gradle 6.6.1, given config
when trying to build a project, behind the corporate authenticating proxy we get this:
In case it helps, here are the headers the proxy returns unauthenticated:
I know the proxy URL, port and credentials are correct as we're using it for many other things and usually after some fiddling it works for most things. Any ideas what could be happening here ?
The text was updated successfully, but these errors were encountered: