h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 26 forks source link

Infinite reconnection to the server #420

Open Ariurn opened 3 years ago

Ariurn commented 3 years ago

How to reproduce the bug:

  1. Open the server
  2. Close the server
  3. Try to open the same server again The bug is that in the third step, the server will try to open endlessly until Atom is closed and reopened.

Notes that may help:

  1. The bug does not always play if another server is opened between steps 2 and 3.
  2. Sometimes, instead of restarting the Atom, changing the server configuration helps, after which the attempt to open the server is interrupted and it can be opened without problems.
  3. The connection to all servers is made using the same ssh-key.
Ariurn commented 3 years ago

Video of reproducing the bug: https://youtu.be/E3wWJSoz_vw

Ariurn commented 3 years ago

Dev log while reproducing the issue: issue.log Some moments, like IP or domain censored with phrase "censored"

UPD: I just realized that the bug is reproducible if you open the server immediately after closing it. If you wait 3-5 seconds between closing and opening the server, the bug is not reproduced.