-
Notifications
You must be signed in to change notification settings - Fork 11
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
Username or password incorrect on latest version of Shaarli #42
Comments
Hi! |
Hi guys, I've started to work on the next Shaarli version which will use Slim framework controllers instead of legacy request router. Therefore, |
ArthurHoaro, thanks. I was thought the problem is that the application is not using REST API. I've read somewere that the author plans to use API while developing version 2.0. Let's hope that it will be so. So far I decided to try Stakali |
Hi guys! Thank you for bringing this up to my attention. Please excuse the late response, I don't have that much time to give to Shaarlier, but you should at least have an update about the state of the project. @ArthurHoaro is right about the cause of the issue, Shaarli have made some changes on how the urls are handled, and since the application is not using any API Shaalier needs an update to handle those new API urls. This was a design decision made way back when the Rest API did not exist. Before that braking change, updating to the Shaarli RestAPI was a bit of work (namely rewrite the network manager), but there were no real incentive, apart from integrating more features, to make the work. Now that this is breaking the interface for some users I shall at least spend some time upgrading that part of the app. However I cannot guarantee you any timeline, I work mostly on this project when I have the motivation, but I would be pleased for any PR helping in this direction. In the mean time you could use Stakali, it looks like a great app, but unfortunately it is not a Free and Open Source Software. |
@dimtion, it’s good to hear from you that you have plans to spend time implementing the client for the Shaarli REST API. Yes, Stakali, unfortunately, is not an open source project, and the author is not going to make it open source. In addition, the free version has some limitations. So I hope we'll see a new version of Shaarlier ... someday ;) |
Thanks a lot for the reply. I've downgraded* to the Thanks again, Loïc & Arthur, for your FOSS projects Shaarlier & Shaarli. 🍻 (*) Be sure to export all bookmarks before downgrade as the data store isn't compatible. |
@ArthurHoaro I was looking a bit on how I could implement the the API in Shaarlier, and it seems that external plugins such as Shaarli2Twitter or Shaarli2Mastodon are not supported yet by the Rest API. Since these features are quite popular in Shaarlier users, and before I open an issue, do you have any information if there is any plan for opening the API to toggle external plugins features? |
Hey guys, I had a bit of time to work on this matter during this week, and drafted a new version of Shaarlier that uses Shaarli API. Once installed, you'll need to go to your account settings and set a valid Rest API Key. There are still some limitations, such as tweets and toots that don't work. Since I'm not sure how to handle those plugins without any change to Shaarli API. Before doing a full rollout, I'd like to improve the account configuration UX, since right now it might be a bit confusing that the combo username / password is mutually exclusive with the use of the API key (with the API key having the priority). |
The share dialog disappear instantly and go back to setting like in this screen cast |
Hi @soratobukuroneko, Thank you for the screencast, if I'm not mistaking you have no Shaarli account configured. If not done I would suggest to click on "Add account" on the main screen. Let me know if you already did that, in which case it looks like a weird bug. |
I did that but then it returns to the main screen like if I had no account |
Oh, ok I'll look into it.
…On Mon, 16 Mar 2020, 09:10 Andrea Blankenstijn, ***@***.***> wrote:
I did that but then it returns to the main screen like if I had no account
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAO7SRQWSP3A7DYZX4BXNNDRHZFNRANCNFSM4KYZ3OEA>
.
|
Thanks so much for the update 🥇 ! It's now on F-Droid. : Upgraded and did a quick test against Shaarli 0.11.1 - Saving links is working. Will upgrade shaarli server to |
Thank you @GitHubGeek! I'll try to finalize this issue before posting it on the AppStore. @soratobukuroneko I was not able to reproduce your issue. Some questions, to help me find the issue
I'm sorry for the inconvenience! |
I can give you access to my shaarli instance if you want |
Hi everyone! I'm a new shaarli and shaarlier user and I've the same problem as @soratobukuroneko on my LG-H873 running Android 9 H87330b. I'm running my own instance of shaarli. I've tried the same steps as @soratobukuroneko without success. |
Hi @frdrcv , I've discussed with @soratobukuroneko in private to find out the source of the issue and it was due to his webhosting provider putting a Javascript challenge in every webpage, including the REST API endpoints. You might want to check that the your internet provider doesn't do the same. Also, are you on Shaarli 1.7.2? On this version I've added a clearer error message that might help you find out the origin of the issue. However if the application still crashes on your device this might be another bug of the application. |
Salut @dimtion, |
Oh, and concerning your last reply, if that's ok with you, I'll wait until you have the time to take a look at the bug report I sent you to contact my internet provider. |
hi @frdrcv , Thank you for taking the time to figure this out together. In the mean time, could you provide some information about your setup:
|
Strange, I just sent it again, maybe I actually forgot to send it yesterday while I was writing my last message here. In all cases, here's the report :
Thanks for your time! |
Hello, Same issue as above.
Looks like it is something to do if shaarli is served under a subdir on apache (domain/shaarli). Else, using LineageOS 17.1 official/ Android 10, Galaxy S9, installed Shaarlier from F-droid. |
Hey guys, sorry for the late response, I'm trying to reproduce the issue on my side, however I cannot find the correct setup that trigger that error. @frdrcv @eisengrau @soratobukuroneko Could you help me with info about your Shaarli instance, namely:
If from a terminal you do the following and have a similar result (HTTP 404), it means that your Shaarli version either is not compatible with the token authentication, or the API is disabled (if you don't have curl, you can do the same in your web browser: curl https://shaarli-dev.dimtion.fr/api/v1/info
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.38 Server at shaarli-dev.dimtion.fr Port 443</address>
</body></html> For example, here is the curl result for a working Shaarli instance: curl https://shaarli.dimtion.fr/api/v1/info
{
"message": "Not authorized: Invalid JWT header",
} Thank you again for your help |
Hi!
Thanks for making this awesome Android app - Love the simplicity!
Recently I've upgraded to the latest Shaarli docker master branch (
docker pull shaarli/shaarli:master
). Now when I re-add the account in Shaarlier, my username and password are not accepted after tapping "Try and Save".How do I debug this issue? I've tried clearing app data but issue persist.
Thanks again
The text was updated successfully, but these errors were encountered: