ZiniGo icon indicating copy to clipboard operation
ZiniGo copied to clipboard

Application terminates without downloading anything

Open BlackB846 opened this issue 2 years ago • 25 comments

Hi,

up until recently, the program worked fine. I tried to download the newest issues today and the app terminated without doing anything ("Terminating the application...").

Any idea if Zinio changed their web service?

Thanks

BlackB846 avatar Aug 17 '22 12:08 BlackB846

Seems to be working again - no idea if it was an issue on their web site.

BlackB846 avatar Aug 20 '22 00:08 BlackB846

Hi, I had same problem when i run the app terminated without doing anything.

Config file loaded Username taken from config file password taken from config file chromepath taken from config file Terminating the application...

jmskuo avatar Aug 29 '22 02:08 jmskuo

I can confirm @jmskuo - the problem is back. I've tried for several days but the app terminates without downloading anything nor displaying the list of downloaded magazines.

BlackB846 avatar Aug 31 '22 21:08 BlackB846

Same problem here... Indeed, one month ago everything was working fine...

It seems it's a "login" issue :

  • all steps are executed but no library are found
  • when dumping the URL used and the response, it seems that usertoken is empty when trying to retrieve the list of libraries (second step) (i.e., in "GetLibrary", line "https://zinio.com/api/newsstand/newsstands/101/users/"+userToken.Data.User.UserIDString+"/library_issues?limit="+strconv.Itoa(issuesToFetch)+"&page="+strconv.Itoa(pageToFetch), the userToken.Data.User.UserIDString stuff is empty : response is {"status":false,"error":{"message":"Invalid Json Web Token in AsyncMiddleware","internal_code":"INVALID_TOKEN"}}
  • about login (first step), the URL triggered is https://www.zinio.com/api/login :
    • for now it seems to render a {"status":false,"error":{"message":"Route not found in ApiRouter","internal_code":"CONTENT_ERROR"}} response (when the URL is used in a browser)
    • more interestantly, when executing the Zinigo code, i get this response {"status":false,"error":{"message":"There have been validation errors: Invalid value: device = undefined,Invalid value: newsstand = undefined","internal_code":"INVALID_PARAMS"}}

But i'm not able to go further / i don't know where the ZINIO API is described.

SR-G avatar Sep 06 '22 21:09 SR-G

Can confirm same issue on both API endpoints

hieronymousch avatar Sep 18 '22 15:09 hieronymousch

If i add a "device" entry in the AUTH JSON token, i then get a "Invalud value: newsstand = undefined" error (instead of the error about "device").

But then i'm not able to add a "newsstand" (= something) value, i always get a "Incorrect JSON structure" error (if i remember correctly) (maybe it's a whole object that is expected and not a value).

Anyway not able to progress further + it seems these login API are not used by the official web client itself

SR-G avatar Sep 18 '22 15:09 SR-G

I am still having this issue / haven't been able to get the software started yet on my Windows 11 PC- the best I have been able to do is have the console run when opening Ziniogo exe... and then it randomly closes. Have found the readme confusing slightly. Any help?

TheBanana926 avatar Sep 21 '22 06:09 TheBanana926

I had the same problem.....

elton667 avatar Sep 27 '22 13:09 elton667

Any updates on this, I have the same problem?

OnoBeachBum avatar Oct 06 '22 02:10 OnoBeachBum

I'll try take a look into these issues - it seems they've added a few new fields into their API.

TheAxeDude avatar Oct 16 '22 08:10 TheAxeDude

Thanks for you time and happy to support with some coffee or patreon!

hieronymousch avatar Oct 16 '22 16:10 hieronymousch

Hi all, newly built binaries here: https://github.com/TheAxeDude/ZiniGo/tree/master/built - please let me know if they work okay? I havent been able to test on any platform except windows.

TheAxeDude avatar Oct 21 '22 14:10 TheAxeDude

Tested just righ now on linux (archlinux), hence "Linux_AMD64" binary : everything is working fine now.

Thanks for this update !

SR-G avatar Oct 21 '22 15:10 SR-G

Same here, thanks a lot for this!!

hieronymousch avatar Oct 21 '22 21:10 hieronymousch

Works great for me, Thanks!

OnoBeachBum avatar Oct 21 '22 21:10 OnoBeachBum

Download works great using the 64bit Windows version on a Windows 11 machine.

I'm getting a sort of degub dump on the screen when the app starts up - possibly a list of data it retrieves incl. a "Fetching page: xxx" every now and then. Once that dump is over, the remaining output is the same as before.

BlackB846 avatar Oct 22 '22 07:10 BlackB846

windows 11 OK Thanks for this update !

elton667 avatar Oct 22 '22 14:10 elton667

I tried the x64 version on both Windows 10(21H2) and Windows 11 (22H2) and it works fine. No problems.

From: James Kuo @.> Sent: Saturday, October 22, 2022 10:02 AM To: TheAxeDude/ZiniGo @.> Cc: OnoBeachBum @.>; Comment @.> Subject: Re: [TheAxeDude/ZiniGo] Application terminates without downloading anything (Issue #26)

I still got {"status":false,"error":{"message":"Invalid Json Web Token in AsyncMiddleware","internal_code":"INVALID_TOKEN"}} error message on windows 11.

— Reply to this email directly, view it on GitHub https://github.com/TheAxeDude/ZiniGo/issues/26#issuecomment-1287818879 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGMBRAAWVUPKFIX432AFLTWEP6XXANCNFSM56ZNIIWA . You are receiving this because you commented. https://github.com/notifications/beacon/AXGMBRFTM27TA3UPFHJX5FLWEP6XXA5CNFSM56ZNIIWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJTBI47Y.gif Message ID: @.*** @.***> >

OnoBeachBum avatar Oct 22 '22 16:10 OnoBeachBum

seems to be working pretty well in Apple M1. Thanks a lot cheers

gabag30 avatar Oct 22 '22 19:10 gabag30

I'm getting this.

GettingLogin GotLogin Fetching Library Fetching page:1 {"status":false,"error":{"message":"Invalid Json Web Token in AsyncMiddleware","internal_code":"INVALID_TOKEN"}} Terminating the application...

lvthunder avatar Dec 04 '22 06:12 lvthunder

Getting same response: GettingLogin GotLogin Fetching Library Fetching page:1 {"status":false,"error":{"message":"Invalid Json Web Token in AsyncMiddleware","internal_code":"INVALID_TOKEN"}} Terminating the application...

Neon22 avatar Dec 17 '22 04:12 Neon22

Are you still getting this issue? Just tried it on my side with no issue. Also, did it work before?

TheAxeDude avatar Dec 18 '22 17:12 TheAxeDude

Yes, I'm still getting it. When I posted was the first time I've tried using this.

lvthunder avatar Dec 18 '22 18:12 lvthunder

Interestingly I get the same output if I deliberately use a wrong password. Its possible some other thing is wrong with my input (using the config file) that the feedback is indicating is right but is wrong.. Hmmm.

Neon22 avatar Dec 18 '22 19:12 Neon22

Two possible solutions if you still get this:

  1. Go to zinio.com, login, go to Account, Manage Devices. Log out any of the Chrome sessions that may correspond to ZiniGo
  2. Remove your Chrome (or Chromium) config folder; move or delete it.

Doing both and I have not seen the issue return.

jessienab avatar Feb 21 '23 14:02 jessienab