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

Talend MDM Platform Installation Guide for Mac

EnrichVersion
6.5
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Data Stewardship
Talend Activity Monitoring Console
Talend Installer
Talend JobServer
Talend MDM Web UI
Talend DQ Portal
Talend Identity and Access Management
Talend Runtime
Talend Artifact Repository
Talend Data Preparation
Talend MDM Server
Talend Administration Center
Talend SAP RFC Server
Talend Repository Manager
Talend Studio
Talend ESB
Talend Log Server
Talend CommandLine

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.

Procedure

  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.
    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>
  2. 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>
    • 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>
  3. To enable download from a local Nexus repository rather than the official Talend Artifact Repository, you need to configure your proxy in your Maven configuration file settings.xml, for example:
    <localRepository>D:/talend_studio/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>

Results

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