3 Replies Latest reply on Jun 19, 2017 1:18 PM by Anup Dey

    Proxy options don't work with Salesforce connector

    Pranav K Novice

      Hi,

      Just wanted to point out that using proxy options in the Salesforce connector does not work (most surely an underlying library issue though). Following is the way I am setting the options in question.

       

       

      managedConnectionFactory.setProxyURL(config.get(SALESFORCE_PROXY_URL).toString());

      managedConnectionFactory.setProxyUsername(config.get(SALESFORCE_PROXY_USERNAME).toString());

      managedConnectionFactory.setProxyPassword(config.get(SALESFORCE_PROXY_PASSWORD).toString());

       

      When we try to connect to a proxy which is secured by an authentication, I get this error: Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

       

      However, this functionality works for the case when we disable the authentication on the proxy server. We have a case where we need to use the SF connector in a proxy configuration but see no way of going ahead. Have you heard of this issue/do you see a workaround by which SF connector would be able to support this?

       

      Thanks,

      Pranav