Tycho 4.0.1 Unable to read repository at https://download.eclipse.org/releases/latest behind proxy
I am behind a corporate proxy and tried to build the itp01 demo with Tycho 4. While the build succeeded with Tycho 3.0.5 and 2.7.5 with my proxy configuration in the maven settings, it seems that the proxy is ignored by tcho 4.0.1.
I'm having the same issue, however it does work some of the time
There is a (passing!) test for proxy support:
https://github.com/eclipse-tycho/tycho/blob/master/tycho-its/src/test/java/org/eclipse/tycho/test/TYCHO279HttpProxy/ProxySupportTest.java
so if anyone is able to reproduce the problem with that test it would help alot.
There is a (passing!) test for proxy support:
https://github.com/eclipse-tycho/tycho/blob/master/tycho-its/src/test/java/org/eclipse/tycho/test/TYCHO279HttpProxy/ProxySupportTest.java
so if anyone is able to reproduce the problem with that test it would help alot.
PR created that updates the testcase to emulate a corporate network with a proxy. Hopefully, you can use this to identify why tycho fails to use the configured proxy.
It turned out, that my proxy configuration is the problem.
It does not work with protocol specific configurations.
Working:
<proxies>
<proxy>
<id>Proxy</id>
<active>true</active>
<host>192.168.8.50</host>
<port>3128</port>
</proxy>
</proxies>
Not working:
<proxies>
<proxy>
<id>Proxy HTTP</id>
<active>true</active>
<protocol>http</protocol>
<host>192.168.8.50</host>
<port>3128</port>
</proxy>
<proxy>
<id>Proxy HTTPS</id>
<active>true</active>
<protocol>https</protocol>
<host>192.168.8.50</host>
<port>3128</port>
</proxy>
</proxies>