3 Replies Latest reply on Sep 14, 2018 4:00 AM by Carisa Chang

    Forward proxy with OpenID

    timeq

      Hi Guys,

       

      Need your help with an issue we are facing.

       

      I am trying to setup forward proxy with our Tableau Server on Linux instance. Updated /var/opt/tableau/tableau_server/.config/systemd/tableau_server.conf.d/20-proxy.conf with

      http_proxy and https_proxy entries (squid proxy endpoints). Routing through forward proxy works fine when we try to use Maps i.e outbound request are going to maps.tableau.com.

       

      However when we enables OpenID, outbound requests to redeem token(token_endpoint)are not going through forward proxy.

      Netstat.PNG

       

      Getting connection timed out errors.

       

      Caused by: java.net.SocketTimeoutException: connect timed out

              at java.net.PlainSocketImpl.socketConnect(Native Method)

              at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

              at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

              at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

              at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

              at java.net.Socket.connect(Socket.java:589)

              at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)

              at sun.net.NetworkClient.doConnect(NetworkClient.java:175)

              at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)

              at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)

              at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)

              at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)

              at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)

              at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)

              at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)

              at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)

              at com.nimbusds.oauth2.sdk.http.HTTPRequest.toHttpURLConnection(HTTPRequest.java:573)

              at com.nimbusds.oauth2.sdk.http.HTTPRequest.send(HTTPRequest.java:595)

              at com.tableausoftware.domain.user.openid.OpenIDConnectHelper.sendHttpRequest(OpenIDConnectHelper.java:509)

              at com.tableausoftware.domain.user.openid.OpenIDConnectHelper.exchangeAuthenticationCodeForAccessToken(OpenIDConnectHelper.java:265)

       

      Could you provide some pointers on any additional setting changes that we need to make.