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.
 

EVE API Issues?

First post
Author
MrRx7
Space Men
#1 - 2014-08-23 22:41:18 UTC
For the past 12 hours or so all of my API related scripts are taking much longer to complete if they even do. When I add additional debug output to the scripts I'm seeing it hang around the period of the API call. It does not seem to be a constant delay either sometimes a pull of /corp/MemberTracking takes 2 seconds and sometimes it never returns data at all.

This is effecting homegrown scripts as well as some of the wildly known PHP API Claases.


Is anyone else experiencing this or did I get rate limited without notification?
CCP FoxFour
C C P
C C P Alliance
#2 - 2014-08-23 22:54:05 UTC
Hmmmmmm

Took a quick look and the average response time of the API for the last 12 hours has been between 125ms and 150ms.

Would love to know if others are experiencing this, if so what endpoints and where are you located.

It is the weekend so anything changing on our end is pretty unlikely until at least Monday, but more details would be awesome. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#3 - 2014-08-24 00:37:52 UTC
Hmmmmm was looking at the API stats for something unrelated, and yea... some of those requests are taking WAAAAAAAAAAAAAAAAAAAAAAAAY to long. Will try and do some digging next week. Sorry about that!

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Max Kolonko
Caldari Provisions
Caldari State
#4 - 2014-08-24 01:08:27 UTC
had similar issues. a lot of my CRON jobs ended with timeout with error mail from server cron service yesterday
MrRx7
Space Men
#5 - 2014-08-24 17:37:39 UTC
CCP FoxFour wrote:
Hmmmmm was looking at the API stats for something unrelated, and yea... some of those requests are taking WAAAAAAAAAAAAAAAAAAAAAAAAY to long. Will try and do some digging next week. Sorry about that!



Thanks for looking at it :)


I'm pulling the several different endpoints in my cron job and here's what I'm seeing (assuming it gets that far before dieing)
/corp/MemberTracking - Either does not respond or takes 5-10 seconds.
/eve/AllianceList - Almost never completes
/corp/Standings - Almost never completes
/eve/OutpostList - Never gets here :(

I did notice for whatever reason the Pherl API Class seems to have a higher success rate that my manual CURL pulls. Its still failing more often than not but perhaps its something about CURL that the api server is not liking? I'm not doing anything special with curl and this code has been working for just about as long as the API has existed heh.

Quote:

$url="https://api.eveonline.com/eve/AllianceList.xml.aspx";
//Begins connecting to eve api
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
//Create XML Parser
$dddd = curl_exec($ch);
print "pulled api\n";

$xml = new SimpleXMLElement($dddd);
curl_close($ch);

print "parsed data into xml\n";
Bosence
Frog Morton Industries
#6 - 2014-08-25 00:38:34 UTC
MrRx7 wrote:


[...]



Could it be because you're not explicitly stating a timeout in your cURL requests? I don't know what the default timeout is for cURL, but it's possible it's lower than the Pherl API Library.
Alta Vista
Space Phoenicians
#7 - 2014-08-25 08:19:28 UTC  |  Edited by: Alta Vista
I've got the same problem with the CREST API /industry/systems/.
It works sometime but mostly it does'nt work and I recover only a part of the response.

On the other side, it works always with the CREST API /market/prices/.

I hope it will be repair with the correction done to the classical API.

Thanks for looking that :)
CCP FoxFour
C C P
C C P Alliance
#8 - 2014-08-25 12:58:07 UTC
Can you guys let me know if you are still having any issues with the API or public CREST.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Alta Vista
Space Phoenicians
#9 - 2014-08-25 16:56:25 UTC  |  Edited by: Alta Vista
There is no more issue with the CREST, for me.

Thanks for your efficiency and your rapidity for the correction.
Kivorno
Myanapa Corsica
#10 - 2014-08-26 11:34:58 UTC
I'm getting quite a few issues on the api.eveonline.com pages:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code -1073741502.

Show Detailed Compiler Output:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044

Proud creator and developer of Eve-Merchant / Eve-Merchant Sprint

CCP FoxFour
C C P
C C P Alliance
#11 - 2014-08-26 14:55:15 UTC
Kivorno wrote:
I'm getting quite a few issues on the api.eveonline.com pages:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: The compiler failed with error code -1073741502.

Show Detailed Compiler Output:

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18044


That should only have been for a few minutes after DT. Mistake on our end, sorry. Let me know if you are still getting it. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

MrRx7
Space Men
#12 - 2014-08-26 20:19:33 UTC
Seems to be working ok again, I re-enabled my cron jobs and they are happily chugging along.

Bosence wrote:

Could it be because you're not explicitly stating a timeout in your cURL requests? I don't know what the default timeout is for cURL, but it's possible it's lower than the Pherl API Library.


I thought that might be the case and manually set timeouts for each with no real change in the outcome error wise. The timeout allow the script to complete without hanging but the lack of data received from the server didn't change.