You are not logged in.

#1 2021-10-03 16:42:45

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

[SOLVED] Some Websites won't load completely like udemy or Amazon.

You guys can see what I'm talking about here. It's something related to time not being synced properly, but I don't know. It's only happening in Arch. In windows 10 or in android, they load completely. This had happened in gentoo and after enabling the chronyd service it stopped. But that didn't work in Arch. I tried with both chrony and ntp. I'm not able to watch udemy videos since last night. And amazon.com did work few days ago.

Thanks in advance guys.

Last edited by grim-reaper (2021-10-06 14:38:21)

Offline

#2 2021-10-03 16:52:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,686
Website

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

timedatectl

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-10-03 16:53:43

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

    ~  timedatectl                                                              ✔
               Local time: Sun 2021-10-03 22:22:28 IST
           Universal time: Sun 2021-10-03 16:52:28 UTC
                 RTC time: Sun 2021-10-03 16:52:28
                Time zone: Asia/Kolkata (IST, +0530)
System clock synchronized: yes
              NTP service: inactive
          RTC in local TZ: no
    ~  timedatectl set-ntp true                                                 ✔
==== AUTHENTICATING FOR org.freedesktop.timedate1.set-ntp ====
Authentication is required to control whether network time synchronization shall be enabled.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ====
    ~  timedatectl                                                  ✔  took 4s 
               Local time: Sun 2021-10-03 22:22:51 IST
           Universal time: Sun 2021-10-03 16:52:51 UTC
                 RTC time: Sun 2021-10-03 16:52:51
                Time zone: Asia/Kolkata (IST, +0530)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

No difference.

Last edited by grim-reaper (2021-10-03 16:54:46)

Offline

#4 2021-10-03 18:04:12

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

It's something related to time not being synced properly

How do you determine that? It looks like you lack access to some static CDN.

Try to wipe the browser cache and reload the page.

Offline

#5 2021-10-03 18:47:18

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

After wiping the browser's cache, I could play udemy videos's again but the website rendering shows no improvement. But thank you for that. I can atleast now continue with the lectures.
What could fix the rendering??

Offline

#6 2021-10-03 18:52:29

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

Check the web inspector (ctrl+shift+i)
I get the css from www.udemy.com and most images from s.udemycdn.com and img-c.udemycdn.com - do you and can you at least ping those domains?

Also make sure there's no intervening browser extension, eg. try to load the page in the por… "private" mode.

Offline

#7 2021-10-03 18:56:43

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

    ~  ping img-c.udemycdn.com                                              INT ✘
ping: img-c.udemycdn.com: Temporary failure in name resolution
    ~  ping img-c.udemycdn.com                                                2 ✘
ping: img-c.udemycdn.com: Temporary failure in name resolution
    ~  ping s.udemycdn.com                                                    2 ✘
PING s.udemycdn.com (104.18.169.12) 56(84) bytes of data.
64 bytes from 104.18.169.12 (104.18.169.12): icmp_seq=1 ttl=56 time=47.9 ms
64 bytes from 104.18.169.12 (104.18.169.12): icmp_seq=2 ttl=56 time=49.0 ms
64 bytes from 104.18.169.12 (104.18.169.12): icmp_seq=3 ttl=56 time=49.1 ms
64 bytes from 104.18.169.12 (104.18.169.12): icmp_seq=4 ttl=56 time=49.4 ms
^C
--- s.udemycdn.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 47.895/48.838/49.359/0.560 ms

I can't ping the second website.
No browser intervention. Same results in private tab.

One other website that I couldn't ping was the video source ig.

    ~  ping mp4-c.udemycdn.com                                      ✔  took 3s 
ping: mp4-c.udemycdn.com: Temporary failure in name resolution

Last edited by grim-reaper (2021-10-03 19:05:11)

Offline

#8 2021-10-03 19:01:08

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

I tried with the CSS sources in amazon.com

    ~  ping images-na.ssl-images-amazon.com                         ✔  took 3s 
ping: images-na.ssl-images-amazon.com: Temporary failure in name resolution
    ~  ping fls-na.amazon.com                                                 2 ✘
PING endpoint.prod.us-east-1.forester.a2z.com (52.205.212.236) 56(84) bytes of data.

.

The second source pinging got stuck there.

Offline

#9 2021-10-03 19:16:08

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

ping fls-na.amazon.com

doesn't respond for me either - it will just not echo ICMP, but "nmap fls-na.amazon.com" reveals that ports 80 and 440 are open.

Offline

#10 2021-10-03 19:44:56

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

How do we go from here? I tried adding the port numbers to the website but no changes in some or website not opening in some cases.

Offline

#11 2021-10-03 19:46:26

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

How do we go from here?

Did you try the browsers po… "private" mode?

Offline

#12 2021-10-03 19:48:22

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

Yeah no change.

Offline

#13 2021-10-03 19:54:13

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

Actually, I just checked with my mobile data hotspot. Both websites are now loading properly now. So it only happens with my WIFI. That's weird.

Offline

#14 2021-10-03 20:00:14

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

Router firewall? Proxy? VPN?
Can you open https://images-na.ssl-images-amazon.com … hL.css?xcp ?

Offline

#15 2021-10-04 06:46:05

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

No I can't open that website.

Offline

#16 2021-10-04 06:58:30

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

curl -v 'https://images-na.ssl-images-amazon.com/images/I/01JqOTGW4hL.css?xcp' > /dev/null

Offline

#17 2021-10-04 07:02:12

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

   ~  curl -v 'https://images-na.ssl-images-amazon.com/images/I/01JqOTGW4hL.css?xcp' > /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* Could not resolve host: images-na.ssl-images-amazon.com
* Closing connection 0
curl: (6) Could not resolve host: images-na.ssl-images-amazon.com

Offline

#18 2021-10-04 07:05:30

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

dig images-na.ssl-images-amazon.com
dig @8.8.8.8 images-na.ssl-images-amazon.com
nslookup images-na.ssl-images-amazon.com
ping -c1 images-na.ssl-images-amazon.com

Offline

#19 2021-10-04 07:09:24

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

    ~  dig images-na.ssl-images-amazon.com                                      ✔

; <<>> DiG 9.16.21 <<>> images-na.ssl-images-amazon.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59357
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 13, ADDITIONAL: 11

;; QUESTION SECTION:
;images-na.ssl-images-amazon.com. IN	A

;; ANSWER SECTION:
images-na.ssl-images-amazon.com. 8795 IN CNAME	m.media-amazon.com.
m.media-amazon.com.	31	IN	CNAME	c.media-amazon.com.
c.media-amazon.com.	20	IN	A	54.230.236.57

;; AUTHORITY SECTION:
com.			95613	IN	NS	g.gtld-servers.net.
com.			95613	IN	NS	f.gtld-servers.net.
com.			95613	IN	NS	c.gtld-servers.net.
com.			95613	IN	NS	h.gtld-servers.net.
com.			95613	IN	NS	e.gtld-servers.net.
com.			95613	IN	NS	j.gtld-servers.net.
com.			95613	IN	NS	i.gtld-servers.net.
com.			95613	IN	NS	k.gtld-servers.net.
com.			95613	IN	NS	b.gtld-servers.net.
com.			95613	IN	NS	l.gtld-servers.net.
com.			95613	IN	NS	m.gtld-servers.net.
com.			95613	IN	NS	a.gtld-servers.net.
com.			95613	IN	NS	d.gtld-servers.net.

;; ADDITIONAL SECTION:
a.gtld-servers.net.	4579	IN	A	192.5.6.30
b.gtld-servers.net.	112443	IN	A	192.33.14.30
c.gtld-servers.net.	46786	IN	A	192.26.92.30
d.gtld-servers.net.	46894	IN	A	192.31.80.30
e.gtld-servers.net.	112053	IN	A	192.12.94.30
f.gtld-servers.net.	47150	IN	A	192.35.51.30
g.gtld-servers.net.	44965	IN	A	192.42.93.30
h.gtld-servers.net.	45004	IN	A	192.54.112.30
i.gtld-servers.net.	47458	IN	A	192.43.172.30
j.gtld-servers.net.	45818	IN	A	192.48.79.30
k.gtld-servers.net.	47510	IN	A	192.52.178.30

;; Query time: 3 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Mon Oct 04 12:37:07 IST 2021
;; MSG SIZE  rcvd: 510
    ~  dig @8.8.8.8 images-na.ssl-images-amazon.com                             ✔

; <<>> DiG 9.16.21 <<>> @8.8.8.8 images-na.ssl-images-amazon.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55213
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;images-na.ssl-images-amazon.com. IN	A

;; ANSWER SECTION:
images-na.ssl-images-amazon.com. 21205 IN CNAME	m.media-amazon.com.
m.media-amazon.com.	25	IN	CNAME	c.media-amazon.com.
c.media-amazon.com.	25	IN	A	54.230.236.57

