Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

saurabh_handa
New Contributor II

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
sureshqv
Esteemed Contributor III

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

hi,

I think its a browser problem.

saurabh_handa
New Contributor II

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

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
Honored Contributor III

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

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

shun_wong
New Contributor III

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

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
New Contributor II

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

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