Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Like many of us, I live behind corporate proxy. In 7.0.1 the component installer works with proxy as expected. However, recently I tried to upgrade to 7.2.1 and utterly failed. I have proxy set at JVM level, at the application properties and in Java console. The component installer ignores all of it and still attempts direct connection. I verified this with Wireshark.
Log entries for the failure.
!ENTRY org.talend.platform.logging 1 0 2019-07-30 10:54:17.371
!MESSAGE 2019-07-30 10:54:17,362 INFO org.talend.librariesmanager.librarydata.LibraryDataService - org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.postgresqlostgresql
om:42.2.5 from/to talend (https://talend-update.talend.com/nexus/content/repositories/libraries/😞 Connection refused: connect
!ENTRY org.talend.platform.logging 1 0 2019-07-30 10:54:18.482
!MESSAGE 2019-07-30 10:54:18,473 INFO org.talend.librariesmanager.librarydata.LibraryDataService - org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact net.sourceforge.jtds:jtdsom:1.3.1-patch-20190523 from/to talend (https://talend-update.talend.com/nexus/content/repositories/libraries/😞 Connection refused: connect
Maybe there is a fourth way to set proxy that the LibraryDataService does respect?
I noted, that the "Update componets" part seems to respect the proxy set in Java console, not the one in the env/preferences. However, nothing seems to apply to the single component installers.
Hello,
We are able to get these two jar files from talend update site via browser. Does this issue only block these two jar files?
Best regards
Sabrina
Yes, I can get them from browser too, if I manage to guess the URL as browser respects proxy setup. I didn't have time to do that. And my project needs in full a bit more than those 2... It's more than a little bit painful to guess full url of each and manually download. The proxy ignoring is problem not with those jars, but that down loader that does not seem to care about any proxy settings at all.
Hello,
Not sure about how does your proxy setting look like. We will appreciate it a lot if you could give us some proxy setting screenshots on community. And please make sure there is no firewall or network issue.
Best regards
Sabrina
Hi,
My network blocks all non-proxy internet access. this is normal in corp intranet. Proxy is supposed to be used. All other ways that Talend Open Studio is accessing internet, including the connectivity check on startup and the "feature downloader" respect proxy setup and connect fine, however, this particular part, the artifact loader of the in-ui downloader attempts a direct connection. I have checked this with packet captures. All other Talend traffic goes to proxy, this particular function however does not. As my proxy configuration works for all other internet activity in Talend, it must work.
I have set proxy in total 3 places, the JVM proxy options, the Preferences and in the Java Control Panel.
The first two duplicate each other as I can see in Talend startup logs that the UI prefrences are used to override the http.proxy* and https.proxy* parameters.
However, the component downloader/updater that pops up from the menu indicated
did not work and still attempted direct connections with that done. At that point, I configured the java control panel (picture below) with proxy instead of browser settings (there's apparently a known issue, that if the browser in turn is configured with PAC script that does not cascade to the java applications). This made the addional packages installer go to proxy, but fail to authenticate at proxy as it seems that proxy use method does not authenticate properly with windows integrated security for whatever reason. That I solved with my proxy managers and got to work.
With that out of the way only the in UI component downloader is left. With this there is nothing that can be done on proxy side as these artifact inventory info requests never go to proxy. Despite proxy being configured in any imaginable way and everything else using the proxy, it still does direct connection and fails...
In short, the artifact library access in org.talend.librariesmanager.librarydata.LibraryDataService class does HTTPS requests for POMs ignoring proxy. This I can not fix.
Hi,
I am facing the very exact same issue.
I would very much appreciate, if Talend could provide a detailed manuel on "how to set up a proxy connection in corporate environment". Including authentication issues, such as "NTLM", ...
best regards,
Chris
Hello @schnech1,
There is no such a detailed manual on "how to set up a proxy connection in corporate environment" as the corporate environment is complex and uncertain.
Are you getting credential problem when configuring proxy setting?
Best regards
Sabrina