'SSL3 issue, decryption failed

The full error msg is following,

error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

I encountered this issue in two (seemingly) unrelated settings, and wonder if this is a wide spread problem. How to fix it?

First, this happened when installing sublime text, and then when dropbox is trying to start.

On sublime text, i typed,

sudo add-apt-repository ppa:webupd8team/sublime-text-3;
sudo apt-get update;
sudo apt-get install sublime-text-installer;
sudo ln -s /usr/lib/sublime-text-3/sublime_text /usr/local/bin/sublime;

Details of the sublime install process is as follow,

Get:1 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/ trusty/main sublime-text all 2.0.2-1~webupd8~3 [9,670 B]
Fetched 9,670 B in 0s (29.1 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package sublime-text.
(Reading database ... 200988 files and directories currently installed.)
Preparing to unpack .../sublime-text_2.0.2-1~webupd8~3_all.deb ...
Downloading...

--2017-06-11 07:50:17--  
https://c758482.ssl.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2
Resolving c758482.ssl.cf2.rackcdn.com (c758482.ssl.cf2.rackcdn.com)... 23.60.73.100
Connecting to c758482.ssl.cf2.rackcdn.com (c758482.ssl.cf2.rackcdn.com)|23.60.73.100|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5662968 (5.4M) [application/x-bzip2]
Saving to: ‘Sublime Text 2.0.2 x64.tar.bz2’
0K ........ ..                                           12% 1.69M=0.4s

2017-06-11 07:50:18 (1.69 MB/s) - Read error at byte 699296/5662968 (error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac). Retrying.

The dropbox issue is after install from deb file using Ubuntu Software Center, I typed,

dropbox start -i

I saw,

Starting Dropbox...[Errno 1] _ssl.c:1429: error:1408F119:SSL 
routines:SSL3_GET_RECORD:decryption failed or bad record mac

Additional Info

This is a new install of ubuntu 14.04. Did a few apt-get update, and I've installed Anaconda 4.4.0. Nothing else.

Ubuntu 14.04 OpenSSL 1.0.2l 25 May 2017 Kernel : 3.19.0-33-generic



Solution 1:[1]

I have a fix, but that leaves any explanation even more mysterious. This problem occurred when I connected to the internet via wifi. (It's a home network without proxy.) The wireless modem (Actiontec C1000A) has been in use for at least a year.

The fix is, not to use wifi, but to connect directly to the modem with a network cable. Once connected, this SSL3 issue disappears.

Since I did not have this problem just few days ago, something might have been changed.

Could someone familiar with wireless technology explain what might have gone wrong.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 horaceT