I've been hosting a script on PA for a pretty long time, but suddenly it started throwing an SSL error (and it definitely worked six days ago):
Is there any obvious reason for this to suddenly start happening now?..
Here's the full traceback:
2021-03-11 19:29:38,675: Error running WSGI application
2021-03-11 19:29:38,700: OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_record', 'decryption failed or bad record mac')]
2021-03-11 19:29:38,701: File "/usr/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__
2021-03-11 19:29:38,701: return self.wsgi_app(environ, start_response)
2021-03-11 19:29:38,701:
2021-03-11 19:29:38,701: File "/usr/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app
2021-03-11 19:29:38,701: response = self.handle_exception(e)
2021-03-11 19:29:38,701:
2021-03-11 19:29:38,701: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1741, in handle_exception
2021-03-11 19:29:38,701: reraise(exc_type, exc_value, tb)
2021-03-11 19:29:38,701:
2021-03-11 19:29:38,701: File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
2021-03-11 19:29:38,702: raise value
2021-03-11 19:29:38,702:
2021-03-11 19:29:38,702: File "/usr/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
2021-03-11 19:29:38,702: response = self.full_dispatch_request()
2021-03-11 19:29:38,702:
2021-03-11 19:29:38,702: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
2021-03-11 19:29:38,702: rv = self.handle_user_exception(e)
2021-03-11 19:29:38,702:
2021-03-11 19:29:38,702: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
2021-03-11 19:29:38,702: reraise(exc_type, exc_value, tb)
2021-03-11 19:29:38,702:
2021-03-11 19:29:38,703: File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
2021-03-11 19:29:38,703: raise value
2021-03-11 19:29:38,703:
2021-03-11 19:29:38,703: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
2021-03-11 19:29:38,703: rv = self.dispatch_request()
2021-03-11 19:29:38,703:
2021-03-11 19:29:38,703: File "/usr/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
2021-03-11 19:29:38,703: return self.view_functions[rule.endpoint](**req.view_args)
2021-03-11 19:29:38,703:
2021-03-11 19:29:38,703: File "/home/shlema/mysite/tech-eu/flask_app.py", line 40, in hello_world
2021-03-11 19:29:38,703: do_links()
2021-03-11 19:29:38,703:
2021-03-11 19:29:38,704: File "/home/shlema/mysite/tech-eu/techeufunc.py", line 91, in do_links
2021-03-11 19:29:38,704: cell_list = worksheet.range(work_range)
2021-03-11 19:29:38,704:
2021-03-11 19:29:38,704: File "/home/shlema/.local/lib/python3.6/site-packages/gspread/utils.py", line 398, in wrapper
2021-03-11 19:29:38,704: return method(self, *args, **kwargs)
2021-03-11 19:29:38,704:
2021-03-11 19:29:38,704: File "/home/shlema/.local/lib/python3.6/site-packages/gspread/models.py", line 687, in range
2021-03-11 19:29:38,704: data = self.spreadsheet.values_get(range_label)
2021-03-11 19:29:38,704:
2021-03-11 19:29:38,704: File "/home/shlema/.local/lib/python3.6/site-packages/gspread/models.py", line 191, in values_get
2021-03-11 19:29:38,704: r = self.client.request('get', url, params=params)
2021-03-11 19:29:38,704:
2021-03-11 19:29:38,705: File "/home/shlema/.local/lib/python3.6/site-packages/gspread/client.py", line 67, in request
2021-03-11 19:29:38,705: headers=headers,
2021-03-11 19:29:38,705:
2021-03-11 19:29:38,705: File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 525, in get
2021-03-11 19:29:38,705: return self.request('GET', url, **kwargs)
2021-03-11 19:29:38,705:
2021-03-11 19:29:38,705: File "/home/shlema/.local/lib/python3.6/site-packages/google/auth/transport/requests.py", line 450, in request
2021-03-11 19:29:38,705: **kwargs
2021-03-11 19:29:38,705:
2021-03-11 19:29:38,705: File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
2021-03-11 19:29:38,705: resp = self.send(prep, **send_kwargs)
2021-03-11 19:29:38,706:
2021-03-11 19:29:38,706: File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
2021-03-11 19:29:38,706: r = adapter.send(request, **kwargs)
2021-03-11 19:29:38,706:
2021-03-11 19:29:38,706: File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
2021-03-11 19:29:38,706: timeout=timeout
2021-03-11 19:29:38,706:
2021-03-11 19:29:38,706: File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
2021-03-11 19:29:38,706: chunked=chunked)
2021-03-11 19:29:38,706:
2021-03-11 19:29:38,706: File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
2021-03-11 19:29:38,707: six.raise_from(e, None)
2021-03-11 19:29:38,707:
2021-03-11 19:29:38,707: File "<string>", line 2, in raise_from
2021-03-11 19:29:38,707:
2021-03-11 19:29:38,707: File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
2021-03-11 19:29:38,707: httplib_response = conn.getresponse()
2021-03-11 19:29:38,707:
2021-03-11 19:29:38,707: File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
2021-03-11 19:29:38,707: response.begin()
2021-03-11 19:29:38,707:
2021-03-11 19:29:38,707: File "/usr/lib/python3.6/http/client.py", line 297, in begin
2021-03-11 19:29:38,707: version, status, reason = self._read_status()
2021-03-11 19:29:38,708:
2021-03-11 19:29:38,708: File "/usr/lib/python3.6/http/client.py", line 258, in _read_status
2021-03-11 19:29:38,708: line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
2021-03-11 19:29:38,708:
2021-03-11 19:29:38,708: File "/usr/lib/python3.6/socket.py", line 586, in readinto
2021-03-11 19:29:38,708: return self._sock.recv_into(b)
2021-03-11 19:29:38,708:
2021-03-11 19:29:38,708: File "/usr/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 300, in recv_into
2021-03-11 19:29:38,708: return self.recv_into(*args, **kwargs)
2021-03-11 19:29:38,708:
2021-03-11 19:29:38,708: File "/usr/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 285, in recv_into
2021-03-11 19:29:38,708: return self.connection.recv_into(*args, **kwargs)
2021-03-11 19:29:38,708:
2021-03-11 19:29:38,709: File "/usr/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1814, in recv_into
2021-03-11 19:29:38,709: self._raise_ssl_error(self._ssl, result)
2021-03-11 19:29:38,709:
2021-03-11 19:29:38,709: File "/usr/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error
2021-03-11 19:29:38,709: _raise_current_error()
2021-03-11 19:29:38,709:
2021-03-11 19:29:38,709: File "/usr/lib/python3.6/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
2021-03-11 19:29:38,709: raise exception_type(errors)