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.
 

An existing connection was forcibly closed by the remote host.

Author
Blacksmoke16
Resilience.
#1 - 2017-01-16 14:01:32 UTC  |  Edited by: Blacksmoke16
I have a strange issue when developing with the XML API. Whenever making a request to retrieve XML API data I get this error: 'An existing connection was forcibly closed by the remote host.'

The strange thing about it is:

Only happens in ruby/rake, python/chrome/postman all return successfully.
Only happens on windows, Linux server is able to complete the task just fine (it is on the same network as the windows PC).

I had this issue in the past but it usually just went away after trying the task a few more times. However, now it happens every time no exception. I am not sure if this is something on my end or the XML API just doesn't like Ruby.

Any ideas?

I included the error trace information as an attachment. Need anything else let me know.

Error
Bloemkoolsaus
Deep Core Mining Inc.
Caldari State
#2 - 2017-01-16 14:41:38 UTC
It's an SSL error. Usually means the HTTPS handshake failed. Check you are sending the correct SSL headers.
Blacksmoke16
Resilience.
#3 - 2017-01-16 15:50:32 UTC  |  Edited by: Blacksmoke16
Thanks for the tip. It seems the issue only happens in ruby development environment. If i switch to production it works fine. I will continue to mess around with it and see if i can figure out why.

EDIT: Seems switching to production mode doesn't work now either :(
Blacksmoke16
Resilience.
#4 - 2017-04-13 04:30:45 UTC  |  Edited by: Blacksmoke16
Happening again :(

Only seems to happen in Rubymine. Can use HTTParty on command line and returns fine.

EDIT: Seems to only happen for a given endpoint at a time.
EDIT2: As of now it seems to only be occurring for the crest endpoints, esi seems fine.
Tonto Auri
Vhero' Multipurpose Corp
#5 - 2017-04-13 13:39:56 UTC
What have you done to debug your issue?

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Blacksmoke16
Resilience.
#6 - 2017-04-13 14:49:58 UTC
I have concluded it's just an intermittent error somewhere along me and the CCP servers.