django-push-notifications
was working with both sandbox and production certificates. But since yesterday it is failing with following errors.
SSLError: [Errno 1] _ssl.c:510: error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version
No change in our code or our servers. Any ideas, why it has stopped working.
UPDATE
OpenSSL 1.0.1f 6 Jan 2014 Ubuntu: 14.04
I upgraded to OpenSSL 1.1.1a 20 Nov 2018 but same results.
I also checked TLS version supported by my python using following and got "TLS 1.3".
python -c "import requests; print(requests.get('https://www.howsmyssl.com/a/check', verify=False).json()['tls_version'])"
Looks like it was an apple server issue. And it has been resolved now. Push notifications are now working as expected.