| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Trent Angelus
The Inevitable Corp
|
Posted - 2010.06.08 06:42:00 -
[1]
Edited by: Trent Angelus on 08/06/2010 06:41:58 According to a recent devblog and this page Linkage, the cache timer on this API is supposed to be 6 hours for the full list of notifications and new ones every 30 minutes. However I cannot get it to work like it says on the tin.
- The first hit works as intended and I get the full list.
- If I hit the API again in a few seconds I get Error 526: Notifications for this character are not yet accessible. So far so good.
- If I then wait 35 minutes and hit it again, I get Error 526: Notifications for this character are not yet accessible. Hmm.
- If I wait an hour or two I get Error 526: Notifications for this character are not yet accessible.
- Seemingly at random somewhere in the next few hours (but less than 6) I can retrieve the full list again.
- Waiting 6 hours before hitting again resets the API as intended.
What have I missed? __________________ Alliance Website |

Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.08 08:38:00 -
[2]
Yeah, the buggy behaviour of this API changed again. You can even skip step 2 of your list. In my tests the 526 error message now came with a cachedUntil value 6 hours from your last successful query. --
Originally by: Zeke Mobius I swear the catholic church was faster at admitting the earth was round than CCP at fixing stuff.
|

Trent Angelus
The Inevitable Corp
|
Posted - 2010.06.08 10:45:00 -
[3]
I'm running a script that downloads this API every 35 minutes, checks for important notifications like wardecs, POS Fuel / attack notices and emails me if it finds any.
I'll be able to check the downloaded xmls for a more scientific answer and then I might have to make a bugreport. __________________ Alliance Website |

Meno Theaetetus
Wildly Inappropriate Wildly Inappropriate.
|
Posted - 2010.06.08 23:20:00 -
[4]
Confirmed:
<currentTime>2010-06-08 21:22:56</currentTime> <error code="526">Notifications for this character are not yet accessible.</error> <cachedUntil>2010-06-09 02:19:16</cachedUntil>
CCP is this to stay, or is it a mistake?
I have written a jabber bot that reports notifications to a jabber channel, finding out that someone attacked something 6 hours later is not worth it.
Also whilst we are on the subject, please, please, please could you add some context to the notification, you allow message title/header in mails so why not from the notifications?
|

Trent Angelus
The Inevitable Corp
|
Posted - 2010.06.09 00:00:00 -
[5]
OK, here we go.
<currentTime>2010-06-08 12:00:03</currentTime> <result> (successful rowset goes here.) <cachedUntil>2010-06-08 12:30:04</cachedUntil>
<currentTime>2010-06-08 12:35:03</currentTime> <error code="526">Notifications for this character are not yet accessible.</error> <cachedUntil>2010-06-08 18:00:04</cachedUntil>
It didn't work again until
<currentTime>2010-06-08 18:00:05</currentTime> <result> <cachedUntil>2010-06-08 18:30:05</cachedUntil>
At the proscribed 18:30 I got this:
<currentTime>2010-06-08 18:35:02</currentTime> <error code="526">Notifications for this character are not yet accessible.</error> <cachedUntil>2010-06-09 00:00:05</cachedUntil>
But then, bizarrely it next worked at:
<currentTime>2010-06-08 20:35:02</currentTime> <result> <cachedUntil>2010-06-08 21:05:02</cachedUntil>
Only two hours later. My next retrieve wasn't until 21:35.
<currentTime>2010-06-08 21:35:02</currentTime> <error code="526">Notifications for this character are not yet accessible.</error> <cachedUntil>2010-06-09 02:35:02</cachedUntil>
=====
So from this we can see the 30 minute update does not seem to be working at all for me, even though it is alluded too when the full update comes through. The six hour caching is described by each error message, but is not always six hours.
Presumably at 02:35 today I will get another full retrieve with a 30 minute cacheduntil. __________________ Alliance Website |

Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.09 08:21:00 -
[6]
Originally by: Trent Angelus I might have to make a bugreport.
I did bug report this already and linked this thread, too. --
Originally by: Zeke Mobius I swear the catholic church was faster at admitting the earth was round than CCP at fixing stuff.
|

Dragonaire
Caldari Corax. New Eden Retail Federation
|
Posted - 2010.06.09 23:18:00 -
[7]
Yeah hopefully they fix it because it's mostly useless as it is now Never understood why they didn't just have a normal 15-60 minute timer instead of what they tried to do to start with and have it return everything  -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|

Trent Angelus
The Inevitable Corp
|
Posted - 2010.06.11 01:29:00 -
[8]
My script has been returning the full result every 6 hours only, and error 526 each other time since I started hitting the API every 30 minutes.
Dear Devs, please look at this API for us!  __________________ Alliance Website |
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |