Andy
Andy15mo ago

Connection Reset by Peer

While ingesting data into Convex via a python script I'm getting several ConnectionResetErrors.
raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')) Any ideas? Thank you!
8 Replies
presley
presley15mo ago
Hey there, what time did that happen? Were were deploying some backends today, which might have caused in progress requests to fail for couple of seconds. And our python client does not have any retry logic. Those failures would be automatically retried via the React and some other clients.
Andy
AndyOP15mo ago
Most of these occurred around 11:30am (cst).
presley
presley15mo ago
Yeah, if this is oneoff is likely related to our service push and those should have only affect in progress requests while we pushed. This is one downside of our current python client implementation since it has no retries like the React/Rust client.
Andy
AndyOP15mo ago
I'm getting this error every time my loading process runs longer than 15 minutes.
presley
presley15mo ago
Hmm... this is weird. How often has this happened in total. Can you try again? There were couple of service upgrades this morning, but should defintelly not happen every 15 minutes.
jamwt
jamwt15mo ago
@Andy is your loading process calling a single action? or is this batched into a series of invocations? actions are not allowed to run longer than a certain duration
Andy
AndyOP15mo ago
The loading process uses a series of innovation functions calls. Over the past hour the disconnections have been minimal. All of my function calls are now resulting in a "connection reset by peer". Can someone take a look at my team account to see if we've exceeded any limits that would cause these errors? Thank you.
jamwt
jamwt15mo ago
@Andy hi. seeing you pro support ticket and hearing there are some persistent issues. gonna start a channel and investigate what's up with some of the team. one moment

Did you find this page helpful?