Web login from DEX to Console fails
    • Dark
      Light
    • PDF

    Web login from DEX to Console fails

    • Dark
      Light
    • PDF

    Article summary

    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.

    1. 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:

      1. Under HKEY_LOCAL_MACHINE\SOFTWARE\Smart-X\ControlUp\Console\WebLogin, add a new key named WebLogin.

      2. In WebLogin, add a new type REG_SZ string value named LoginMethod.

      3. In LoginMethod, add value data 0 to disable web socket login.

    2. Try to relaunch the console.


    Was this article helpful?