Not able to browse on Firefox

Hi All,
Working on Dell laptop, using the browser Firefox. The Internet is working and I am able to open my gmail account. Firewall is disabled. While I am able to open certain websites like my bank account and this forum, most other websites do not open. I am also not able to open links that I receive in my emails. Firefox shows the message or error like given below:
"Unable to connect

An error occurred during a connection to isbn.gov.in.

  1. The site could be temporarily unavailable or too busy. Try again in a few moments.
  2. If you are unable to load any pages, check your computer’s network connection.
  3. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web."

Need help to resolve the issue please.
Regards,
rsp2

Hi @rsp2

You’re telling that internet access (except Firefox) does work, doesn’t it.
So, it seems, that it could be a Firefox related issue.

For further investigations, try running a fresh and clean new profile:

  • either firefox -p from console
  • or about:profiles inside Firefox
    (and then each way create a fresh and clean new profile and try that one)

Hi,
I changed the profile but still getting the same error:
"Unable to connect

An error occurred during a connection to isbn.gov.in.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web."

Regards,
rsp2

When you say the internet is working, do you mean that you’ve been able to access the specific sites that aren’t working, using another browser? That particular server you give as the example, ping isbn.gov.in, responds to pings, so you could try pinging it in a console. This establishes not only that the DNS is resolving but that you’re able to reach that box (i.e. there isn’t a routing problem in-between.) Sometimes there can be a routing problem on the internet and certain sites or services work but not others, so you need to establish that a specific site is not working only in Firefox but works in another browser, before you can narrow it down to a problem with Firefox.

If you can view a specific website in another browser, and not in Firefox, the first thing I would look at is the proxy settings. Firefox allows the overriding of system proxy settings and establishment of custom settings. Usually, these are profile-specific, however, so if you have created a new profile it would presumably reset this to default to the system settings.

If that failed, I would assume that something might be broken about Firefox and I might uninstall and reinstall it as the next step.

1 Like

@rsp2:

Have you been applying all the Leap 15.5 patches and updates?

Does “zypper verify” indicate any issues regarding package dependencies?

Does – with the user “root” –
# rpm --verify --all | grep 'missing'
indicate any missing files?

  • If it does, “rpm --query --whatprovides «the complete path of the missing filename»” will indicate which package(s) need to be forcibly re-installed.

You may have to clean out the user’s ‘~/.cache/’ directory.

  • It’s usually OK to also clean out the ‘~/.cache/mozilla/firefox/’ directory tree.

But, before you do so, it pays to move the Bookmark backups Firefox automatically makes to another location –

> ls .mozilla/firefox/xxxxx.default-release/bookmarkbackups/

You may have to completely clean out the ‘~/.mozilla/’ directory tree but, before you do so, move the Bookmark backups to another location.

  • And, export your Bookmarks to be on the safe side – plus anything else you’ve stored in Firefox, such as passwords …

Hi,
The problem seems to be with Firefox because I could access the website https://isbn.gov.in from my android cell phone.
The codes are as below:

rsp@localhost:~> zypper verify
Root privileges are required to run this command.
rsp@localhost:~> sudo zypper verify
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Dependencies of all installed packages are satisfied.
rsp@localhost:~> sudo rpm --verify --all | grep 'missing'
missing     /usr/lib64/libreoffice/program/intro-highres.png
missing     /usr/lib64/libreoffice/program/shell/logo.svg
missing     /usr/lib64/libreoffice/program/shell/logo_inverted.svg
rsp@localhost:~> 
type or paste code here
rsp@localhost:~> ls .mozilla/firefox/xxxxx.default-release/bookmarkbackups/
ls: cannot access '.mozilla/firefox/xxxxx.default-release/bookmarkbackups/': No such file or directory
rsp@localhost:~> 
type or paste code here

Regards,
rsp2

Could be — but not necessarily! Because: do you actually use the same internet connection for both your computer with Firefox and your android cell phone (with which browser)?

It’s nice that it works on your phone, but you should investigate this issue on your computer (that computer, that internet connection).

  1. firefox -p or about:profiles and create and use (make sure to really use the new profile) a fresh and clean new profile to eliminate any Firefox specific settings made in the past
  2. rpm --verify --all | grep 'missing' as root (like mentioned by another user — is (Firefox) install broken?)
  3. use a different browser on those(!) specific websites on that(!) computer with that(!) internet connection (not your cell phone) — you can try links (it’s minimal) first and then Konqueror (it’s quite basic) (do those websites actually work on your computer at all?)
  4. ping <websites_used_to_work> (also mentioned by another user) (do you have any access to those websites on your computer at all?)

Do run all those 4 steps in that order.

  1. If it’s an “easy” Firefox issue, step 1 should be of success.
  2. If Firefox is broken by install, step 2 could indicate this.
  3. If it is somehow Firefox related, but your computer is OK (OS and system settings) and your internet connection is OK, step 3 should work.
  4. If all 3 steps before are not of success, step 4 is of interest. When you don’t get answers for your ping commands, you have to further investigate on your connection (i.e. your connection as it, your modem/router, your computer with its network settings). Then the result of your cell phone can get of interest.

