cancel
Showing results for 
Search instead for 
Did you mean: 
1

Ask

2

Reply

3

Solution

Intermittent web access issues

tsr2
2: Seeker
2: Seeker

My first post on this top seems to have been marked as spam, so I'll try again.
Recently I started having issues accessing certain websites, but others were just fine. I eventually narrowed it down, with some help to whether I was accessing them over HTTP or HTTPS. I access the majority of websites using HTTPS and that works fine, but if I have an old bookmark that uses HTTP it fails, e.g. trying to load google.com via HTTP fails but over https it works just fine. when it fails it waits for a while then I get the error message "The connection to the server was reset while the page was loading."
If I use a mobile hotspot instead of my home broadband the issue goes away.

Similarly a manual check for updates in Windows Update says "We couldn't connect to the update service. ", but it works fine if I use a mobile hotspot.

If I use a Linux box and "wget -d" I can see an HTTP get request, but it doesn't see a response.

My best guess is that something in the Vodafone network is blocking the response. It seems unlikely that Vodafone would block port 80, but I can't see what else it could be.

Has anyone else seen similar issues?

11 REPLIES 11

Restarting this thread as this happens to me too.

 

Changing DNS has no affect.

 

Restarting the router fixes the issue, but it still reoccurs every few months.

 

I'm a primarily Ubuntu user and this is a huge issue as system updates (apt) runs over http so fails when this problem occurs.

 

You can easily verify this issue for yourself by going to https://www.httpvshttps.com/ and checking http and https.

 

 

Cynric
16: Advanced member
16: Advanced member

@sjg10 apt should have https baked-in these days, but if your distro doesn't then this is for you (hopefully).

sudo apt install apt-transport-https

 

Scan and check your sources for "http" and edit them

grep -nrE '^[ \t]*deb[ \t]+' '/etc/apt'

 

Optionally blacklist http in ufw

sudo ufw deny out to any port 80
sudo ufw enable

 

Also If you specify https:// URLs in /etc/apt/sources.list and /etc/apt/sources.list.d/*, then APT will use HTTPS.