Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5454

Tunneled connection entirely lost after Windows wakes up from sleep

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.3
    • Affects Version/s: None
    • Component/s: Compass, Connectivity
    • None
    • Environment:
      Windows 10 x64 19043.1466
    • 3
    • Not Needed
    • Iteration Xochimilco, Iteration Yonkers, Iteration Zanzibar, Iteration Barnacle

      Problem Statement/Rationale

      MongoDB compass reports lost SSH connection after I wake up my Windows laptop from sleep. No options to reconnect are offered.

      Steps to Reproduce

      Connect to a MongoDB from Compass using its built-in SSH tunnel

      Switch your PC to Sleep mode

      Wait a little for the connection to "die" (I did not experiment a lot to determine the amount of time, but you have to give it some time)

      Wake it up and try to use the MongoDB Compass instance (i.e. make it fetch some data throught the dead connection)

      Expected Results

      I'd expect the built-in SSH tunnel to be reinstated automatically, or at the very least to get some button for a manual attempt

      Actual Results

      A red message box is shown inside the data viewport with some low level message indicating an SSH tunnel failure.

      Additional Notes

      This issue poses a major usability problem for anyone routinely using the sleep mode and trying to continue their work afterwards. Like when you leave a bunch of tabs open with filters, projection and sorting options carefully crafted for some investigative task, and then you have to close them to re-establish the connection. It's a waste of time.

      Please ignore the "Non-genuine MongoDB" label in the screenshot. The problem looks the same with genuine installations.

        1. 2022-01-25_10-19-21.png
          2022-01-25_10-19-21.png
          28 kB
        2. image-2022-01-25-10-21-06-199.png
          image-2022-01-25-10-21-06-199.png
          46 kB
        3. image-2022-03-12-18-57-27-856.png
          image-2022-03-12-18-57-27-856.png
          64 kB

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            petrov.yegor@gmail.com Yegor Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: