read: connection reset by peer

tonyQMtonyQM Member Posts: 2

Hi, I'm sometimes getting this kind of error when querying the Lightspeed API:

read tcp> read: connection reset by peer

I'm wondering if there is somehow a limit on the number of opened connections ? I know there's an API rate limit that we already handle, but not sure if it's related to this error. We appear to be getting this error when we do a lot of POST/PUT requests. For example, we got that error by calling{some_account_id}/Sale.json.

1 comment

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 183 moderator


    Reducing the amount of open connections and cleanly shutting down the open connections should solve this issue.

Sign In or Register to comment.