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

Login information is lost between app launches #2

Closed
saveli opened this issue May 18, 2021 · 17 comments
Closed

Login information is lost between app launches #2

saveli opened this issue May 18, 2021 · 17 comments

Comments

@saveli
Copy link

saveli commented May 18, 2021

Between app launches only the username is remembered, the password is forgotten.

On a side-note: The first time you launch the app the language defaults to Italian. Maybe change it to English or let one choose.

@mirkobrombin
Copy link
Owner

Probably because the application starts with Amazon IT but you log into Amazon US (?) so at the next start you are again on Amazon IT but logged out.I'll get a fix as soon as possible, thanks for reporting

@saveli
Copy link
Author

saveli commented May 19, 2021

Another thing I just noticed, when I use the search bar on top I immediately have to login again, then the search is done.
It uses HTTP-percent-encoding, thereby the search result is often empty as the white space ' ' is replaced by '%20'

@mirkobrombin
Copy link
Owner

Another thing I just noticed, when I use the search bar on top I immediately have to login again, then the search is done.
It uses HTTP-percent-encoding, thereby the search result is often empty as the white space ' ' is replaced by '%20'

image

It shouldn't be a problem, space is transformed and interpreted. Did I not understand?

@saveli
Copy link
Author

saveli commented May 19, 2021

Interesting.. maybe its happening because of the intermediate relogin step?
This is happening for me:
image

@mirkobrombin
Copy link
Owner

This is actually weird. Can you try with the latest 1.0.1? The snap should be in the build on the way.

@saveli
Copy link
Author

saveli commented May 19, 2021

Hmm... latest available in snap is #848111e

@mirkobrombin
Copy link
Owner

Latest release is c21449f, it may take a few hours to deploy.

@saveli
Copy link
Author

saveli commented May 19, 2021

After reinstall, first login screen is now US instead of IT. But after that same errors as above.

@mirkobrombin
Copy link
Owner

After reinstall, first login screen is now US instead of IT. But after that same errors as above.

By the "same problem as above" do you mean the search or the session?

@saveli
Copy link
Author

saveli commented May 20, 2021

Both. Login required between app launches, login required for each search.

@mirkobrombin
Copy link
Owner

mirkobrombin commented May 20, 2021

Both. Login required between app launches, login required for each search.

I tried in a new VM with Ubuntu 21.04 using snap and it works with every language, it keep the credentials. I also tried with Manjaro and Arch linux but the result is the same. Everything works, I believe it is a specific problem with your system.

@saveli
Copy link
Author

saveli commented May 20, 2021 via email

@mirkobrombin
Copy link
Owner

mirkobrombin commented May 20, 2021

May there be some residual files I have to manually delete? I'm on a fresh Ubuntu 20.04 (1w old) , so it's unlikely it's system specific.

On Thu, 20 May 2021, 13:40 Mirko Brombin, @.***> wrote: Both. Login required between app launches, login required for each search. I tried in a new VM with Ubuntu 21.04 using snap and it works with every language. I also tried with Manjaro and Arch linux but the result is the same. Everything works, I believe it is a specific problem with your system. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMVZBDJG2APSWE3HDP5THTTOTYJ7ANCNFSM45CCMWSQ .

Try to uninstall the snap and reinstall it again from the stable branch. After login check for the cookies.txt file in the ~/.snap/Amusiz directory.

@saveli
Copy link
Author

saveli commented May 21, 2021

In ~/.snap theres no amusiz directory, only a warning.json with an entry caused by amusiz

2021-05-21T10:52:01+02:00 INFO snap "amusiz" has bad plugs or slots: dbus (cannot find attribute 'bus')

I found the cookies.txt in ~/snap/amusiz/12, deleting that didn't change anything.

What actually helped was to change the language under preferences to the respecting Amazon login site where you created your account on. Meaning it is not a preference, but the "language" must match your account creation site. You can then change the display language using your profile in the webview after login. Thereby "language" under preferences is misleading, it should state something like "login site Amazon.{com, de, it, co.uk, ...}"

So now I don't have to retype the password each time, but from the animation and the showed amazon music logo, I see that I am still logged in anew for every search. This procedure takes ~3s and cancels current playback.

So per se this issue is resolved, but in a unsatisfying way :/

@mirkobrombin
Copy link
Owner

"Unsatisfying" due to the "wrong" string in the preferences?

Btw for the problem with the search open a new issue please.

@saveli
Copy link
Author

saveli commented May 21, 2021

"Unsatisfying" due to the "wrong" string in the preferences?

It is unsatisfying because although I don't have to manually type the password the current "workflow" (browsing, adding to playlist, listening to current song, what else) is still interrupted.

Btw for the problem with the search open a new issue please.

Will do.

@mirkobrombin
Copy link
Owner

"Unsatisfying" due to the "wrong" string in the preferences?

It is unsatisfying because although I don't have to manually type the password the current "workflow" (browsing, adding to playlist, listening to current song, what else) is still interrupted.

Btw for the problem with the search open a new issue please.

Will do.

This shouldn't be the case, we're experiencing different workflows. I will wait for other reports.

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

2 participants