Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API query failed: 503 Server Error: #47

Open
SpelunkerToday opened this issue Mar 8, 2022 · 2 comments
Open

API query failed: 503 Server Error: #47

SpelunkerToday opened this issue Mar 8, 2022 · 2 comments

Comments

@SpelunkerToday
Copy link

Traceback (most recent call last):
File "/data/project/copyvios/www/python/src/app.py", line 38, in inner
return func(*args, **kwargs)
File "/data/project/copyvios/www/python/src/app.py", line 103, in index
query = do_check()
File "./copyvios/checker.py", line 44, in do_check
_get_results(query, follow=not _coerce_bool(query.noredirect))
File "./copyvios/checker.py", line 58, in _get_results
page.get() # Make sure that the page exists before we check it!
File "/data/project/copyvios/git/earwigbot/earwigbot/wiki/page.py", line 587, in get
rvprop="content|timestamp", rvslots="main")
File "/data/project/copyvios/git/earwigbot/earwigbot/wiki/site.py", line 708, in api_query
return self._api_query(kwargs)
File "/data/project/copyvios/git/earwigbot/earwigbot/wiki/site.py", line 246, in _api_query
raise exceptions.APIError("API query failed: {0}".format(exc))
APIError: API query failed: 503 Server Error: Service Unavailable for url: https://en.wikipedia.org/w/api.php

@earwig
Copy link
Owner

earwig commented Mar 9, 2022

Not seeing this error now, so I assume it was an intermittent issue?

@SpelunkerToday
Copy link
Author

I assume it was. It happened often in the 6 hours before reporting. May be WMF servers under pressure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants