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

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

Issues, Workarounds & Localization

 
  • Topic is locked indefinitely.
 

Issue connecting to API and Crest via SSL and cURL

Author
Lunare Magic
Nova Libertine
#1 - 2015-04-19 10:08:31 UTC
Hi,

is there anything wrong the last days with Crest and the XML Api ?

In the last 5 days a few XML Api polls using cURL (via Pheal) face a lot of "Error: 35: Unknown SSL protocol error in connection to api.eveonline.com:443"-Errors and also requests to Crest fail with the same error message.
EVE-Lotteries
EVE-Lotteries Corporation
#2 - 2015-04-19 10:37:53 UTC
I have the same issue here...

You miss blink ? Come and play with us at EVE-Lotteries.com !

Proctor Davaham
Viziam
Amarr Empire
#3 - 2015-04-19 17:42:56 UTC
I am also having the same issues. My site runs on Dreamhost. The only endpoint that fails is the WalletJournal endpoint. Here's the error I get:

Warning: simplexml_load_file(): SSL: Connection reset by peer in /home/user/folder/eveAPIHelper.php on line 56

Warning: simplexml_load_file(): Failed to enable crypto in /home/user/folder/eveAPIHelper.php on line 56

Started about two days ago for me. Only on that end point, the other endpoints are all called the same way from my site.

Any ideas?
Lunare Magic
Nova Libertine
#4 - 2015-04-19 18:15:40 UTC
Looks like the Server resets some conections, even when not using HTTPS it drops API requests and reports similar to this:

Last status: 
Error: 0: cURL error 56: Recv failure: Connection reset by peer
File: /var/www/industry/vendor/guzzlehttp/guzzle/src/Event/RequestEvents.php:115


Just like your simplexml_load_file() call does.
Proctor Davaham
Viziam
Amarr Empire
#5 - 2015-04-19 19:04:42 UTC
I'm not sure what "Connection reset by peer" means. As soon as it request does the ApI server close it? Is there anything on our end we can do at this point?
Kaitai Noctus
Doomheim
#6 - 2015-04-19 19:31:01 UTC
Proctor Davaham wrote:
I'm not sure what "Connection reset by peer" means. As soon as it request does the ApI server close it? Is there anything on our end we can do at this point?

It means the existing TCP socket was abruptly (unexpectedly) closed by the server, usually via TCP RST.

The problem being discussed here has also been discussed in the following threads (and it's affecting more than just the API):

https://forums.eveonline.com/default.aspx?g=posts&t=419294
https://forums.eveonline.com/default.aspx?g=posts&t=419478
https://forums.eveonline.com/default.aspx?g=posts&t=419492

There is something wrong on CCP's end, or at layer 2/3 between all of us and CCP (i.e. networking problem). I suspect, as indicated in one of the aforementioned threads, that they have a load balancer problem or a server behind their LB which is misbehaving. It's gotten gradually worse over the past 48 hours, impacting the launcher as well:

https://forums.eveonline.com/default.aspx?g=posts&t=419530
https://forums.eveonline.com/default.aspx?g=posts&t=419253
https://forums.eveonline.com/default.aspx?g=posts&t=419505

TL;DR -- It's not you.