Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth timeout when using custom OAuth client but not default client #1213

Open
chen4119 opened this issue Jan 22, 2024 · 1 comment
Open
Labels

Comments

@chen4119
Copy link

About You:
Name: Wan Chun Chen
Company: JP Morgan

We are developing a custom data connector that uses OAuth2 auth. If we configure the OAuth client as default in Tableau server (via settings -> OAuth Clients Registry). It works as expected. However if we configure a client as custom, we're seeing this error in the logs

com.tableausoftware.api.webclient.rest.WebClientRestService - Failed to add OAuth token
com.tableausoftware.domain.exceptions.InternalServerErrorException: com.tableau.microservices.status.service.ServiceInternalErrorException: connect timed out (errorCode = 0)

Looks like it's timing out when calling POST /token endpoint. Question is why did it work when the OAuth client is default? Both are hitting the same host. Is Tableau server handling custom OAuth client any differently than default OAuth client?

Our setup do require a proxy to hit the OAuth identity provider so the time out is likely a proxy issue but why can the default OAuth client properly use the proxy while custom OAuth client cannot?

We are running Tableau server 2023.3

@lukewrites
Copy link
Member

Internal tracking: W-14870470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants