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

No login after update to SFOS 4.4.0.58 #119

Open
broncheolus opened this issue Apr 3, 2022 · 12 comments
Open

No login after update to SFOS 4.4.0.58 #119

broncheolus opened this issue Apr 3, 2022 · 12 comments

Comments

@broncheolus
Copy link

broncheolus commented Apr 3, 2022

SFOS: 4.4.0.58
device: XA2

After update to SFOS 4.4.0.58 I had to login to hutspot again. This was not possible due to a white login page and due to a not working login over the standard browser of SF (see attached screenshot). I really hope that there is a workaround possible or an "easy" fix for you because I´m a huge fan of hutspot and would really miss it on my device. Thanks for your great work for SF. Greetings from Austria, broncheolus.

edit: I managed to reregister when starting hutspot from commandline (login page shows). After that hutspot works from commandline but still not from icon. I will investigate further.

edit: all the config folders seem to be empty (in .config and .local/share)

edit: Oh, is it the thing with sailjail disable and the .desktop file? One has to edit it, I think. But not knowing how, so next step to be solved. Just a little help would be appreciated. Thx.

photo_2022-04-03_16-57-59

@poetaster
Copy link
Collaborator

I think the fix is in the last PR from @attah where he moves to a the new WebView. How had you installed?

@broncheolus
Copy link
Author

broncheolus commented Apr 4, 2022

Thanks for your answer. I installed it from Openrepos. I just cannot remember if I used storeman or if I downloaded and installed it manually.

@poetaster
Copy link
Collaborator

Hmmm. Ok, I've only updated the fixed version, with ssl 1.1 support and the new web view to chum. You can use the chum gui (install with https://chumrpm.netlify.app/) or download the rpm at: https://api.merproject.org/package/show/sailfishos:chum/hutspot

@broncheolus
Copy link
Author

Sorry for the late reply. I installed hutspot from chum (I finally found it there, it´s not listed as application so one has to switch to "show all packages")

Now the web login page opens but after being told to return to hutspot from "login page" no device can be found.
Starting hutspot from console works again with the standard login screen. Only the device has to be set as "?recent device?" (I just know the german words) every time after starting hutspot.

Just for your knowledge: Hutspot shows version 0.2 in about although 0.4 from chum is installed.

Edit: I now tried different variants for login, external browser, normal login, from console, from icon. Sometimes the login from icon start had an influence on hutspot started from console. (i.e. that the device is active directly after startup from console) All in all very confusing for me because of all the different results. But in the end I was always able to activate the device in different ways.

But I´m sorry, I cannot write it all down so it´s of any help for you. It´s too confusing, sorry.

I really appreciate your work for hutspot. Keep it up. Thanks and greetings from Austria.

@poetaster
Copy link
Collaborator

Now the web login page opens but after being told to return to hutspot from "login page" no device can be found.
Starting hutspot from console works again with the standard login screen. Only the device has to be set as "?recent device?" (I just know the german words) every time after starting hutspot.

Ok, it's difficult for me to test, but the patch came from @attah and he might be able to help me narrow it down.

Just for your knowledge: Hutspot shows version 0.2 in about although 0.4 from chum is installed.

That was hardcoded in the QML. I'll go fix that.

But I´m sorry, I cannot write it all down so it´s of any help for you. It´s too confusing, sorry.

You can also write me in German if that helps. PM on the forum (also poetaster there).

@attah
Copy link
Contributor

attah commented Apr 7, 2022

no device can be found.

Well, do you have any?
Hutspot in and of itself is not a playback "device".
The intended use is to also have LibreSpot running afaik - i just tested with having Spotify running on my desktop and controlling that from Hutspot.

@broncheolus
Copy link
Author

Sorry for not writing back to you. Well German would be easier but I think English will also do. I did not use hutspot lately but came back to this thread today. What I did not realise is that when starting hutspot from icon librespot cannot be found. From terminal it gets found. It´s already started too, the only thing that has to be done is to choose the device as "aktuelles Gerät".
Thank you. I hope I´m of any help.

@attah
Copy link
Contributor

attah commented Apr 24, 2022

So logging did in fact work.
Then we at least know what to look for: jailed Hutspot not detecting Librespot.
That it can no longer be started/stopped from there is kinda expected, but wonder what could break detection...

@Scarrough
Copy link

Might this be handled by modifying the permissions?

@poetaster
Copy link
Collaborator

Might this be handled by modifying the permissions?

I don't think so. librespot as a binary is not supported (ffmpeg, for instance, is). But it's probably worth a shot

[X-Sailjail]
Sandboxing=Disabled

in the .desktop file at the end.

@Scarrough
Copy link

Might this be handled by modifying the permissions?

I don't think so. librespot as a binary is not supported (ffmpeg, for instance, is). But it's probably worth a shot

[X-Sailjail]
Sandboxing=Disabled

in the .desktop file at the end.

Yep, that did the trick.

@broncheolus
Copy link
Author

Thank you, disabling sandboxing indeed helped. The only thing that has to be done after that, is choosing the inactive device as "aktuelles Gerät". But that´s the least problem. Thank you for your effort. Keep on sailing.

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

4 participants