When downloading HTTPS resources (from internet hosts such as dl.google.com) on my local network I frequently get the following error:
error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
which makes it practically impossible to download anything via HTTPS.
The problem happens only when downloading relatively large files (i.e more than a few dozens of MB), not when browsing pages. Downloads randomly fail at some point, be it with a browser or with a command line tool such as curl/wget.
curl: (56) SSL read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0
I have the same issue on different machines (ubuntu & OS X), but only when they are on this network. Therefore I assume the problem is somewhere in my local network's infrastructure.
Result of search engine reseaches regarding this error message:
- In this question it's a server side bug specific to a particular host, which is not relevant for me, since I observed the issue on several major hosts (such as dl.google.com)
- I found issues specifically related to nodeJs, Apache Traffic Server and OpenSSL, but in my case the issue happens on different operating systems, and only when they are on that specific local network.