You are not logged in.

#1 2020-12-30 09:53:39

absortio
Member
Registered: 2020-12-10
Posts: 12

Firefox didn't load any site.

Hello, I recently decided to try firefox but I encounter an issue.

The Issue:
When I try to browse ANY pages (google, youtube, this forum, etc.), It didn't load. There is no messages what so ever.
For example, when I try to browse google from the "New Page" page, it will try to load (the loading animation plays) then stays on the "New Page" page anyway.

What have I tried:
Changing firefox's proxy, and DNS settings,
Reinstall firefox,
Try firefox-developer edition,
Restart my PC.

But none of above works.
I tried asking someone, he said it could be 'certificate related', though I don't know what should I do about it.
Please help, and thanks for the attention!

EDIT:
- As a note, I've done something like editing my resolv.conf file in the past, but I'm certain that I restored it long time ago.
- Chromium works just fine.

Last edited by absortio (2020-12-30 09:57:35)

Offline

#2 2020-12-30 10:39:18

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Firefox didn't load any site.

You could try wiping your Firefox user profile. Maybe you've used Firefox in the past a long time ago and you still had an old profile from that time. That old profile perhaps had settings that somehow broke the new Firefox version.

The Firefox profiles are in ~/.mozilla/firefox/. You can just delete everything there to start from scratch. You can also run "firefox -P" to get to a "choose user profile" GUI.

Offline

#3 2020-12-30 14:09:41

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

Ropid wrote:

You could try wiping your Firefox user profile. Maybe you've used Firefox in the past a long time ago and you still had an old profile from that time. That old profile perhaps had settings that somehow broke the new Firefox version.

The Firefox profiles are in ~/.mozilla/firefox/. You can just delete everything there to start from scratch. You can also run "firefox -P" to get to a "choose user profile" GUI.

I did this but nothing change?
This raises my question whether firefox might not be fully responsible of this error or what. I could've messed up something else.

Offline

#4 2020-12-30 14:22:53

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

Re: Firefox didn't load any site.

In Firefox -> Preferences -> Network Settings,  check the settings for Configure Proxy Access to the Internet and Enable DNS over HTTPS.

Ctrl + Shift + E to load Network Inspector then attempt to connect to a site,  select a request -> Timings,  what stage does the request progress to?

Offline

#5 2020-12-31 03:01:13

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

loqs wrote:

In Firefox -> Preferences -> Network Settings,  check the settings for Configure Proxy Access to the Internet and Enable DNS over HTTPS.

Ctrl + Shift + E to load Network Inspector then attempt to connect to a site,  select a request -> Timings,  what stage does the request progress to?

attempting to connect to google, I got two request(?):
- the first, progress to waiting (182 ms)
- the second, progress to connecting (211 ms) and TLS Setup (670 ms).

attempting other sites, I got a request with
DNS Resolution (4 ms)
Connecting (99 ms)
TLS Setup (112 ms)

Basically, TLS Setup is as far as it would progress.
EDIT: Sending, Waiting, and Receiving is always 0 ms.

Last edited by absortio (2020-12-31 03:02:43)

Offline

#6 2020-12-31 07:10:38

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

Re: Firefox didn't load any site.

ip a
ip r
ping -c3 google.com
dig google.com

Can you open https://www.google.com in a different browser? (chromium, netsurft, dillo, w3m, elinks, …)?
Can you open http://216.58.212.174/ (google) in firefox?

Offline

#7 2020-12-31 10:30:47

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: Firefox didn't load any site.

I would first start Firefox from terminal, delete all profiles than create a new on, then start Firefox. All this can be done from the ProfileManager window.

firefox --ProfileManager 

or even start Firefox in safe-mode te check if that works.

firefox --save-mode 

Btw do you run some kind of firewall?
In that case it could be a configuration issue in it.

seth wrote:
ip a
ip r
ping -c3 google.com
dig google.com

Can you open https://www.google.com in a different browser? (chromium, netsurft, dillo, w3m, elinks, …)?
Can you open http://216.58.212.174/ (google) in firefox?

Mind he stated that Chromium works so network is up and active. 

