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 Repository Manager
Talend Log Server
Talend SAP RFC Server
Talend CommandLine
Talend Data Stewardship
Talend JobServer
Talend Studio
Talend Artifact Repository
Talend Administration Center
Talend Project Audit
Talend Data Preparation
Talend Installer
Talend Activity Monitoring Console
Talend DQ Portal
Talend Runtime

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.

    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 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>
  3. To enable download from a local Nexus repository rather than the official Artifact Repository, 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.