tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
334 stars 27 forks source link

I am not able to use the Tidal application #595

Closed schatderer closed 4 years ago

schatderer commented 4 years ago

I am trying to use the Tidal application, however, when I run the program (by the shortcut created on the Desktop or the 'flatpak run eu.tiliado.NuvolaAppTidal' command), I am faced with the Widevine plugin installation requirement. When I click to install such plugin, there is always an error message that prevents me from installing the application:

Error ocurred: Plugin not found in a file from 'https://-dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'.

Also, the error occurs because the URL is not correct, since a 'dash' (-) appears before 'dl.google.com'. That is, the correct URL would be 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb', so this is an error in the application's script. Therefore, please correct this so that I can use the application.


Please select Edit from the triple dot menu and fill this template:

Basic information

Describe the bug

When I run the program, the Widevine plugin must be installed. When I try to do this, I always come across a certain error message (attached image). This occurs because the URL to download the plugin is not correct: there is a dash (-) at the beginning of the address (after https://), thus making it invalid.

Steps to reproduce the behavior

  1. I run the program (command 'flatpak run eu.tiliado.NuvolaAppTidal')
  2. Click 'I accept Google Chrome End User License Agreement'
  3. Click on 'Install plugin'
  4. The error occurs

Expected behavior

The plugin should be installed normally if the URL address is correct.

Debugging log

Attach the debug log here: Nuvola-Tidal-debug.txt

Screenshots

Attach screenshots here: screen01 screen02 screen03

Additional context

As mentioned earlier, the bug occurs because the program tries to download a file from a URL that does not exist (whose reason has already been identified).

jiri-janousek commented 4 years ago

Hello @schatderer, I'm afraid I cannot reproduce your issue. I've updated your post with an issue template. Could select Edit from the triple dot menu and fill in the template? Thanks.

jiri-janousek commented 4 years ago

Thanks, @schatderer. The URL used is actually correct (the log says CefPluginDownloaderDialog.vala:116: NuvolaCefWidevineDownloader installation failed: Plugin not found in a file from 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'.) but incorrectly displayed in the error dialog.

I've added more debugging information to Nuvola and will let you know once the flatpaks are rebuilt.

jiri-janousek commented 4 years ago

Flatpaks published. Could you provide me with new debugging output with Nuvola 4.16.33 (33-gea8267a)?

jiri-janousek commented 4 years ago

Closing as there are no new logs. Hopefully, it's because the issue is resolved.

mirsemen commented 4 years ago

I have the same error.

Basic information Your Linux distribution and its version: Calculate Linux Desktop 20.6 Your desktop environment: MATE Nuvola Runtime version: 4.16.42 (42-g941fa66) The web app you use and its version: Tidal 1.0.3 (3-g72f3d2f)

Debug log nuvola-tidal-debug.txt

jiri-janousek commented 4 years ago

Hello @mirsemen. It looks as if the downloaded deb package was empty. I need to add the file size and hash to the debugging output to investigate it further.

jiri-janousek commented 4 years ago

Hello @mirsemen, could you provide new log with Nuvola 4.16.43 (43-g7ccd3dd)?

mirsemen commented 4 years ago

Hello @mirsemen, could you provide new log with Nuvola 4.16.43 (43-g7ccd3dd)?

Hi, @fenryxo ! The error is the same!

tidal-flatpack-debug.txt

jiri-janousek commented 4 years ago

Yes, the error is the same but there is more information in the logs. The downloaded file is indeed empty. I've found a bug that swallowed connection errors. Could you provide new log with Nuvola 4.16.44 (44-g4f7864a)? I hope to get more info about why the download fails.

mirsemen commented 4 years ago

Here u go! tidal-flatpack-debug-4.16.44.txt

Russian error desc: invalid TLS certificate.

jiri-janousek commented 4 years ago

Could you try URL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb in your web browser to find out whether you get the certificate error too?

mirsemen commented 4 years ago

Could you try URL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb in your web browser to find out whether you get the certificate error too?

Everything is fine. File is 66.4Mb. Chromium version: 84.0.4147.125 MD5: 196ac922888c58f6215050a7912a70c1 *google-chrome-stable_current_amd64.deb

jiri-janousek commented 4 years ago

Could you post the output of this command?

LANG=C flatpak run --command=openssl eu.tiliado.NuvolaAppTidal \
s_client -servername dl.google.com -connect dl.google.com:443 \
-showcerts </dev/null 2>/dev/null
mirsemen commented 4 years ago

Could you post the output of this command?

LANG=C flatpak run --command=openssl eu.tiliado.NuvolaAppTidal \
s_client -servername dl.google.com -connect dl.google.com:443 \
-showcerts </dev/null 2>/dev/null

http://pastebin.calculate-linux.ru/ru/show/144329

Or ssl.txt

jiri-janousek commented 4 years ago

Hello @mirsemen. I might be a bug in your distribution. Could you look at flatpak/flatpak#2921 whether it gives you any clues?

mirsemen commented 4 years ago

Hello @mirsemen. I might be a bug in your distribution. Could you look at flatpak/flatpak#2921 whether it gives you any clues?

Hi! Wow! It helps me a lot! Thanks!

This was the solution.

jiri-janousek commented 4 years ago

Glad to help :-)