EDIT:
- As a note, I've done something like editing my resolv.conf file in the past, but I'm certain that I restored it long time ago.
- Chromium works just fine.

Last edited by Archlin (2020-12-31 10:35:15)

Offline

#8 2020-12-31 11:09:50

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

Re: Firefox didn't load any site.

Archlin wrote:

Mind he stated that Chromium works so network is up and active.

Sorry, completely missed that.

In that case

ip a
ip r

(could be an IPv4 / IPv6 problem) and try to open http://216.58.212.174/ (google) in firefox (to circumvent DNS and possibly ssl issues)
Maybe also http://example.com/

Offline

#9 2020-12-31 11:16:48

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

seth wrote:
ip a
ip r
ping -c3 google.com
dig google.com

Can you open https://www.google.com in a different browser? (chromium, netsurft, dillo, w3m, elinks, …)?
Can you open http://216.58.212.174/ (google) in firefox?

As archlin stated, neither url nor ip is working on my firefox, but it works perfectly on my chromium.

as for those command, i'm not sure if you want me to run it? anyway, the output:

﬈ ≈ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether a8:5e:45:c7:31:c4 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 70:66:55:18:67:7d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.5/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 86009sec preferred_lft 86009sec
    inet6 fe80::579a:102:3d08:7ef/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

﬈ ≈ ip r
default via 192.168.1.1 dev wlan0 proto dhcp metric 600
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.5 metric 600

﬈ ≈ ping -c3 google.com
PING google.com (172.217.24.110) 56(84) bytes of data.
64 bytes from sin10s07-in-f14.1e100.net (172.217.24.110): icmp_seq=1 ttl=57 time=48.0 ms
64 bytes from sin10s07-in-f110.1e100.net (172.217.24.110): icmp_seq=2 ttl=57 time=47.1 ms
64 bytes from sin10s07-in-f14.1e100.net (172.217.24.110): icmp_seq=3 ttl=57 time=47.0 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 46.963/47.383/48.045/0.473 ms

EDIT: oh, didn't notice that you replied again

seth wrote:

(could be an IPv4 / IPv6 problem) and try to open http://216.58.212.174/ (google) in firefox (to circumvent DNS and possibly ssl issues)
Maybe also http://example.com/

both doesn't seem to work, is there anyway I can actually see what's going on inside firefox?
Even running from terminal doesn't show anything

Last edited by absortio (2020-12-31 11:21:21)

Offline

#10 2020-12-31 11:24:48

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

Archlin wrote:

I would first start Firefox from terminal, delete all profiles than create a new on, then start Firefox. All this can be done from the ProfileManager window.

firefox --ProfileManager 

or even start Firefox in safe-mode te check if that works.

firefox --save-mode 

I tried running them from terminal with those commands, I didn't notice any change

Archlin wrote:

Btw do you run some kind of firewall?
In that case it could be a configuration issue in it.

As far as I know, I haven't touch anything firewall related(?)
Though, I'm not sure, how can I check whether my system running firewall or not?

Offline

#11 2020-12-31 11:45:04

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

Re: Firefox didn't load any site.

When running firefox --save-mode, did you ensure there wasn't a lingering firefox process (ps aux)?

how can I check whether my system running firewall

iptables -nvL
nft list ruleset

Edit: afaik https://developer.mozilla.org/en-US/doc … rk_Monitor is about what you get for FF debugging.
Edit #2: and of course there's always wireshark…

Last edited by seth (2020-12-31 11:48:03)

Offline

#12 2020-12-31 12:08:20

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

seth wrote:

When running firefox --save-mode, did you ensure there wasn't a lingering firefox process (ps aux)?

this is all i got:

southern    7918 15.5  6.2 2985516 242932 pts/2  Sl+  19:56   0:04 /usr/lib/firefox/firefox --safe-mode
southern    8124  2.1  2.6 2419560 104044 pts/2  Sl+  19:56   0:00 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -p
southern    8162  5.8  3.8 2479996 148412 pts/2  Sl+  19:56   0:01 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 6319
southern    8181  4.2  3.0 2434404 119108 pts/2  Sl+  19:56   0:00 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 6319
southern    8235  2.3  2.4 2418280 94288 pts/2   Sl+  19:56   0:00 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 7053

