EionRobb / purple-mattermost

A libpurple/Pidgin plugin for Mattermost
GNU General Public License v3.0
93 stars 23 forks source link

socket connection problem with login #134

Open hrishavkmr opened 3 years ago

hrishavkmr commented 3 years ago

the issue is when i try to login with wrong password, the connection fails and i get the login error which is expected. image After this, even if i enter the correct password, the login fails and i get the following error image Error in the debug window in second case(Bad username/password) socket: invalid state: 3 (should be: 2)

After i restart the pidgin everything works fine.

EionRobb commented 3 years ago

Hmm strange.

If you wait >60 seconds before re-enabling, does it go through successfully?

hrishavkmr commented 3 years ago

No Tested with a https server, works fine. the issue is only with http server. i looked into the code. In second case(Bad Username/password error), the file descriptor(fd) value here is 0.