- Print
- DarkLight
- PDF
Web login from DEX to Console fails
- Print
- DarkLight
- PDF
Issue
When logging in from DEX to the Real-Time DX Console, the following error occurs:
"An error occurred while attempting to establish a web socket connection with DEX. Relaunch the Real-Time Console and try again."
This error occurs because DEX searches recursively for a port that might be unavailable. First it searches for port 45357, and then searches randomly from ports 49152-65535
Solution
You can configure the Real-Time DX Console to disable the currently enabled web socket login method. This change exposes the token in the URL address and sends the details to the website via URL query parameters, not via web socket. Instead of sending incoming requests to all network ports, they will be directed to a dedicated port with a specific IP address on your IP listen list.
Workaround
1. To verify that a specific IP address is on your IP listen list, open an elevated PowerShell window on the console machine and run the following command:
netsh http show iplisten
The relevant IP address should appear on your IP listen list.
To revert to the non-web socket login from the web socket login flow, you must define the following registry settings on the console machine:
Under
HKEY_LOCAL_MACHINE\SOFTWARE\Smart-X\ControlUp\Console\WebLogin
, add a new key namedWebLogin
.In
WebLogin
, add a new type REG_SZ string value namedLoginMethod
.In
LoginMethod
, add value data0
to disable web socket login.
Try to relaunch the console.