These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

api.eveonline.com update

First post
Author
CCP illurkall
C C P
C C P Alliance
#1 - 2012-11-27 16:03:54 UTC
A minor update has been running on https://api.testeveonline.com for some time, see here.

The plan is to deploy this to TQ tomorrow Wednesday at around 10:00 GMT. There should only be a few second downtime of the API while we switch over to the new version.

The changes are mostly internal:

  • Removed uneccessary IIS and .net related HTTP headers
  • Removed the cache-control header (now that we are on https only there is no way to cache responses on proxies anyway)
  • - This was causing issues for some VBA code in Excel
    - If anyone is using or providing a HTTPS->HTTP proxy service for the API you need to be aware of this as it will allow non-HTTPS proxies to start caching your private information. If you stay on HTTPS it is not an issue.
  • Replaced the underlying distributed cache service (shouldn't affect anything but please report to this thread if you notice anything weird)
  • Preparing for enabling gzip for XML endpoints
  • - I will start introducing gzip to the XML endpoints while closely monitoring what effect it has on the API server machines the day after deployment.

iskflakes
#2 - 2012-11-27 21:52:40 UTC
Thanks for letting us know. My software usually hangs if it encounters any API downtime because it's so badly written, so at least now I can restart it before the angry EVE mails arrive (they always do).

-

CCP illurkall
C C P
C C P Alliance
#3 - 2012-11-28 12:08:54 UTC
This was done at 10:00 this morning. Forgot to notify this thread, sorry.
Somerset Mahm
Cognitive Distortion
#4 - 2012-11-28 15:48:04 UTC
Worked fine for several hours (so I'm glad it's not related to the switch), but now API calls seem to be failing:

2012-11-28 15:40:47.091
INFO: Operation too slow. Less than 10 bytes/sec transfered the last 12 seconds for API https://api.eveonline.com/corp/WalletJournal.xml.aspx
2012-11-28 15:41:01.388
INFO: Operation too slow. Less than 10 bytes/sec transfered the last 12 seconds for API https://api.eveonline.com/corp/AccountBalance.xml.aspx
2012-11-28 15:41:01.768
INFO: 503 Service Unavailable for API https://api.eveonline.com/corp/Contracts.xml.aspx
2012-11-28 15:41:02.469
INFO: 503 Service Unavailable for API https://api.eveonline.com/account/APIKeyInfo.xml.aspx

SOMER Blink Microlotteries that finish in minutes! Running for over 2 years :)

Desmont McCallock
#5 - 2012-11-28 15:53:52 UTC  |  Edited by: Desmont McCallock
I'm experiencing the same latency. Responses delays, often result to request timeouts. Wasn't sure if it was on my end though.
Captain Vampire
Perkone
Caldari State
#6 - 2012-11-28 16:00:32 UTC
Is there any new API calls coming, ie - CREST? I keep seeing rumors on unofficial pages but yet to find anything official. Maybe I'm not looking in the right place?

Something I have needed recently is a call for corp bookmarks, ie. What systems we have them in. Any chance of this in the future?

To know your Enemy, you must become your Enemy.

Yes we already have spies in your corp muwhahahaha

Desmont McCallock
#7 - 2012-11-28 16:40:27 UTC
Captain Vampire wrote:
Is there any new API calls coming, ie - CREST? I keep seeing rumors on unofficial pages but yet to find anything official. Maybe I'm not looking in the right place?

Something I have needed recently is a call for corp bookmarks, ie. What systems we have them in. Any chance of this in the future?
CREST thread this way --> https://forums.eveonline.com/default.aspx?g=posts&t=126928
Cyerus
University of Caille
Gallente Federation
#8 - 2012-11-28 17:56:26 UTC  |  Edited by: Cyerus
Desmont McCallock wrote:
I'm experiencing the same latency. Responses delays, often result to request timeouts. Wasn't sure if it was on my end though.


Wasn't your script, was the API servers.
Even saw them crash today, CCP already informed (big thumbs up for PrismX being on IRC and notifying Ops for us!).

Not sure if it's fixed yet, but I've disabled my API calls for now.
Risingson
#9 - 2012-11-28 23:38:18 UTC
api still times out a lot !
CCP illurkall
C C P
C C P Alliance
#10 - 2012-11-29 10:30:15 UTC
Performance has hopefully stabilized but we are not entirely out of the woods yet. We believe this to be an issue with our distributed cache solution introduced in yesterday's deployment and have reverted to the previous version of the API on some of the machines in the cluster while we figure this out.
I will keep this thread updated on our progress.
Desmont McCallock
#11 - 2012-11-29 12:36:57 UTC  |  Edited by: Desmont McCallock
Probably you are trying your distributed cache solution again, cause timeouts returned.

Update: Seems that they have stopped now.
CCP illurkall
C C P
C C P Alliance
#12 - 2012-11-29 16:50:59 UTC
The API has been fully reverted to its previous state. The distributed cache configuration just couldn't handle the load and we will need to take this experience to the lab and figure out our next move.
Nnaem Kvorr
Fleet-Up.com
Keep It Simple Software Group
#13 - 2012-11-30 13:38:09 UTC
CCP illurkall wrote:

  • Preparing for enabling gzip for XML endpoints
  • - I will start introducing gzip to the XML endpoints while closely monitoring what effect it has on the API server machines the day after deployment.
    [/list]


    This. :)

    Fleet-Up.com - Your fleet operations, on steroids.

    Karbowiak
    State War Academy
    Caldari State
    #14 - 2012-11-30 17:13:48 UTC
    CCP illurkall wrote:
    The API has been fully reverted to its previous state. The distributed cache configuration just couldn't handle the load and we will need to take this experience to the lab and figure out our next move.


    Does this mean GZIP is put on the backburner ? Cry
    CCP illurkall
    C C P
    C C P Alliance
    #15 - 2012-12-03 23:42:21 UTC
    Until we figure this out then yes. This week will be quite busy deploying Retribution but I plan to revisit this as soon as possible. Just can't promise a set time as I need backup from more people to finish this.