Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login via Facebook #36

Open
fchiacchiaretta opened this issue Apr 17, 2018 · 28 comments
Open

Can't login via Facebook #36

fchiacchiaretta opened this issue Apr 17, 2018 · 28 comments

Comments

@fchiacchiaretta
Copy link

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
Copy link
Member

The symlink is fine and probably not relevant.

@TingPing TingPing changed the title Can't login via Facebook - broken libcurl-gnutls symlink Can't login via Facebook Apr 17, 2018
@nathanielsimard
Copy link

I have the same problem on fedora 27.

@lucasricardob
Copy link

Same problem here on Linux Mint 18.3

@prstoetzer

This comment has been minimized.

@TingPing

This comment has been minimized.

@peter-jerry-ye
Copy link

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
Copy link
Member

TingPing commented May 3, 2018

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
Copy link

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

@TingPing
Copy link
Member

TingPing commented May 4, 2018

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
Copy link

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
Copy link

peter-jerry-ye commented May 4, 2018

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
Copy link
Member

TingPing commented May 4, 2018

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
Copy link

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
Copy link

egeexyz commented Jun 20, 2018

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
Copy link

ouned commented Jun 20, 2018

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

@mic4ael
Copy link

mic4ael commented Jun 29, 2018

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

@prstoetzer
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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

@barthalion
Copy link
Member

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
Copy link

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
Copy link

ouned commented Aug 7, 2018

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
Copy link

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

@EliaGeretto
Copy link

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.

@flathub flathub deleted a comment from Justinzobel Jul 29, 2019
@flathub flathub deleted a comment from Justinzobel Jul 29, 2019
@ghost
Copy link

ghost commented Aug 23, 2020

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests