You are not logged in.

#1 2020-10-31 11:49:25

sdanave
Member
Registered: 2020-10-23
Posts: 17

Solved : Firefox can not open Youtube.com

Hi,

I have Arch installed on a VBox VM. Have also installed KDE (plasma-desktop). Installed Firefox, flashplugin as well as codecs as required. Have also installed VLC and MPlayer.

I have ticked Play DRM content in Firefox preferences.

Have also installed VBox Guest additions.

When I navigate to http://www.youtube.com it gives an error saying that "we are having trouble finding that site." All other sites work fine, so it is not internet connectivity issue.

Am I missing anything ?

Appreciate your help

Sachin

Last edited by sdanave (2020-11-03 12:56:00)

Offline

#2 2020-10-31 22:30:06

mpan
Member
Registered: 2012-08-01
Posts: 606
Website

Re: Solved : Firefox can not open Youtube.com

To rule out the most obvious things first: isn’t your Firefox using DoH? Some people are experiencing various issues with it. In the preferences: General → Network Settings, unched “Enable DNS over HTTPS” if checked. See if that solves the issue. Note: one should not count that as a problem with DoH itself. It simply just happens in various contexts right now for some providers.

A separate thing: extra/flashplugin is unrelated. It is not neccessary for anything except very poorly designed or unmaintained websites, and the technology itself has been ditched even by Adobe, finally reaching EOL next month.

Last edited by mpan (2020-10-31 22:30:32)


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#3 2020-11-01 06:23:06

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Firstly apologies for a delayed reply. I am in a different time zone so could see your reply only some time back.

I checked the DoH. I also removed Proxies (earlier it was set to System Proxies). Both do not make any difference (unchecking DoH also has no effect).

Funnily, this behaviour is only with Youtube - I am able to play streaming media on other sites without any issues.

Thank you for all your efforts - much appreciated.

Sachin

Offline

#4 2020-11-01 07:30:15

mpan
Member
Registered: 2012-08-01
Posts: 606
Website

Re: Solved : Firefox can not open Youtube.com

Can you resolve youtube.com from outside of Firefox? E.g. with dig from extra/bind:

dig youtube.com

Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#5 2020-11-01 08:40:14

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

I am able to ping to youtube.com successfully.

For dig, do I need to install anything ? I had installed kde-desktop with minimal packages.

Thanks and Regards

Sachin

Offline

#6 2020-11-01 23:11:58

mpan
Member
Registered: 2012-08-01
Posts: 606
Website

Re: Solved : Firefox can not open Youtube.com

Yes, for dig you need to install the package I mentioned above. But it is not important now, if you can ping the server — which indicates the name is being resolved.⁽¹⁾

In that case I have no ideas now. Others may help, but tell:

  1. How have you configured network in your VM?

  2. Which DNS server is being used? Is it some popular one or the one supplied by your ISP? If the latter, is changing it to e.g. 1.1.1.1 or 8.8.8.8 helping?

____
⁽¹⁾ It may be resolved to a wrong address, but the descibed issue with Firefox indicates a name resolution issue — one step earlier.


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#7 2020-11-02 03:42:00

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

After several checks, Youtube still does not work. I am giving up now, but here is the summary of actions I did in case it helps.

1. VM is connected to host as NAT connection.
2. I have set up Google Public DNS (8.8.8.8) and Cloudflare as an alternate DNS.
3. Have disabled hardware acceleration in Firefox, cleared cookies and other data, disabled add ons, cleared history.
4. Have tried running Firefox in Safe Mode.

Personal thanks to mpan for all the efforts. Pity it did not work, but that is fine. Really appreciate all your suggestions.

Thanks once again

Sachin

Offline

#8 2020-11-02 05:11:29

mpan
Member
Registered: 2012-08-01
Posts: 606
Website

Re: Solved : Firefox can not open Youtube.com

No need for thanks, as I haven’t solved anything. Suggesting an issue many people experience lately and randomly poking in hope to hit the bug is also hardly a large sacrifice on my side. =)

@3: unrelated. Firefox is clearly failing to translate the domain name to an IP address. That happens long before rendering.

That would be a larger effort and most likely unnecessary if someone else may help, but one thing you may check are packets sent from your computer (the actual host, not the VM). That would at least tell if DNS requests are being sent and if you get responses. But I would rather first wait a moment for other people to cme with ideas.


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#9 2020-11-02 07:16:28

seth
Member
Registered: 2012-09-03
Posts: 17,388

Re: Solved : Firefox can not open Youtube.com

What about https://www.youtube.com ?

Online

#10 2020-11-02 09:08:39

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Hi mpan,

I guess in the end a genuine help matters - whether it works or not is something we cant help smile

Hi Seth,

I have been referring to https://www.youtube.com. Can ping youtube.com successfully.

Just one interesting thing I noticed. When I click on the information button in the browser, it shows that connection not secure. It also shows that the site does not provide any security information. Maybe this is nothing (since the connection is not made), but thought worth mentioning.

Thank you guys

Sachin

Offline

#11 2020-11-02 12:19:55

seth
Member
Registered: 2012-09-03
Posts: 17,388

Re: Solved : Firefox can not open Youtube.com

Wireshark the connection to see what's going on there (what requests FF makes where that result in the failed resolution)

The mozilla internal whoopsadaisy page is probably not secure and doesn't have to be, but if you get a 404 or 503 (or maybe 502) that should not be insecure.
Can you open youtube in other browsers?
What IP is resolved by "ping youtube.com" and, just in case, what does "ping -6 youtube.com" do?
Does "nmap -p80 youtube.com" report the port to be open?

Online

#12 2020-11-02 14:54:04

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Hi Seth,

Wow, I am not a tech expert, so you might have to pardon my ignorance, stupid responses smile.

1. I installed Falkon browser and youtube opens smoothly. The videos play without any lag.

2. ping youtube.com output :
PING youtube.com (142.250.67.238) 56(84) bytes of data.
64 bytes from bom07s24-in-f14.1e100.net (142.250.67.238): icmp_seq=1 ttl=118 time=16.0 ms

3. ping -6 youtube.com gives the message that the network is unreachable.

4. nmap output : port is open.

Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-02 20:21 IST
Nmap scan report for youtube.com (142.250.67.238)
Host is up (0.013s latency).
Other addresses for youtube.com (not scanned): 2404:6800:4009:814::200e
rDNS record for 142.250.67.238: bom07s24-in-f14.1e100.net

PORT   STATE SERVICE
80/tcp open  http

Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds

Wireshark would take some time for me to understand. Currently reading the documentation.

Does the above help ?

Thanks and Regards

Sachin

Offline

#13 2020-11-02 15:27:21

seth
Member
Registered: 2012-09-03
Posts: 17,388

Re: Solved : Firefox can not open Youtube.com

142.250.67.238 is a google IP w/ open http port, you simply have no IPv6 connection (that's fine and not a problem at all) and the problem is strictly limited to firefox.

If your ruled out DoH, does it happen w/ https://support.mozilla.org/en-US/kb/tr … -safe-mode ?

Online

#14 2020-11-03 06:26:59

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Hi Seth,

I had a sort of Eureka moment today smile

Youtube did not open on safe mode as well as private browsing. Then I installed Wireshark, added user to wireshark group and also gave /usr/bin ownership to user. Wireshark capture was still giving an error :

The capture session could not be initiated on interface 'enp0s3' (You don't have permission to capture on that device).

I then started Wireshark in sudo mode. When I navigated to Youtube - voila !!! it opened effortlessly smile.

So it turns out to be some permissions problem - not sure what it is though.

Any ideas ?

Much appreciate your efforts and help.

Thanks and Regards

Sachin

Last edited by sdanave (2020-11-03 06:45:35)

Offline

#15 2020-11-03 06:59:24

seth
Member
Registered: 2012-09-03
Posts: 17,388

Online

#16 2020-11-03 09:33:22

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Hi Seth

Thanks a lot - I was able to start wireshark in a normal use rmode and capture the output when I tried to open Youtube in FF.

The only problem entry I see is the following :

IP4 Source - 10.0.2.15   Destination - 10.0.2.2 Protocol ICMP Length 381 Destination Unreachable (Port Unreachable)

Any other errors I should be looking for ?

Thanks and Regards

Sachin

Offline

#17 2020-11-03 10:22:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,634

Re: Solved : Firefox can not open Youtube.com

seth wrote:

you simply have no IPv6 connection (that's fine and not a problem at all) and the problem is strictly limited to firefox.

The lack of an ipv6 connection could very well be the cause of the problem as firefox defaults to ipv6 for dns.
Try disabling it.

see https://support.mozilla.org/en-US/kb/fi … can#w_ipv6

Last edited by Lone_Wolf (2020-11-03 10:24:09)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#18 2020-11-03 12:23:55

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

Hi,

That was bang on !!!

After disabling IPV6, the site opens flawlessly.

Thank you very much to all of you guys - you are all amazing !!!

Best Regards

Sachin

Offline

#19 2020-11-03 12:54:33

seth
Member
Registered: 2012-09-03
Posts: 17,388

Re: Solved : Firefox can not open Youtube.com

DisgustingUntimelyApe.webp
So try an IPv6 DNS first and if that fails, just assume NXDOMAIN…

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#20 2020-11-03 12:57:31

sdanave
Member
Registered: 2020-10-23
Posts: 17

Re: Solved : Firefox can not open Youtube.com

I love the animation !!

Seriously, Seth, mpan and lone_wolf, you guys are amazing. I am just dirtying my hands in Arch and it has been a learning and humbling experience.

Thank you once again.

I have marked the issue solved.

Offline

Board footer

Powered by FluxBB