https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
Bug ID: 62974 Summary: unknown internal_api_error_DBConnectionError should be handled Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
Execution time: 5552 seconds
Traceback (most recent call last): File "C:\pwb\compat\checkimages.py", line 1985, in <module> main() File "C:\pwb\compat\checkimages.py", line 1971, in main if Bot.checkStep(): File "C:\pwb\compat\checkimages.py", line 1709, in checkStep self.imageCheckText = self.image.get() File "C:\pwb\compat\wikipedia.py", line 769, in get expandtemplates=expandtemplates) File "C:\pwb\compat\wikipedia.py", line 845, in _getEditPage raise RuntimeError("API query error: %s" % data) RuntimeError: API query error: {u'servedby': u'mw1139', u'error': {u'info': u'Ex ception Caught: DB connection error: Too many connections (10.64.16.34)', u'*': u'', u'code': u'internal_api_error_DBConnectionError'}}
I do not know, what this error stands for. I propose just to retry.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal Version|core (2.0) |compat (1.0)
https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
Bawolff (Brian Wolff) bawolff+wn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bawolff+wn@gmail.com
--- Comment #1 from Bawolff (Brian Wolff) bawolff+wn@gmail.com ---
ception Caught: DB connection error: Too many connections (10.64.16.34)', u'*': u'', u'code': u'internal_api_error_DBConnectionError'}}
I do not know, what this error stands for. I propose just to retry.
It sounds like error means that back-end DB server was overloaded. Retrying is a good course of action.
https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #2 from John Mark Vandenberg jayvdb@gmail.com --- core detects this in api.py and retries. see r4984 & r4580
https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
--- Comment #3 from John Mark Vandenberg jayvdb@gmail.com --- That should be:
https://www.mediawiki.org/wiki/Special:Code/pywikipedia/4984 https://www.mediawiki.org/wiki/Special:Code/pywikipedia/4580
https://bugzilla.wikimedia.org/show_bug.cgi?id=62974
--- Comment #4 from John Mark Vandenberg jayvdb@gmail.com --- *** Bug 64991 has been marked as a duplicate of this bug. ***
pywikipedia-bugs@lists.wikimedia.org