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 server error ? SSL dont work?

Author
Bael Gar
Russian SOBR
DarkSide.
#1 - 2012-11-03 21:05:47 UTC
When Im trying to get

https://api.eveonline.com/corp/AssetList.xml.aspx?keyID= .... &vCode= .....

I am very frequently receiving error page:
Quote:

Server Error in '/' Application.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a customErrors tag within a "web.config" configuration file located in the root directory of the current web application. This customErrors tag should then have its "mode" attribute set to "Off".



What does this mean? Server overloaded? Corporation Asset List too large to handle ?
When Im trying to get this URL with CURL (by PHP) I always receive "Internal Server Error 500"
and "2012-08-15 11:04:24: (connections.c.1762) SSL (error): 5 -1 32 Broken pipe " in server logs.

This never happened to me when I was using HTTP protocol.
May be that was not good idea to remove availability of api server via simple HTTP protocol?



Aethlyn
Brutor Tribe
Minmatar Republic
#2 - 2012-11-03 22:34:26 UTC  |  Edited by: Aethlyn
There happened some server side error. For security reasons the real error isn't shown to you. Instead you see the page you've got. Ignore the rest of the page. The instructions are meant for tech staff to identify and fix this error (i.e. so they're able to avoid the page you've got seeing the real error).

Just check the returned HTTP response (number) you receive in the HTTP header. In this case it's 500, which simply means there's some server side issue, there's nothing you can do and you should just wait and retry later.

In comparison, HTTP and HTTPS are the same for the server (there's no real difference for scripts run on the server etc.). The only real difference is the added encryption. That will make the overall connection a bit slower, but it shouldn't affect stability or anything like that. In other words: If some data breaks the API over HTTPS, it would have broken it over HTTP as well.

Looking for more thoughts? Follow me on Twitter.

Bael Gar
Russian SOBR
DarkSide.
#3 - 2012-11-03 22:41:33 UTC
Is there any way to know my IP or Api key blacklisted?

I constantly receiving error for 5-7 out of 10 eve api calls.

Aethlyn
Brutor Tribe
Minmatar Republic
#4 - 2012-11-03 22:43:51 UTC
I'd expect them to print a sane reason in a standard response (similar to having a wrong key provided).

You could use a service like http://web-sniffer.net/ to pull an API request for you. It will only print the HTTP headers for you, but should still give you enough information (just check the status code).

Looking for more thoughts? Follow me on Twitter.