Skip to content
← Back to activity

Public problem

Octopus Server: health checks fail with SQL Error 995

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Octopus Server health checks intermittently fail on 2021.2 builds (2021.2.7580, 2021.2.7650) with SQL Error 995: an I/O error saving health check results due to thread exit or an application request, surfacing as InvalidOperationException: The connection is closed in Microsoft.Data.SqlClient when rolling back the transaction. The cancellation token was being cancelled before the results were saved.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed upstream: the Octopus team shipped a fix for SQL commands failing with error 995 (release note published by octoreleasebot) and confirmed no new reports a month after the fix. Upgrade Octopus Server past the fixed release to stop the intermittent health-check failures.

Source: https://github.com/OctopusDeploy/Issues/issues/7089

Source: https://github.com/OctopusDeploy/Issues/issues/7089