In the last few days my FireFox has been hanging while trying to load sites.
More specifically, I couldn't load Gmail (or any other google page except search). It just never finished loading the page.
At first I thought it was a problem with google. But after a while I realized it's not just a problem with google, but with any site that required me to sign in (i.e. Gmail, Office365, Facebook, etc) and in retrospect I realize it also effected my FTP client.
My immediate actions were to:
- clear cookies, (didn't help)
- clear cache (only helped until I tried to sign in again)
- clear all data (again, only helped and I signed in)
- clear all browser disable extensions and add-ons (didn't help)
- complete new profile (only helped until I tried to sign in)
- check other browser.
After asking dozens of questions I finally crafted the question correctly enough so google led me to this post. I found the problem was related to MTU (some thing that controls the size of your network packets.)
Solution:The solution almost everyone suggested is running the following code:
Where eth0 is the type of connection that you have and can vary from person to person. 1492 can be 1492,1454,1452 or 1460. There is also a graphical GUI guide.
sudo ifconfig eth0 mtu 1492 ifconfig | grep MTU
However this didn't solve my case. And although I was sure my problem was with MTU, all solution pointed to changing it from automatic to 1492 and that didn't work.
Finally I found a post which suggested to try and set it to something lower. Like a 1000. This finally solved my issues and I was able to sign in to sites again. BTW, this problem is not related only to Ubuntu.