Td: 400 Can't lock file

Created on 3 May 2018  路  2Comments  路  Source: tdlib/td

Occures when I send setTdlibParameters (after receiving updateAuthorizationState with type of authorizationStateWaitTdlibParameters, of course).

[ 3][t 3][1525341790.876738548][Td.cpp:4633][!Td][&td_requests] Sending update: updateAuthorizationState {
  authorization_state = authorizationStateWaitTdlibParameters {
  }
}

[ 3][t 3][1525341800.785206556][Td.cpp:4663][!Td][&td_requests] Sending error for request 1: error { code = 400 message = "Can't lock file" }

There's no error when I change database_directory to another path (though old path worked well some time ago).

What could be the reason for such behaviour?

P.S. File permissions seem to be correct and are the same for both directories I mentioned.

Most helpful comment

It might be another instance of your application already running on that directory

All 2 comments

It might be another instance of your application already running on that directory

Yeah, there was a zombie-client which was locking file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isopen picture isopen  路  5Comments

L11R picture L11R  路  4Comments

Invision70 picture Invision70  路  3Comments

mossaudi picture mossaudi  路  3Comments

omkarnathsingh picture omkarnathsingh  路  4Comments