iptables -nvL

as for that, i got this output:

Chain INPUT (policy ACCEPT 37095 packets, 45M bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 24878 packets, 3337K bytes)
 pkts bytes target     prot opt in     out     source               destination

looking at the number, does this mean that something is blocked?

Offline

#13 2020-12-31 12:10:47

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

Re: Firefox didn't load any site.

No, the "0" is for the forwarding chain. You've no iptable rules.

Offline

#14 2020-12-31 12:23:21

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: Firefox didn't load any site.

could you try


Type about:preferences <Enter> in the address bar.
Select Setting @ Network settings
first try No Proxy.
If there is still a problem, then try System Proxy.
Last try  Auto-detect proxy

See which one is working if any.

And don't forget to kill all running Firefoxes first.

Last edited by Archlin (2020-12-31 12:23:46)

Offline

#15 2020-12-31 12:30:36

absortio
Member
Registered: 2020-12-10
Posts: 12

Re: Firefox didn't load any site.

@seth Ah, I see

@Archlin that's actually on the support page and one of the first solutions that I've attempted. Nothing works from that page. (DNS, Proxy related)
Also yeah, I've killed all of firefox process

I'm starting to consider about ssl(?) (someone said this), might have to take a look on that.

Offline

#16 2020-12-31 12:54:01

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: Firefox didn't load any site.

absortio wrote:

@seth Ah, I see

@Archlin that's actually on the support page and one of the first solutions that I've attempted. Nothing works from that page. (DNS, Proxy related)
Also yeah, I've killed all of firefox process

I'm starting to consider about ssl(?) (someone said this), might have to take a look on that.

Sorry did not notice that part..

Offline

#17 2020-12-31 13:57:09

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

Re: Firefox didn't load any site.

If it was ssl, http://example.com should™ work.

So far it seems
a) restricted to firexox (chromim works)
b) not related to the profile (new user or safe-mode fail)
c) not DNS related ( http://216.58.212.174/ fails)
d) not ssl/tls (https) related (http fails)

If the FF webinspector doesn't shed enough light on what's going one, it's time for the great white https://wiki.archlinux.org/index.php/Wireshark

Offline

#18 2020-12-31 17:31:40

xerxes_
Member
Registered: 2018-04-29
Posts: 1,065

Re: Firefox didn't load any site.

Post contents of /etc/resolv.conf. Reinstall Firefox by 'pacman -S firefox', or better: 'pacman -Syu firefox'.

Last edited by xerxes_ (2020-12-31 17:32:06)

Offline

#19 2021-01-02 15:04:27

Kljunas2
Member
Registered: 2021-01-02
Posts: 8

Re: Firefox didn't load any site.

seth wrote:

d) not ssl/tls (https) related (http fails)

I have the same problem, but in my case http connection works.
@absortio, could you also try to load http://example.com? Other requests to https also end after TLS setup, so it may be https problem after all.

Offline

#20 2021-01-05 08:09:04

Kljunas2
Member
Registered: 2021-01-02
Posts: 8

Re: Firefox didn't load any site.

I reinstalled nss and it fixed it. It turned out, I had nss-hg from aur instead. I think that was the problem.

Last edited by Kljunas2 (2021-01-05 08:11:19)

Offline

#21 2023-04-10 17:16:41

Valctar
Member
Registered: 2017-03-30
Posts: 12

Re: Firefox didn't load any site.

Kljunas2 wrote:

I reinstalled nss and it fixed it. It turned out, I had nss-hg from aur instead. I think that was the problem.

Don't mean to necro the thread, and I've been away from the forums for a bit so please excuse me.
Same problem as OP here.
Yeah, updating nss and nss-mdns fixed it for me. It could be one of them but I just updated both.
The tip about http://example.com was also important to discover an issue with HTTPS.
Thanks everyone smile

PS: I guess you need to keep those 2 pkgs in sync, don't update firefox with updating nss. tricky.

Offline

#22 2023-04-10 22:12:51

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Firefox didn't load any site.

Closing this old thread.

Offline

Board footer

Powered by FluxBB