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

Wallabagger connection broken #226

Closed
gwen-lg opened this issue Nov 9, 2024 · 5 comments
Closed

Wallabagger connection broken #226

gwen-lg opened this issue Nov 9, 2024 · 5 comments

Comments

@gwen-lg
Copy link

gwen-lg commented Nov 9, 2024

Describe the bug

Since login broken problem (issue #217), the direct login is fixed for me, but not the Wallabagger connection (Firefox extension).
When I tried to save a page, I have the error Une erreur est survenue lors de la sauvegarde de l'article in the GUI.

With the help of Firefox tools, I have see in the console the error :
Failed to refresh token https://www.xoddark.com/wallabag/oauth/v2/token
With the server return an error 400 with these information :

{
	"error":"invalid_grant",
	"error_description":"Invalid username and password combination"
}

to the request (with valid information) :

{
	"grant_type":"password",
	"client_id":"the api client id",
	"client_secret":"the api secret",
	"username":"my user",
	"password": "my password"
}

while the username and password provided are valid.

Context

  • Hardware: dedicated server
  • YunoHost version: 12.0.6 (and previous)
  • I have access to my server: Through SSH & through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: wallabag2 version 2.5.4~ynh8

Steps to reproduce

  • have the Firefox extension Wallabagger configured to save article in Wallabag hosted on yunohost.
  • tried to save a page
  • Wallagger indicate the error : Une erreur est survenue lors de la sauvegarde de l'article

Expected behavior

I expect to be able to save an article from Wallabagger as before, and as I can do with the Wallabag UI.

Logs

I wasn't able to get related logs (apart a related entry in nginx access.log)

@gwen-lg
Copy link
Author

gwen-lg commented Nov 9, 2024

How I can debug wallabag auth ? Enable debug logs ?

@bmp
Copy link

bmp commented Nov 25, 2024

I have the same issue on Version: 2.5.4 and Yunohost 12.0.7 (stable). All my Wallabag clients that were working earlier are now not working, I get the following error for all the clients, {"error":"invalid_client","error_description":"The client credentials are invalid"}

@curtosis
Copy link

Same invalid grant error for me (2.5.4, Yunohost 12.0.9 (stable)). In the console the only thing I see is an HTTP 400 response.

@mediaformat
Copy link

I was able to restore from version 2.5.4~ynh4 (which works)

If you don't have that version backed up, you can uninstall the app (doesn't remove the data), and reinstall the last working version:

yunohost app install https://github.com/YunoHost-Apps/wallabag2_ynh/tree/088f79ee1b99138e26319231062a21965b6d23d1

Via @lapineige on the forum

@lapineige
Copy link
Member

#228

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

5 participants