quackduck / devzat

The devs are over here at devzat, chat over SSH!
MIT License
3.54k stars 129 forks source link

Abnormal exit prevents users from logging out #228

Closed xnz233 closed 1 month ago

xnz233 commented 1 month ago

Thank you to the author for developing such interesting software!

Perhaps it was due to my improper operation, I found that when I accidentally disconnected the Internet, my user was not logged off. Therefore, when I connect next time, it prompts me that my nickname is already used, so I must change my nickname. Screenshot_20240805_180138

I have tried multiple times and it has always been like this.This problem should be easy to reproduce.

Skydrgon commented 1 month ago

Sometimes when I enter a command, he gets stuck and prevents me from exiting with the exit command, which I encounter when I force close the ssh client and reopen it. It's going to be quite a while before he lets me log back in using that nickname. It was able to retain the colour I had configured, I'm not sure if it's the same id. I can't use the nick command to change my nickname back to what I want until the old "me" is erased.

I've described the phenomenon I've encountered, and hope it's of some help!

edit: One logs in and out repeatedly and then I can't type the cd command.But this time I did get ejected and when I re-entered there was no nickname taking over

Arkaeriit commented 1 month ago

@xnz233 This isn't a Devzat issue, this is a SSH client issue. If you SSH to a normal computer and have an internet issue, you will be stuck in a similar fashion.

@Skydrgon If you connect to Devzat with a flaky internet connection, you will get stuck and won't be able to properly logout. To fix your nickname issue, you can use the command kick <your nickname> to kick your old self out and be able to take back your nickname.

xnz233 commented 1 month ago

@Arkaeriit Thank you for your response. in fact, The problem I meet is same to Skydrgon .I will close this issue.

Skydrgon commented 1 month ago

Thank you for your replies!