Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Configuring SVN when proxy is involved

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Configuring SVN when proxy is involved

Last Update:

Feb 9, 2024 1:22:49 PM

Updated By:

Jamie_Gregory

Created date:

Apr 14, 2021 5:37:22 PM

Talend Version         6.1.1

Summary

Configuring SVN when proxy is involved.
Additional Versions6.2.1
Key wordssvn proxy tac
ProductTalend Data Integration
ComponentTalend Administration Center
Article TypeConfiguration
Problem DescriptionCustomer couldn't connect to a SVN server from the TAC ("URL cannot be reached") although he could connect from the same box outside Talend using wget.
Problem root causeMixing up the -Dhttp.proxyNNNN and -Dhttps.proxyNNNN JVM parameters. Initially only HTTPS, and then both HTTP and HTTPS.
Solution or Workaround

Even if you refer to HTTPS in the TAC > Settings > Configuration > Monitoring > AMC URL, for example https://host_name:9443/svn/talend661/, the JVM parameters have to be HTTP, NOT HTTPS:

 

-Dhttp.proxySet=true
-Dhttp.proxyHost=proxy_hostname
-Dhttp.proxyPort=port_number
-Dhttp.nonProxyHosts=domain_one|domain two...

If the above settings don't work, and your URL runs over HTTPS, then try using the HTTPS-based Java properties as well:

-Dhttps.proxySet=true
-Dhttps.proxyHost=proxy_hostname
-Dhttps.proxyPort=port_number

Somewhat oddly, the -Dhttps.nonProxyHosts=domain_one|domain two... property does not exist - the http.nonProxHosts setting will be used for both HTTP and HTTPS URLs.

 

To read more about these Java networking/proxy settings, see:

https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

 

To add the parameters to a Windows install, modify the setenv.bat file:

 

REM you will see the original line looks like this; this line stays
set "JAVA_OPTS=%JAVA_OPTS%  -Xmx2048m -Dfile.encoding=UTF-8"

REM then just add in the proxy parameters
set "JAVA_OPTS=%JAVA_OPTS%  -Dhttp.proxyHost=<proxy_hostname> -Dhttp.proxyPort=<port_number> etc..."

 

To add the parameters to a Linux / Unix install, modify the setenv.sh file (notice the $ instead of %s😞

 

# you will see the original line looks like this; this line stays
export JAVA_OPTS="$JAVA_OPTS -Xmx2048m -Dfile.encoding=UTF-8"

# then just add a new line that adds the proxy parameters
export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=<proxy_hostname> -Dhttp.proxyPort=<port_number> etc..."

 

Then restart TAC.

 

Windows:

C:\Talend\6.4.1\tac\stop_tac.bat;
C:\Talend\6.4.1\tac\start_tac.bat;

Linux / Unix:

C:\Talend\6.4.1\tac\stop_tac.sh;
C:\Talend\6.4.1\tac\start_tac.sh;

 

References

How to add proxy settings to TAC

Version history
Last update:
‎2024-02-09 01:22 PM
Updated by: