Xqt added a comment.
See also T329327 <https://phabricator.wikimedia.org/T329327> This error still occures. I have 3 intances running eventstreams but got only one failing: Get new event from stream Store event in buffer with length 6 Get new event from stream Store event in buffer with length 7 Get new event from stream >>> buffer 983 Store event in buffer with length 8 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) WARNING: Connection error: 429 Client Error: Too Many Requests for url: https://stream.wikimedia.org/v2/stream/recentchange. Try to re-establish connection. 3059 read operations 2803 write operations Execution time: 1 days, 43376 seconds Read operation time: 42.4 seconds Write operation time: 46.3 seconds Script terminated by exception: ERROR: 429 Client Error: Too Many Requests for url: https://stream.wikimedia.org/v2/stream/recentchange (HTTPError) Traceback (most recent call last): File "D:\pwb\core\pwb.py", line 39, in <module> sys.exit(main()) ^^^^^^ File "D:\pwb\core\pwb.py", line 35, in main runpy.run_path(str(path), run_name='__main__') File "<frozen runpy>", line 291, in run_path File "<frozen runpy>", line 98, in _run_module_code File "<frozen runpy>", line 88, in _run_code File "D:\pwb\core\pywikibot\scripts\wrapper.py", line 516, in <module> main() File "D:\pwb\core\pywikibot\scripts\wrapper.py", line 500, in main if not execute(): ^^^^^^^^^ File "D:\pwb\core\pywikibot\scripts\wrapper.py", line 487, in execute run_python_file(filename, script_args, module) File "D:\pwb\core\pywikibot\scripts\wrapper.py", line 147, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File "D:\pwb\core\scripts\redirect.py", line 899, in <module> main() File "D:\pwb\core\scripts\redirect.py", line 895, in main bot.run() File "D:\pwb\core\pywikibot\bot.py", line 1686, in run for item in self.generator: File "D:\pwb\core\pywikibot\bot.py", line 1684, in <genexpr> self.generator = (item for item in self.generator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\pwb\core\scripts\redirect.py", line 366, in retrieve_double_redirects for event in stream: File "<frozen _collections_abc>", line 330, in __next__ File "D:\pwb\core\pywikibot\tools\collections.py", line 275, in send return next(self._started_gen) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\pwb\core\pywikibot\comms\eventstreams.py", line 326, in generator self.source = EventSource(**self.sse_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\sseclient.py", line 40, in __init__ self._connect() File "C:\Python311\Lib\site-packages\sseclient.py", line 53, in _connect self.resp.raise_for_status() File "C:\Python311\Lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://stream.wikimedia.org/v2/stream/recentchange CRITICAL: Exiting due to uncaught exception HTTPError: 429 Client Error: Too Many Requests for url: https://stream.wikimedia.org/v2/stream/recentchange TASK DETAIL https://phabricator.wikimedia.org/T308931 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Ottomata, Xqt, PotsdamLamb, Jyoo1011, Chlod, RBrounley_WMF, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Xinbenlv, Vacio, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Nirmos, mys_721tx, jayvdb, Masti, Alchimista, Krenair
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
