Configuring Talend Studio to enable connection with Talend Administration Center via a proxy server with basic authentication

Talend Big Data Platform Installation Guide for Windows

EnrichVersion
6.4
EnrichProdName
Talend Big Data Platform
task
Installation and Upgrade
EnrichPlatform
Talend Log Server
Talend Data Preparation
Talend CommandLine
Talend Repository Manager
Talend Data Stewardship
Talend DQ Portal
Talend Artifact Repository
Talend Studio
Talend Project Audit
Talend Installer
Talend SAP RFC Server
Talend Runtime
Talend JobServer
Talend Administration Center
Talend Activity Monitoring Console

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.

Note

This documentation provides settings for both HTTP and HTTPS proxy servers. You can make your own choice based on the type of your proxy server.

  1. In your Talend Studio, select Window > Preferences from the menu to open the [Preferences] window, expand the General > Network Connections nodes, and define your proxy settings.

  2. Open the .ini file under the root of the Studio installation directory, and add the following options:

    -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>
  3. 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 C:\Users\<user>\AppData\Roaming\Subversion\servers (assuming C: is the system drive):

      http-proxy-host = <proxy_server_host>
      http-proxy-port = <proxy_server_port>
      http-proxy-username = <proxy_server_username>
      http-proxy-password = <proxy_server_password>
    • 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>
  4. To enable download from Nexus, you need to configure your proxy in your Maven configuration file settings.xml, for example:

    <localRepository>D:/talend_stuio/configuration/.m2/repository</localRepository>
    <proxies>
        <proxy>
            <active>true</active>
            <id>http-proxy</id>
            <host>my_proxy_server</host>
            <port>8091</port>
            <protocol>http</protocol>
            <username>username</username>
            <password>password</password>
            <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts>
        </proxy>
        <proxy>
            <active>true</active>
            <id>https-proxy</id>
            <host>my_proxy_server</host>
            <port>8091</port>
            <protocol>https</protocol>
            <username>username</username>
            <password>password</password>
            <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts>
        </proxy>    	  
    </proxies>

After restarting your Talend Studio, you will be able to connect to Talend Administration Center via a proxy server with basic authentication.