TheSandDoctor created this task. TheSandDoctor added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION I did not encounter this previously and have made no substantial code changes, but by only script hooked into the event stream keeps crashing with 504 timeout errors. The script in question: https://github.com/TheSandDoctor/Commons-image-corruption-detector/blob/master/rcwatcher.py Traceback (most recent call last): File "rcwatcher.py", line 65, in <module> main() File "rcwatcher.py", line 57, in main run_watcher() File "rcwatcher.py", line 41, in run_watcher for change in rc: File "/usr/local/lib/python3.8/site-packages/pywikibot/comms/eventstreams.py", line 291, in __iter__ self.source = EventSource(**self.sse_kwargs) File "/home/thesanddoctor/sseclient/sseclient.py", line 48, in __init__ self._connect() File "/home/thesanddoctor/sseclient/sseclient.py", line 63, in _connect self.resp.raise_for_status() File "/home/ccc/.local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 504 Server Error: Gateway Timeout for url: https://stream.wikimedia.org/v2/stream/recentchange TASK DETAIL https://phabricator.wikimedia.org/T247447 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: TheSandDoctor Cc: Aklapper, pywikibot-bugs-list, TheSandDoctor, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