And not to forget: please explicitly answer if you use something like Proxy or VPN (on your computer, or even in your router)? Disable them (at least temporarily).

Hi,
Did all the steps. The code is as below:

rsp@localhost:~> firefox -p
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
rsp@localhost:~> sudo rpm --verify --all | grep 'missing'
[sudo] password for root: 
missing     /usr/lib64/libreoffice/program/intro-highres.png
missing     /usr/lib64/libreoffice/program/shell/logo.svg
missing     /usr/lib64/libreoffice/program/shell/logo_inverted.svg
rsp@localhost:~> ping https://forumsopensuse.org
ping: https://forumsopensuse.org: Name or service not known
rsp@localhost:~> ping https://forums.opensuse.org
ping: https://forums.opensuse.org: Name or service not known
rsp@localhost:~> 

  1. Installed Konqueror. There also, the same error persisted.
  2. No proxy or VPN is being used.
  3. Reinstalled Firefox but the error persista

Regards,
rsp2

Well, then it seems not only Firefox related… When you tell you have the same issues with Konqueror…

Good to hear. That makes it much easier in general.

I guess it’s something network related then. Still to find out if system’s settings related or depending on your connection itself.

Use ping as this:

  • ping www.google.com (Google main site)
  • ping 8.8.8.8 (Google DNS)
  • ping isbn.gov.in (website you mentioned)
  • ping <other_website> (other sites you assume that should work — but without https://, just the domain, like www.google.com above)

Try ping for the websites (several ones, please — and for for checking purposes www.google.com and 8.8.8.8) you assume that should work. Do you get positive or negative results?

And to make it clear and not to get confused:

  • How do you access this forum? (What device, what internet connection? Are they different or the same?)
  • You told that you installed Konquerer and reinstalled Firefox… So, the software management on your system is actually working properly? (You can install/reinstall software on that(!) system using that(!) internet connection?)
  • (Please, explicitly answer these two questions, especially the second one.)

Hi,
completed the tasks. Code as below:

rsp@localhost:~> ping www.google.com
PING www.google.com(del11s10-in-x04.1e100.net (2404:6800:4002:815::2004)) 56 data bytes
64 bytes from del11s10-in-x04.1e100.net (2404:6800:4002:815::2004): icmp_seq=1 ttl=60 time=9.67 ms
64 bytes from del11s10-in-x04.1e100.net (2404:6800:4002:815::2004): icmp_seq=2 ttl=60 time=8.04 ms
64 bytes from del11s10-in-x04.1e100.net (2404:6800:4002:815::2004): icmp_seq=3 ttl=60 time=34.4 ms
64 bytes from del11s10-in-x04.1e100.net (2404:6800:4002:815::2004): icmp_seq=4 ttl=60 time=8.49 ms
64 bytes from del11s10-in-x04.1e100.net (2404:6800:4002:815::2004): icmp_seq=5 ttl=60 time=27.3 ms
^C
--- www.google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 8.039/17.566/34.352/11.059 ms
rsp@localhost:~> ping 8.8.8.8
ping: connect: Network is unreachable
rsp@localhost:~> ping isbn.gov.in
ping: connect: Network is unreachable
rsp@localhost:~> ping sparsh.defencepensions.gov.in
ping: sparsh.defencepensions.gov.in: Name or service not known
rsp@localhost:~> ping www.goodreads.com
ping: connect: Network is unreachable
rsp@localhost:~> ping in.likedin.com
ping: connect: Network is unreachable
rsp@localhost:~> ping twitter.com 
ping: connect: Network is unreachable
rsp@localhost:~> ping www.airindia.in
PING www.airindia.in(g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032)) 56 data bytes
64 bytes from g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032): icmp_seq=1 ttl=61 time=5.03 ms
64 bytes from g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032): icmp_seq=2 ttl=61 time=4.61 ms
64 bytes from g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032): icmp_seq=3 ttl=61 time=6.22 ms
64 bytes from g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032): icmp_seq=4 ttl=61 time=4.96 ms
64 bytes from g2600-140f-9c00-01b8-0000-0000-0000-2032.deploy.static.akamaitechnologies.com (2600:140f:9c00:1b8::2032): icmp_seq=5 ttl=61 time=7.49 ms
^C
--- www.airindia.in ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 4.613/5.664/7.494/1.063 ms
rsp@localhost:~> 

  1. I excess the forum by Firefox on the same platform and the same internet connection as i use for my gmail account.
  2. Yes, I am able to install or reinstall packages using the same internet connection.
  3. I use the same internet connection for my android cell phone and I am able to excess isbn.gov.in from there.

Regards,
rsp2

OK…

Just to be really sure… Please post the results of:

  • cat /etc/hosts.deny
  • cat /etc/hosts

You seem to have partial internet access. Some sites work, others not. Like you can get software from openSUSE and access some sites. But you cannot access specific sites.

You refer to many Indian websites… Can you tell where you are? India? Pakistan, but using Indian websites? Or similar? Maybe, sites/addresses are blocked in your country/ by your ISP.

