Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlik Sense Virtual Proxy Setup for Session Authentication via Postman

Hi,

I have,

     1. Qlik Sense Server setup in AWS.

     2. Access the management console at https://xyz.abc.qwe/qmc

     2. Admin account for QMC

     3.  User account for creating sheets which will displayed in a web application(remotely hosted) via iframe.

I'm try to setup a Qlik Sense Virtual Proxy for Session Authentication. I followed https://help.qlik.com/en-US/sense/September2018/Subsystems/ManagementConsole/Content/Sense_QMC/creat... for setting up the virtual proxy and modified following properties properties,

  • Identification - Prefix, Session cookie header name (X-Test-Qlik)
  • Authentication
    • Anonymous access mode - No anonymous user
    • Authentication method - Ticket
    • Windows authentication pattern - Blank
    • Authentication module redirect URI - Blank
  • Advanced
    • Host white list - IP of the server where my web application is hosted


I'm trying to create a session using the https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/ProxyServiceAPI/Content/Sense_P...,

URL - https://xyz.abc.qwe/qps/session

POST

BODY - {"UserDirectory": "XXXXXX","UserId": "yyyyyy", "Attributes":[],"SessionId": "asCreatedInMyApp"}


This configuration is not working. What am I missing? Any help is appreciated. Thanks!

3 Replies
ErikWetterberg

What happens? Do you get any error message? What does it say in the browser console?

Erik

Anonymous
Not applicable
Author

Hi Erik,

I get a '404 No rest method matches the incoming request' error.

Thanks,

Surya

Anonymous
Not applicable
Author

Hi Erik,

1. Opened port 4243 in the Windows Server firewall settings.

2. Initialized a node application using  https://github.com/flautrup/SessionAPITestModule for testing.

I'm now getting a 503 service unavailable error with the below configuration,

URL - https://{HOST}:4243/adv/qps/session?Xrfkey=0123456789abcdef

BODY - {
"UserDirectory": "XXXXXX",
"UserId": "XXX",
"Attributes":[],
"SessionId": "abc123456789xyz"
}

All the Qlik services are running fine according to the Windows Services utility and no errors in the proxy logs(LOCAL_MACHINE/ProgramData\Qlik\Sense\Log\Proxy\~)

Thanks!