When working on a remote project behind a proxy server with basic
authentication, you need to complete some specific settings in your Talend Studio to enable a secure connection with
the remote Talend Administration Center.
Procedure
-
In your Talend Studio, select from the menu to open the Preferences window, expand the nodes, and define your proxy settings.
Alternatively, or if you are using
Talend CommandLine, set your proxy by adding
the following lines to the
.ini file under
the root of the Studio installation
directory:
-Dhttp.proxySet=true
-Dhttp.proxyHost=<proxy_server_host>
-Dhttp.proxyPort=<proxy_server_port>
-Dhttp.nonProxyHosts=localhost
-Dhttp.proxyUser=<proxy_server_user>
-Dhttp.proxyPassword=<proxy_server_password>
-Dhttps.proxyHost=<proxy_server_host>
-Dhttps.proxyPort=<proxy_server_port>
-Dhttps.proxyUser=<proxy_server_user>
-Dhttps.proxyPassword=<proxy_server_password>
-
Depending on whether you are going to work on an SVN or a Git
project, do the following:
-
If you need to work on an SVN project,
define the following properties in the file ~/.subversion/servers:
http-proxy-host = <proxy_server_host>
http-proxy-port = <proxy_server_port>
http-proxy-username = <proxy_server_username>
http-proxy-password = <proxy_server_password>
Apache Subversion is deprecated from 7.3.1 R2021-08 release onwards
-
If you need to work on a Git project, update the
.gitconfig file as follows:
git config --global http.proxy http://<git_username>:<git_password>@<proxy_server_host>
git config --global https.proxy http://<git_username>:<git_password>@<proxy_server_host>
Results
After restarting your
Talend Studio, you will be able to connect to
Talend Administration Center via a proxy server with basic
authentication.