To investigate on this I would suggest to get OONI-Probe-3.9.6.AppImage from Releases · ooni/probe-desktop.

Then:

  • copy that file to a folder for that use like /home/<user>/bin/AppImage (where <user> is your standard user)
  • go to that folder
  • make the file executable (with your file manager or chmod)
  • run it
  • you can switch language setting to your needs
  • look at the screenshots for appropriate settings and tests essentially to run



Maybe, you have to install appimaged first if you don’t already have it.

Hi,
Following are the results:

rsp@localhost:~> cat /etc/hosts.deny
# /etc/hosts.deny
# See 'man tcpd' and 'man 5 hosts_access' as well as /etc/hosts.allow
# for a detailed description.

http-rman : ALL EXCEPT LOCAL

rsp@localhost:~> cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
192.168.1.8     dell-linux
192.168.1.5     dell-linux

rsp@localhost:~> 

  1. I am located in Delhi India’s capital.
  2. No these sites are NOT blocked in India. I have my login credential on all these sites and I could access them as and when needed, before this error began to happen.
  3. The other 'investigative ’ action I have not understood. From where to get it. When I click on these I links the same error occurs like ‘NOT ABLE TO CONNECT’ etc.

Regards,

rsp2

  • cat /etc/hosts.deny looks good.
  • cat /etc/hosts looks almost good: it seems not to be standard… And I really wonder where the following come from, they are not standard:
192.168.1.8     dell-linux
192.168.1.5     dell-linux

So…

  • no Proxy (as you told)
  • no VPN (as you told)
  • software management by openSUSE does work
  • you can access some sites
  • you cannot access some specific sites (even ping does not work…)
  • /etc/hosts.deny looks good
  • /etc/hosts looks almost good (wondering about those two entries…)
  • as you told, you have tried a fresh and clean new profile in Firefox (so, any settings or cache don’t matter)
  • and you have tried a second browser (Konquerer in this case)
  • right now, you cannot get this tool called OONI: it’s on GitHub, no big thing. But you can also not access that site…

For me, it seems that some (many?) sites are blocked. But right now, I cannot tell if they are blocked on your computer (inside) or in your internet connection (outside).

Are you aware of other network related settings on your system:

  • have you set a special DNS configuration? (actually, there are several ways to set up a specific DNS on a machine…)
  • have you set any special network configuration at all?
  • have you set any special general configuration at all?
  • could it be that someone had access to your computer?

Maybe, I have a further idea or we do need more help.

(Now, it could be worth giving VPN a try: if you then can access those specific sites. But maybe, it’s too late for VPN. We have to find out, where the blockings come from.)

Hi,
I shall wait for your next communication.
Regards,
rsp2

Well, what about this?

I have some more:

Please, try:

  • ip a
  • ip -4 r
  • ip -6 r

Maybe, it’s IPv4 vs IPv6 related (I’m guessing this because you told about your cell phone — working! — and this point might be different there…)

Hi,
Code:

rsp@localhost:~> 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
2: p8p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 60:18:95:30:90:b9 brd ff:ff:ff:ff:ff:ff
    altname enp1s0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 90:0f:0c:1c:a1:c9 brd ff:ff:ff:ff:ff:ff
    altname wlp2s0
    inet 192.168.1.5/24 brd 192.168.1.255 scope global noprefixroute wlan0
       valid_lft forever preferred_lft forever
    inet6 2401:4900:1f36:4e22:e877:b14:7b01:2542/64 scope global temporary dynamic 
       valid_lft 86253sec preferred_lft 54757sec
    inet6 2401:4900:1f36:4e22:b957:7fc3:a83f:663e/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 86253sec preferred_lft 86253sec
    inet6 fe80::2f0e:a222:f1a2:4b04/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
rsp@localhost:~> ip -4 r
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.5 metric 600 
rsp@localhost:~> ip -6 r
2401:4900:1f36:4e22::/64 via fe80::1 dev wlan0 proto ra metric 600 pref high
fe80::/64 dev wlan0 proto kernel metric 1024 pref medium
default via fe80::1 dev wlan0 proto ra metric 600 pref low
rsp@localhost:~> 

Regards,
rsp2

I am not fully sure, yet — but I think I have an idea.

To be sure, can you please do:

  • curl 'https://api4.ipify.org/'
  • curl 'https://api6.ipify.org/'

Thank you!

Hi,
Code:

rsp@localhost:~> curl 'https://api4.ipify.org/'
curl: (7) Failed to connect to api4.ipify.org port 443 after 53 ms: Couldn't connect to server
rsp@localhost:~> curl 'https://api6.ipify.org/'
2401:4900:1f36:4e22:b957:7fc3:a83f:663ersp@localhost:~> 
rsp@localhost:~> 

Regards,
rsp2

Well, it seems IPv4 vs IPv6 related! Probably, you are not blocked by your ISP due to country law enforcement. Probably, it’s the IPv4, IPv6 setting in your router or at your ISP.

That’s also why you can use your cell phone, but not your computer.

We do have now the probable reason. But I don’t really know how to proceed. Sorry. At least, you have a clue.

Please, check if you or your ISP recently modified your router or your connection.