Skip to content

Conversation

@sanahabhimani
Copy link
Contributor

Description

Handling the following error for the flowmeter; noticed that pump skid 1 required frequent restarts due to this:

2024-03-22T10:08:04+0000 acq:0 CRASH: [Failure instance: Traceback: <class 'requests.exceptions.ConnectionError'>: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Motivation and Context

Need to implement connection error handling in agent

How Has This Been Tested?

Hasn't been tested at the site---currently have pump skid 1 agent with error handling running on daq-dev in case a connection error comes up soon. At the time of submitting this PR, no connection error has yet occurred.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@sanahabhimani sanahabhimani self-assigned this Mar 22, 2024
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment, otherwise looks good!

@BrianJKoopman BrianJKoopman self-requested a review March 22, 2024 20:10
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the update!

@sanahabhimani
Copy link
Contributor Author

also, for completeness: just got the alarm that this flowmeter agent crashed once again at the site. the dev version running in the background did catch it

@BrianJKoopman BrianJKoopman merged commit f2e0e38 into main Mar 22, 2024
@BrianJKoopman BrianJKoopman deleted the flow-errorhandle branch March 22, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants