You are not logged in.

#1 2018-02-11 22:33:16

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Most webpages timing out

I'm quite new to arch, I'm having some trouble at the moment accessing certain webpages within all browsers (Firefox, Chromium, Opera). All the sites below work when I boot into Windows, but not in Arch. I do not have any issues at present with pacman, and when I ping the sites I get a response. I've checked quite a few other posts on this forum and others relating to this issue and cannot seem to find any way of fixing this.

So far I have tried:

  • Setting MTU to different settings (It's at 1500 but tried 1400, 1300, 1200, 1436 with no luck)

  • Disabling IPv6 in Firefox

  • Setting DNS servers to 8.8.8.8 and 8.8.4.4

Here are some examples of pages that do not work:

  • github.com

  • theguardian.com

  • askubuntu.com

Here are some examples of pages that do work:

  • google.com

  • archlinux.org

  • wikipedia.org

  • youtube.com

Is anyone able to give me a hand? Sorry, I've trawled through this forum and others and hit a brick wall.

EDIT: Also it just failed when retrieving a source on the command makepkg -s:

==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading kcm-ufw.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:34 --:--:--     0curl: (7) Failed to connect to github.com port 443: Connection timed out
==> ERROR: Failure while downloading https://github.com/youngunix/kcm-ufw/archive/master.zip

Last edited by Seraphic8X (2018-02-12 01:11:21)

Offline

#2 2018-02-12 11:18:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/nul

Offline

#3 2018-02-12 13:09:06

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

seth wrote:
curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/nul

Do you want me to see if that works? That's not really the main problem, the main issue is that most web pages don't work. Once I get home from work I'll let you know.

Offline

#4 2018-02-12 13:12:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

It'll pass you more information on *what* does not work.
Your list is too inconclusive, but there's at least github and askubuntu have DigiCert certificates.

Offline

#5 2018-02-12 21:09:10

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

Here is the result when I run curl:

$ curl -v http://github.com/youngunix/kcm-ufw/archive/master.zip
*   Trying 192.30.253.112...
* TCP_NODELAY set
* connect to 192.30.253.112 port 80 failed: Connection timed out
*   Trying 192.30.253.113...
* TCP_NODELAY set
* After 83482ms connect time, move on!
* connect to 192.30.253.113 port 80 failed: Connection timed out
* Failed to connect to github.com port 80: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to github.com port 80: Connection timed out

Offline

#6 2018-02-12 21:11:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip

(Though http/80 should be 301, but the test really doesn't mean anything)

Last edited by seth (2018-02-12 21:12:10)

Offline

#7 2018-02-12 21:28:18

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip
*   Trying 192.30.253.113...
* TCP_NODELAY set
* connect to 192.30.253.113 port 443 failed: Connection timed out
*   Trying 192.30.253.112...
* TCP_NODELAY set
* After 83812ms connect time, move on!
* connect to 192.30.253.112 port 443 failed: Connection timed out
* Failed to connect to github.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to github.com port 443: Connection timed out

Same on 443.

Offline

#8 2018-02-12 21:48:58

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Most webpages timing out

(...super stupid question...)

Is the date and time accurate in Arch Linux?

What version of Firefox are you using?

Offline

#9 2018-02-12 21:57:24

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

drcouzelis wrote:

(...super stupid question...)

Is the date and time accurate in Arch Linux?

What version of Firefox are you using?

58.02, the issues occur in Chromium and Opera also.

It's okay! The date and time is correct.

Offline

#10 2018-02-12 21:57:27

loqs
Member
Registered: 2014-03-06
Posts: 18,910

Re: Most webpages timing out

Is sysctl net.ipv4.tcp_congestion_control set to bbr or cubic if bbr try setting it to cubic just to rule that out.

Offline

#11 2018-02-12 22:07:17

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

loqs wrote:

Is sysctl net.ipv4.tcp_congestion_control set to bbr or cubic if bbr try setting it to cubic just to rule that out.

It's currently set to cubic, I'll try BBR and let you know!

net.ipv4.tcp_available_congestion_control = cubic reno

Offline

#12 2018-02-12 22:10:18

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

Nope, no luck there.

net.ipv4.tcp_available_congestion_control = bbr cubic reno

Offline

#13 2018-02-13 10:19:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

bbr is actually the known troublemaker, so rather unset that again.

Can you reach those urls through a proxy? Do you maybe even use a proxy already?

HTTPS_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null

Offline

#14 2018-02-15 18:24:32

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

seth wrote:

bbr is actually the known troublemaker, so rather unset that again.

Can you reach those urls through a proxy? Do you maybe even use a proxy already?

HTTPS_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null

Sorry about the delay, I've had a busy couple of days. I've just run curl through the proxy and it still didn't work sad

I don't use a proxy either. This is so frustrating because I've finally got into Arch after fiddling with it and giving up (I use a laptop with Optimus which is rather frustrating in itself!)

Here's the output:

$ _PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 192.30.253.113...
* TCP_NODELAY set
  0     0    0     0    0     0      0      0 --:--:--  0:02:11 --:--:--     0* connect to 192.30.253.113 port 443 failed: Connection timed out
*   Trying 192.30.253.112...
* TCP_NODELAY set
  0     0    0     0    0     0      0      0 --:--:--  0:03:35 --:--:--     0* After 83909ms connect time, move on!
* connect to 192.30.253.112 port 443 failed: Connection timed out
* Failed to connect to github.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to github.com port 443: Connection timed out

Offline

#15 2018-02-15 18:55:28

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Most webpages timing out

I think it would be sane to post everythin related to your network setup: network type, network manager if any otherwise your manual configuration, your iptables or similar if any...

Offline

#16 2018-02-15 19:47:08

loqs
Member
Registered: 2014-03-06
Posts: 18,910

Re: Most webpages timing out

_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null

_PROXY is not listed in the curl man page as an environment option it uses.  http_proxy is for http connections only but the protocol specified is https

Offline

#17 2018-02-15 19:59:14

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

iptables:

$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

/etc/hosts:

# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1       localhost.localdomain   localhost
::1             localhost.localdomain   localhost
127.0.1.1       daedalus.localdomain    daedalus

ip link (I'm wireless on wlp5s0:

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 20:47:47:72:52:20 brd ff:ff:ff:ff:ff:ff
3: wlp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 4c:34:88:ec:d9:d4 brd ff:ff:ff:ff:ff:ff

Please let me know anything else handy to show you guys.

Offline

#18 2018-02-15 20:00:35

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

loqs wrote:
_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null

_PROXY is not listed in the curl man page as an environment option it uses.  http_proxy is for http connections only but the protocol specified is https

Sorry there, typo. Either way it timed out.

Offline

#19 2018-02-15 20:02:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

"ip route"?

Edit: adding to that, does it work on enp4s0, ie. the wired connection?

Last edited by seth (2018-02-15 20:02:59)

Offline

#20 2018-02-15 20:07:18

loqs
Member
Registered: 2014-03-06
Posts: 18,910

Re: Most webpages timing out

Seraphic8X wrote:
loqs wrote:
_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null

_PROXY is not listed in the curl man page as an environment option it uses.  http_proxy is for http connections only but the protocol specified is https

Sorry there, typo. Either way it timed out.

Yes it timed out but as

$ _PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 192.30.253.113...
* TCP_NODELAY set
  0     0    0     0    0     0      0      0 --:--:--  0:02:11 --:--:--     0* connect to 192.30.253.113 port 443 failed: Connection timed out
*   Trying 192.30.253.112...
* TCP_NODELAY set
  0     0    0     0    0     0      0      0 --:--:--  0:03:35 --:--:--     0* After 83909ms connect time, move on!
* connect to 192.30.253.112 port 443 failed: Connection timed out
* Failed to connect to github.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to github.com port 443: Connection timed out

shows curl never attempted to connect to the proxy because that environment variables were incorrect.  Nothing can be known if proxy use works on your system from the test as proxy use was never attempted.
Edit:
Example of a failed proxy attempt ( this is not meant to be copied )

$ ALL_PROXY=127.0.0.1:8000 curl -v https://github.com
* Rebuilt URL to: https://github.com/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* connect to 127.0.0.1 port 8000 failed: Connection refused
* Failed to connect to 127.0.0.1 port 8000: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 8000: Connection refused

Last edited by loqs (2018-02-15 20:09:00)

Offline

#21 2018-02-15 20:08:52

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

seth wrote:

"ip route"?

Edit: adding to that, does it work on enp4s0, ie. the wired connection?

I know it sounds odd but I don't have physical access to the router, I share a connection with my neighbour and use a wireless repeater. Keep in mind this does not affect windows or any other devices.

ip route:

default via 192.168.0.1 dev wlp5s0 proto dhcp metric 600 
192.168.0.0/24 dev wlp5s0 proto kernel scope link src 192.168.0.46 metric 600

Offline

#22 2018-02-15 20:14:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Most webpages timing out

Interesting.

tracepath github.com

Also clarify the typo thing, as loqs pointed out your first post is not from a proxy attempt, so you would have to have tried it with the correct environment variable afterwards.

Offline

#23 2018-02-15 20:18:35

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

seth wrote:

Interesting.

tracepath github.com

Also clarify the typo thing, as loqs pointed out your first post is not from a proxy attempt, so you would have to have tried it with the correct environment variable afterwards.

Sorry, I had tried it earlier with the same result. Just ran it again, here's the result:

$ HTTPS_PROXY=35.189.86.114:3128 http_proxy=35.189.86.114:3128 curl -v https://github.com/youngunix/kcm-ufw/archive/master.zip > /dev/null
*   Trying 35.189.86.114...
* TCP_NODELAY set
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0* connect to 35.189.86.114 port 3128 failed: Connection timed out
* Failed to connect to 35.189.86.114 port 3128: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to 35.189.86.114 port 3128: Connection timed out

Offline

#24 2018-02-15 20:20:41

Seraphic8X
Member
From: United Kingdom
Registered: 2018-02-11
Posts: 19

Re: Most webpages timing out

$ tracepath github.com
 1?: [LOCALHOST]                      pmtu 1500
 1:  SkyRouter.Home                                       98.417ms 
 1:  SkyRouter.Home                                      105.216ms 
 2:  no reply
 3:  be456.pr2.thlon.isp.sky.com                          78.866ms asymm  4 
 4:  lag-102.ear1.London1.Level3.net                      97.500ms 
 5:  no reply
 6:  no reply
 7:  no reply
 8:  no reply
 9:  no reply
10:  no reply
11:  no reply
12:  no reply
13:  no reply
14:  no reply
15:  no reply
16:  no reply
17:  no reply
18:  no reply
19:  no reply
20:  no reply
21:  no reply
22:  no reply
23:  no reply
24:  no reply
25:  no reply
26:  no reply
27:  no reply
28:  no reply
29:  no reply
30:  no reply
     Too many hops: pmtu 1500
     Resume: pmtu 1500

Offline

#25 2018-02-15 20:25:32

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Most webpages timing out

What network type (e.g. vpn or simple xdsl connection...) and which network manager (NetworkManager, netctl, wpa_supplicant + dhcp...), but also:

cat /etc/resolv.conf
cat /etc/nsswitch.conf
dig google.com
dig github.com

Note: to use dig you have to install bind.

Offline

Board footer

Powered by FluxBB