- Order by phone: 0800 033 8006
- Blog
- Coverage checker
- Store locator
on 10-22-2023 03:21 PM
Is anyone else occasionally getting a 'connection down' error from Chrome (or 'Secure Connection Failed' from Firefox) when changing page - if I hit refresh it works fine. At first I wondered if it was the site I was using but have noticed it on multiple different major websites over the past couple of months and not noticed it from other locations where I don't use Three Broadband so does seem to be related to the router/connection (this is via wired Ethernet too, so not a WiFi problem). I've tried changing DNS server in case that helps but no difference.
It mainly seems to happen when trying to first load a site or (annoyingly) at checkout when a different site is being loaded as part of the checkout process. It certainly doesn't happen everytime but does happen with reasonable frequency. I've also noticed I often get it when trying to pull/push from/to Github too and have to do so a number of times for it to work (browsing the Github website works fine).
05-16-2024 12:30 PM - edited 05-16-2024 12:43 PM
Weirdly both of those seem to be working OK for me in the browser. I did notice my connection went down for about 10 min last night but each one I'm trying this morning is working without a VPN active.
on 05-15-2024 07:56 AM
Ok, this might be a long post. I've been lurking here for a while hoping to see a resolution to this problem. As we've been asked to provide more information, I decided to do a bit of digging...
Firstly, I'm not a network engineer so bear that in mind.
I've been seeing the same issues connecting to a variety of sites since before Christmas. I don't think it's isolated to specific sites. I think all sites can experience this behaviour. I'm not 100% sure that it only affects https either. I've been seeing similar issues with plain http connections - I think https failures just have a more distinctive error.
I started testing connecting to Github with curl. I was getting failures around 0.5% of the time. Capturing the packets on the client (on Three BB), I was able to see a distinctive pattern which looked like the server was completing the 3-way handshake and then immediately sending FIN-ACK to close the connection while the client was starting the TLS Client Hello. I couldn't see any reason for this to happen when nothing was being changed between requests.
To dig further, I set up an https server running nginx on AWS with a lets encrypt cert. I was able to get the same failures about 0.5% of the time.
I decided to capture the packets on the client and on the server to compare them.
Some interesting things came to light:
What I think is happening is that something in the middle is intercepting the Client Hello, sending an ACK back to the client, then initiating the connection close by sending the FIN-ACK to the client, which responds to the server with FIN-ACK etc...
I'm not sure if this is a single bad configuration in a cluster of middleware/firewalls or if something in a request occasionally trips a rule that makes a firewall decide to end the connection.
@JonathanB I have the wireshark-compatible packet captures. Please let me know how you'd like me to send them to you.
on 05-15-2024 12:25 PM
I had something remarkably similar in my work life. It was due to a firewall in the middle that was inspecting traffic within the TLS stream and therefore acting as a TLS proxy. We had an issue with missing servers in the certificate's subject alternate name. The inbound connection established from internet to the firewall, but the onward tunnel never established correctly therefore the inbound was closed due to a timeout (the destination server just ignored invalid connection attempts).
Sounds like Three might have a certificate missing individual names or ip addresses of one or more of their proxy array servers.
on 05-15-2024 10:39 AM
Excellent detective work! 👍
on 05-15-2024 08:33 AM
This is amazingly insightful, thanks for posting
on 05-14-2024 04:06 PM
If anyone wants to check this issue, they can run this script I've done to check if a website is affected.
Bash and curl are required.
Run it as follows:
$ ./script.sh https://www.topcashback.co.uk
#!/bin/bash
check_ssl_error() {
response=$(curl -s -o /dev/null -w "%{errormsg}" "$1")
if [ -z "$response" ]; then
echo "Success";
else
echo "Error - $response";
fi
}
echo "---"
echo "Testing: $1";
echo "---"
fail=0
for i in $(seq -f "%02g" 01 20); do
result=$(check_ssl_error "$1")
if [ "$result" != "Success" ]; then
((fail++))
fi
echo "Attempt $i: $result"
sleep 0.5
done
echo "---"
echo "SSL Errors: $fail/20";
echo "---"
on 05-22-2024 11:10 PM
I've just enabled dev mode and enabled linux for windows, installed ubuntu but I seem to be getting the following error when running "./script.sh https://www.topcashback.co.uk".... any ideas?
I'm not familiar with linux much however
./script.sh https://www.topcashback.co.uk
./script.sh: line 2: $'\r': command not found
./script.sh: line 3: syntax error near unexpected token `$'{\r''
'/script.sh: line 3: `check_ssl_error() {
on 05-22-2024 11:41 PM
to answer myself - figured out, have to convert with dos2unix to get rid of carriage returns (how archaic for things to be so fussy 🙂
However - as of right now - I'm trying it and its not giving me errors - router has been not been rebooted and uptime of 43hours - so wonder if either coincidence, or the issue lesser later at night, or if something has changed over the past hour or so while I've been messing about - as at mo touch wood the websites i'm trying are working
on 05-16-2024 12:34 PM
Really useful script, thanks @wgen - the weird thing is trying it today I'm not getting the usual errors - it's as if something has changed. Is anyone else noticing this?
on 05-14-2024 04:27 PM
Thanks @wgen I've highlighted this feedback to our tech teams.
Mod tip! The author of a post can hit 'Accept as Solution', to highlight a reply that helped solved their query.