The EditGroups tool currently returns a "502 Bad Gateway" when requesting its main page: https://editgroups.toolforge.org/ (or in fact any other page, as far as I can tell).
In my experience this happens regularly (not sure why). When the error is consistent I generally try to restart the service with webservice --backend kubernetes python3.7 restart.
When running this command, I currently get:
Traceback (most recent call last): File "/usr/local/bin/webservice", line 438, in <module> if job.get_state() != Backend.STATE_RUNNING: File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 464, in get_state pods = self._find_objs("pods", self.webservice_label_selector) File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 244, in _find_objs objs = self.api.get_objects(kind, selector=selector) File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 596, in get_objects version=K8sClient.VERSIONS[kind], File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 575, in _get r = self.session.get(**self._make_kwargs(url, **kwargs)) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='k8s.tools.eqiad1.wikimedia.cloud', port=6443): Max retries exceeded with url: /api/v1/namespaces/tool-editgroups/pods?labelSelector=tools.wmflabs.org%2Fwebservice-version%3D1%2Ctools.wmflabs.org%2Fwebservice%3Dtrue (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e5216cad0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Therefore I am unable to fix this outage.