xata-py icon indicating copy to clipboard operation
xata-py copied to clipboard

ConnectionError on XataClient.data().query()

Open valinmalach opened this issue 7 months ago • 0 comments

I have a script that runs every minute that reads data from a table with XataClient.data().query(), and randomly, when making said query, it will throw a ConnectionError with the following message: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). Sometimes I would get the error every few minutes, sometimes it would be hours before it throws the error again.

A week ago, I only got this error like 3 to 5 times a day. Now, I'm starting to get at least a dozen of them per day

valinmalach avatar Mar 27 '25 07:03 valinmalach