td icon indicating copy to clipboard operation
td copied to clipboard

telegram-tdlib - Login error: Authentication error: code 400 (Can't lock file "/var/lib/bitlbee/purple/user/tdlib/+n/td.binlog", because it is already in use by current program)

Open dchmelik opened this issue 3 months ago • 1 comments

Whenever trying to connect from one of my libpurple (BitlBee, Pidgin) instances, it says: telegram-tdlib - Login error: Authentication error: code 400 (Can't lock file "/var/lib/bitlbee/purple/user/tdlib/+n/td.binlog", because it is already in use by current program). I deleted it then was able to log back in. It happened again but deleting it didn't help this time. Mostly I use BitlBee on my GNU/Linux server which was down, so used it on my PC a while, and then built new PC. Now I can't login at all except on cellular telephone or desktop personal computers.

dchmelik avatar Sep 22 '25 01:09 dchmelik

The error means that the directory is being used by the same program. Likely, there is a logic error in the program's code, which causes opening of the same account twice.

levlam avatar Sep 22 '25 20:09 levlam