Page MenuHomePhabricator

Feed isn't working
Closed, ResolvedPublic

Description

Many users have reported wm-bot's recent changes feed isn't working. The bot doesn't send any message about changes on the watched pages.

Event Timeline

Matiia created this task.Aug 11 2018, 2:27 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 11 2018, 2:27 AM
Matthewrbowker closed this task as Resolved.Aug 11 2018, 3:18 AM
Matthewrbowker claimed this task.
Matthewrbowker triaged this task as High priority.
Matthewrbowker added a subscriber: Matthewrbowker.

Saw the following in /opt/xmlrcs/nohup.out and restarted es2r.py. That seems to have fixed the feed, it immediately started reporting in #wm-bot again.

requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://stream.wikimedia.org/v2/stream/recentchange
Traceback (most recent call last):
  File "./es2r.py", line 18, in <module>
    for event in EventSource(url):
  File "build/bdist.linux-x86_64/egg/sseclient.py", line 39, in __init__
  File "build/bdist.linux-x86_64/egg/sseclient.py", line 52, in _connect
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 893, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://stream.wikimedia.org/v2/stream/recentchange
Terminated
Restricted Application added a project: User-Matthewrbowker. · View Herald TranscriptAug 11 2018, 3:18 AM