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

Re-login feature is not working #321

Open
papuass opened this issue Sep 27, 2019 · 10 comments
Open

Re-login feature is not working #321

papuass opened this issue Sep 27, 2019 · 10 comments

Comments

@papuass
Copy link
Contributor

papuass commented Sep 27, 2019

image
Unfortunately I do not have more details to share.
I am using Huggle on lvwiki. After some hours Huggle has lost connection and asks if it should relogin. When I try that, I get this error which does not explain a lot.

@benapetr
Copy link
Member

Hello, which version of Huggle is that? I believe later versions produce more verbose errors, also it's possible to run Huggle with option --qd which dump RAW API traffic into a file, in that file you would see exact response from MediaWiki

@benapetr
Copy link
Member

btw that "Failed" is not error message from Huggle, that is actual response from api.php, result=Failed, but there are probably more details in the XML returned from api.php

@papuass
Copy link
Contributor Author

papuass commented Sep 27, 2019

Version: 3.4.9 build: 3809 3.4.9
Are these responses logged somewhere?

@benapetr
Copy link
Member

they will be if you start Huggle with parameter --qd there should be file called querydump.dat (I think in directory from which you start Huggle) and in this file you will see RAW traffic between Huggle and MediaWiki

@benapetr
Copy link
Member

also if you start Huggle in verbose mode (-vvv) there would be many more information in system logs related to what is going on

@papuass
Copy link
Contributor Author

papuass commented Sep 27, 2019

Thanks, I will get back with more data then.

@papuass
Copy link
Contributor Author

papuass commented Sep 27, 2019

Running in verbose mode:
This is what I get in log (trying to patrol change) when Huggle has timeouted, but has not yet offered to re-login:

DEBUG[1]: Query failed: assertuserfailed details: See https://lv.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce for notice of API deprecations and breaking changes.

Did not manage to get querydump.dat yet.

@benapetr
Copy link
Member

benapetr commented Jul 2, 2021

is this still an issue? :)

@CyanoTex
Copy link

CyanoTex commented Oct 17, 2021

is this still an issue? :)

huggle_Sy8aqxBfCe - 17-10-2021 at 03-51-02 PM

I get this instead, and I'm pretty sure the deprecation of some MediaWiki side stuff might be the culprit.

@OverlordQ
Copy link

I get this still and --qd does not seem to output anything

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