Forum Discussion

API_User's avatar
API_User
Equinix Employee
5 years ago

ECONNRESET Error while calling API

Hi,
I've been doing POST /power/v1/current for levelType of 'cabinet' for awhile now. But every once in a while (6 hours - 24 hours), the endpoint would return me with an error ECONNRESET. I've checked online and it states that this error usually means that connection on the other end (Equinix) got closed.
Here's a list of APIs my application is executing every now and then:

GET /alarm/v1/smartview/alarms
GET /environment/v1/listCurrent for levelType of 'ibx'
POST /power/v1/current for levelType of 'ibx'
POST /power/v1/current for levelType of 'cabinet'

And only the mentioned endpoint is receiving this error.
Currently, I've set the timeout to 300s for the request as the response from you guys is pretty huge.

No RepliesBe the first to reply

Featured Places

  • Node avatar for Discussions

    Discussions

    Engage with industry experts, share insights, ask questions, and grow your network.
  • Node avatar for Ideas

    Ideas

    We're listening! Submit your ideas to shape the future of Equinix!
  • Node avatar for Groups

    Groups

    Ready to collaborate? Join a Group or upcoming beta program.
  • Node avatar for What's New

    What's New

    Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.
  • Node avatar for Events

    Events

    Your Guide to Upcoming Events - Online, Hybrid, and In-Person!