Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
saurabh_handa
Contributor III
Contributor III

QlikSense: Unable to access Hub outside server - "An error occurred"

I have already configured SAML authentication in Qlik Sense environment which is working fine if we access the url on the server itself. But when we try to access the url from outside server, it redirects to https://url/adfs/hub and a pop comes saying - "An error occurred"

FYI - i am using 3rd party signing certificate.


Things already tried:

Added domain name, server name in Host White list of Central and adfs virtual proxy settings.

5 Replies
Chanty4u
MVP
MVP

hi,

I think its a browser problem.

saurabh_handa
Contributor III
Contributor III
Author

Thanks for the reply. What do you mean by browser problem?

After doing some more troubleshooting, what i found is the issue with Amazon ELB web-socket handshake errors.

When i make an entery in local machine hosts file for resolving the DNS to IP, its working fine. This is the same reason it was working fine on server as well as we had an entry in hosts file.

Is it a know issue in Amazon ELB?

masked-websocket.png

shraddha_g
Partner - Master III
Partner - Master III

Have you whitelist Server IP and Server name under Virtual Proxy?

shun_wong
Partner - Contributor III
Partner - Contributor III

Hi Saurabh Handa,

I am having the same issues with Amazon ELB, would you be able to explain how to 

" make an entery in local machine hosts file for resolving the DNS to IP"

Thanks

saurabh_handa
Contributor III
Contributor III
Author

Hi Wong,

Are you able to access the url on server itself?

In my case, I was using ELB - Elastic Load Balancer in AWS with HTTP protocols.

ELB.png

BUT web sockets don't work with HTTP, you need to use TCP protocols in ELB.

You might also need to add whitelist Server IP and Server name under Virtual Proxy.

To add hosts file entry:

Go to C:\Windows\System32\drivers\etc\hosts file and add an entry as (IP address DNS)

e.g. 10.4.56.98 abc.xyz.com