Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Alteryx API not working behind Reverse_Proxy

john_smith_ca
5 - Atom

Hi,
I deployed Alteryx Server behind Load Balancer and configured it too as a Reverse Proxy, else there is an option for SSL off-loading.
The Public URL for Ex: https://alteryx.johnsmithca.com

Gallery is working perfectly within url: https://alteryx.johnsmithca.com/gallery


Request and response behavior as below:

 

 

{ "data": null,
"exceptionName": "UnauthorizedException",
"innerExceptionMessage": "",
"message": "The provided signature(oauth_signature) is invalid." }

 

 

 

I know that the error because of a mismatch between oath_signature:

  • One has been created on client side
  • Other has been created on server side

And that happened because of difference between public url that the client requested (https://alteryx.johnsmithca.com/galler) and the Base_URL on Server side(http://localhost:80/gallery).
When I tried to change the base url to public url, it didn't work at all, even gallery not worked too.

The normal behavior (Expected) is deploying the server on localhost and it becomes the internal url over http, and the external one become public domain over https, and reverse proxy (Load balancer) handle the termination of SSL and pass the request over http to server, then return the response to client over https.

Question:
So, How to fix that error (invalid oath_signature) and working with Alteryx API behind Reverse Proxy? Is there any extra configuration within Alteryx or Load Balance (Reverse Proxy) to do to make it authenticates successfully?

2 REPLIES 2
joshuaburkhow
ACE Emeritus
ACE Emeritus

Hey @john_smith_ca 

 

What does your server setup look like? Do you have Gallery nodes? or just a single node? 

 

We have a LB tied to two of gallery nodes (which is where we handle the SSL). 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
john_smith_ca
5 - Atom

Hi @

I have a single node for Alteryx Server and Gallery, I'm using LB for Reverse Proxy to handle the SSL too.