Bryan Tong Minh schreef:
Hello,
I recently got a lot of lock timeouts when logging in via the API. Error message:
u'internal_api_error_DBQueryError', u"Exception Caught: A database error has occurred\nQuery: UPDATE `user` SET user_name = 'BryanBot', [private data] WHERE user_id = '65821'\nFunction: User::saveSettings\nError: 1205 Lock wait timeout exceeded; Try restarting transaction (10.0.0.101)\n"
The errors is always with 10.0.0.101.
The error seems pretty straightforward to me: the software is trying to get a lock on the user table and has to wait too long for that. Unless this is some kind of new structural problem at Wikimedia, you just have to retry your request and hope for the best.
Roan Kattouw (Catrope)