JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 21.01.2018, 17:27
raptor2003 raptor2003 is offline
DSL User
 
Join Date: Dec 2012
Posts: 38
Default Jdownloader API Token

Hi,

I crafted myself a website somewhere between 1 and 1 1/2 years and plugged it between a RSS reader API and the Jdownloader API.

Everything is working perfectly and the code has not changed much on my side.

When I log in to the API, it saves all the needed tokens in cookies.
When I refresh the page, it makes a "listdevices" call. No issue on this side.

Now I started to have some "issues" with the RegainToken a few months back.

I log in a T0.
From T0 to T+5, if I refresh the page, I'm still logged in the API and the listdevices call is working as expected.
From T+5 to somewhere like T+19 or T+20, I have the TOKEN_INVALID and I'm able to reconnected to the API and refresh the tokens via the reconnect call.
But after T+20 I get the AUTH_FAILED error and I'm unable to reconnected to the API and have to redo the connection with user+password again.

I used to the able to use the reconnect call 24hours after the initial connection but now it looks like the regaintoken is only valid for somewhere arround 20 minutes.

Is this a bug in the API or something has changed to make the regaintoken's life so short ?

It is a bit annoying to have to do the complete reconnection only 20 minutes after the initial one.

Thanks.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:38.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.