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 10.28.0.131:47272->104.17.151.66:443: 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 https://api.lightspeedapp.com/API/Account/{some_account_id}/Sale.json.

1 comment

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 140 moderator

    Hi,

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

Sign In or Register to comment.