flathub / com.spotify.Client

https://flathub.org/apps/details/com.spotify.Client
74 stars 35 forks source link

Can't login via Facebook #36

Open fchiacchiaretta opened 6 years ago

fchiacchiaretta commented 6 years ago

Hi, yesterday I did a fresh install of Spotify and login via Facebook does not work. Here is the output of flatpak run com.spotify.Client:

/app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)

(process:2): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0417/092852.781769:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization

Last line appeared when I clicked on Login via Facebook button.

Error on libcurl-gnutls.so.4 made me find that there is a broken symlink in /var/lib/flatpak/app/com.spotify.Client/current/active/files/lib/

$ ls -l /var/lib/flatpak/app/com.spotify.Client/current/active/files/lib/
total 15148
...
lrwxrwxrwx. 1 root root      32 17 apr 09.22 libcurl-gnutls.so.4 -> /app/lib/libcurl-gnutls.so.4.5.0
...

Of course that absolute path (/app/...) does not exist. However, fixing the broken symlink does not solve the issue with Facebook, just reported here.

Regards, Federico Chiacchiaretta

TingPing commented 6 years ago

The symlink is fine and probably not relevant.

nathanielsimard commented 6 years ago

I have the same problem on fedora 27.

lucasricardob commented 6 years ago

Same problem here on Linux Mint 18.3

prstoetzer commented 6 years ago

Same problem here, now on Fedora 28.

TingPing commented 6 years ago

Please do not bump this issue by just saying "same here".

peter-jerry-ye commented 6 years ago

It seems a lot of people is affected. So what else information can we provide you other than saying "same here" to help you fix this problem? And what about the fonts that can't be loaded?

TingPing commented 6 years ago

And what about the fonts that can't be loaded?

Completely off topic to this bug, but Electron bundles its own Fontconfig which isn't compatible. Nothing can really be done about that.

So what else information can we provide you other than saying "same here" to help you fix this problem?

I don't know offhand.

peter-jerry-ye commented 6 years ago

Here's what I've found by sign up with facebook. Hope this will help. screenshot from 2018-05-04 19-19-47

TingPing commented 6 years ago

It is possible it is picking up some bad proxy settings but it would be very odd for it to only affect the facebook feature.

Flatpak has no network firewall or filter otherwise.

lucasricardob commented 6 years ago

Here happened the same peter-jerry-ye, then I login with my e-mail and password (not Facebook login) and worked good. Hours later I turned off my pc and when I turned on my pc, in terminal Spotify shows this fonts error. Sorry for my bad english guys.

peter-jerry-ye commented 6 years ago

I've tested with my own 4G network (in case being affected by settings of my school network), still doesn't work. I don't know linux very well, so I don't know how to test if it has really sent a demand or not.

I have to say that the spotify client is buggy enough. Even with the version on the ppa, I can neither logout nor open the settings. And I can't even search with chinese.

TingPing commented 6 years ago

Even with the version on the ppa, I can neither logout nor open the settings. And I can't even search with chinese.

Indeed, and those seem to be many year old issues.

foursixnine commented 6 years ago

I wonder if this is related to a problem with the default browser being used?... Does anybody knows the variable that flatpak would use to open a link in a new browser? I remember it worked for me at some point but stopped working afterwards

egeexyz commented 6 years ago

I'm on Fedora 28 Xfce I am also unable to Login via Facebook. I tried launching the app via terminal but no errors or logs are generated. Clicking the Facebook button when trying to log in does nothing. I have also confirmed my preferred browser app is working with different applications.

Curiously, if you try to create a new account Spotify via Facebook, an error appears:

A firewall may be blocking Spotify. Please update your firewall to allow Spotify. Additionally you could try changing the currently used proxy settings.

My proxy settings for Spotify are default and I disabled my firewall; same result.

Can anyone who uses the Spotify Flatpak confirm that the Facebook login ever worked at all?I would venture to guess that the Facebook login feature has been broken since this app was added.

ouned commented 6 years ago

It previously worked to just input your Facebook login data into the Spotify login flields. This also doesn't seem to work anymore.

mic4ael commented 6 years ago

That is a pity that nobody shows any interest in fixing this issue..

prstoetzer commented 6 years ago

It is a serious issue that affects the usability of the Flatpak client. My solution was to switch to a non-Facebook based Spotify account, but it took some research to find that option on Spotify's website.

fchiacchiaretta commented 6 years ago

I tested Spotify package from snapcraft.io on Fedora 28, when I click "Login via Facebook" it opens a tab in Firefox asking for Facebook login, so the issue is not in Spotify Client itself.

Maybe the flatpak does not know the default browser as suggested by @foursixnine, or it tries and fails for some reason.

leetNightshade commented 6 years ago

I'm having the same problem. I notice the Reset Password link works fine, so idk why the Log In With Facebook one wouldn't work?

foursixnine commented 6 years ago

@TingPing do you know anthing about browser environment browser in flatpak? does it uses them?

barthalion commented 6 years ago

It must be doing something weird internally. If it tried to open the URL via xdg-open, it would be redirected to local browser via portal.

EliaGeretto commented 6 years ago

On Fedora 28, the repository created by negativo17 for the Spotify client (one that is commonly used) seems to be affected by exactly the same issue. As a consequence, it may not be Flatpak related in itself, since that repo provides RPMs. There is probably a compatibility issue that was introduced after a change was made to the client.

ouned commented 6 years ago

For anyone suffering from this issue, I found a workaround: Set a "device password" on the spotify website. Then, enter the "device username" (also on that page) and the password into the regular spotify login fields.

Works on my machine™

EliaGeretto commented 6 years ago

The workaround proposed by @ouned works for me too. It's just a temporary solution, but thanks!

EliaGeretto commented 5 years ago

Using the current version, I was able to log in using the "Log in with Facebook" button. After pressing it, my default browser (Chrome) opened. Since I was already logged into Facebook, the login was automatic. I suggest that the others experiencing the issue try again since it may have been fixed.

ghost commented 4 years ago

I find a solution:

First, I am no a english speaker.

I find a solution, easy I think. Follow the next steps.

-Open flatpak spotify app by terminal with comand: flatpak run com.spotify.Client -Open with predetermianted navegator of your operated system, the spotify web browser and enter on your account. -Next, in spotify web browser, open a playlist, you will have a option with name "...", click on this and next click in "open in desktop app". -After this, automatically the spotify app of flatpak open the playlist, with your current acount.

This was tested on Fedora 32, with google chrorme browser, and current version of flatpak on august 2020.

mirkobrombin commented 3 years ago

I find a solution:

First, I am no a english speaker.

I find a solution, easy I think. Follow the next steps.

-Open flatpak spotify app by terminal with comand: flatpak run com.spotify.Client -Open with predetermianted navegator of your operated system, the spotify web browser and enter on your account. -Next, in spotify web browser, open a playlist, you will have a option with name "...", click on this and next click in "open in desktop app". -After this, automatically the spotify app of flatpak open the playlist, with your current acount.

This was tested on Fedora 32, with google chrorme browser, and current version of flatpak on august 2020.

Doesn't work. Fedora 33.

mirkobrombin commented 3 years ago

Fixed in this way:

Add rc-manager=symlink to [main] section in /etc/NetworkManager/NetworkManager.conf.

Delete (maybe backup) the file at location:

/etc/resolv.conf

and restart NetworkManager:

systemctl restart NetworkManager

Ref: https://bugzilla.suse.com/show_bug.cgi?id=1128358#c4