;; Query time: 56 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Oct 04 12:38:08 IST 2021
;; MSG SIZE  rcvd: 121
    ~  nslookup images-na.ssl-images-amazon.com                             INT ✘
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
images-na.ssl-images-amazon.com	canonical name = m.media-amazon.com.
m.media-amazon.com	canonical name = c.media-amazon.com.
Name:	c.media-amazon.com
Address: 54.230.236.57
Name:	c.media-amazon.com
Address: 2600:9000:2056:7e00:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:ae00:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:f800:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:9000:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:7000:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:8a00:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:b800:1d:d7f6:39cf:a761
Name:	c.media-amazon.com
Address: 2600:9000:2056:6600:1d:d7f6:39cf:a761
    ~  ping -c1 images-na.ssl-images-amazon.com                                 ✔
ping: images-na.ssl-images-amazon.com: Temporary failure in name resolution

Last edited by grim-reaper (2021-10-04 07:10:21)

Offline

#20 2021-10-04 07:17:52

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

cat /etc/nsswitch.conf
ps aux | grep resolved
resolvectl query images-na.ssl-images-amazon.com

In doubt, restart systemd-resolved.service

Offline

#21 2021-10-04 07:25:53

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

    ~  cat  /etc/nsswitch.conf                                                1 ✘
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files

publickey: files

hosts: files mymachines myhostname resolve dns
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files
    ~  ps aux | grep resolved                                                   ✔
    ~                                                                       0|1 ✘
    ~  resolvectl query images-na.ssl-images-amazon.com                     INT ✘
images-na.ssl-images-amazon.com: resolve call failed: Unit dbus-org.freedesktop.resolve1.service not found.

The second command didn't return anything.

I don't knowing if restarting the service worked or what but now both websites are loading properly. Do you know what might be the reason??

The curl and ping commands from above are now working.

Last edited by grim-reaper (2021-10-04 07:27:22)

Offline

#22 2021-10-04 07:31:26

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

1. did you "re-"start systemd-resolved? (It wasn't running so far)
2. How do you configure the network itfp?
3. Why did you remove "… resolve [!UNAVAIL=return] dns"

Offline

#23 2021-10-04 07:36:16

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

I don't know the answer to the first one. I hadn't checked the status before the restart command.

    ~  sudo systemctl status systemd-resolved                                                                                                                        ✔  took 6s 
● systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-10-04 12:54:26 IST; 13min ago
       Docs: man:systemd-resolved.service(8)
             man:org.freedesktop.resolve1(5)
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
   Main PID: 3772 (systemd-resolve)
     Status: "Processing requests..."
      Tasks: 1 (limit: 9407)
     Memory: 4.7M
        CPU: 272ms
     CGroup: /system.slice/systemd-resolved.service
             └─3772 /usr/lib/systemd/systemd-resolved

Oct 04 12:54:26 Arch systemd[1]: Starting Network Name Resolution...
Oct 04 12:54:26 Arch systemd-resolved[3772]: Positive Trust Anchors:
Oct 04 12:54:26 Arch systemd-resolved[3772]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Oct 04 12:54:26 Arch systemd-resolved[3772]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in>
Oct 04 12:54:26 Arch systemd-resolved[3772]: Using system hostname 'Arch'.
Oct 04 12:54:26 Arch systemd[1]: Started Network Name Resolution.
Oct 04 12:54:26 Arch systemd-resolved[3772]: wlp0s20f3: Bus client set default route setting: yes
Oct 04 12:54:26 Arch systemd-resolved[3772]: wlp0s20f3: Bus client set DNS server list to: 192.168.0.1
Oct 04 12:54:33 Arch systemd-resolved[3772]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server 192.168.0.1.
Oct 04 12:54:33 Arch systemd-resolved[3772]: Using degraded feature set UDP instead of UDP+EDNS0 for DNS server 192.168.0.1.

Maybe it did start after me restarting. Yeah I just enabled the service.So that means it wasn't starting of it's own.

I didn't configure anything of that sort.(itfp)

I did that following a post online where the person had the same problem as me. But it didn't have any effect. I'll put it back.

Last edited by grim-reaper (2021-10-04 07:43:11)

Offline

#24 2021-10-04 07:49:15

seth
Member
Registered: 2012-09-03
Posts: 24,049

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

I didn't configure anything of that sort.(itfp)

How did you install archlinux? What tutorial did you follow?

Offline

#25 2021-10-04 09:26:48

grim-reaper
Member
Registered: 2021-05-19
Posts: 70

Re: [SOLVED] Some Websites won't load completely like udemy or Amazon.

Following Archwiki. Like the only thing related to networking that I had to do was editing the /etc/hosts and /etc/hostname file and then install network manager and enable the NetworkManager service.

Last edited by grim-reaper (2021-10-04 09:28:24)

Offline

Board footer

Powered by FluxBB