SSIS packages failing with a status "ended unexpectedly" (SSL/TLS timeout ?)

  • We have an issue where SSIS packages are failing with a status of "ended unexpectedly" within 30 - 60 seconds after scheduled start. This issue is transient and not specific to any SSIS package. After rebooting the server, packages will run normally for a couple of weeks but then start to fail a few at a time, with failures becoming more frequent until another server reboot.

    For these failed runs, no messages are logged in [operation_messages], so no detail is available.

    Re-starting SQL Server service or SSIS runtime (MsDtsServer) alone does not resolve, only restarting Windows server will temporarily resolve for about a week or two.

    Installing latest CU did not resolve, and we're currently running on:

    Windows Server 2022 Standard - Build 20348

    SQL Server 2019 Enterprise - CU32

    When the issue presents itself, there is no evidence of memory pressure, high CPU load, or high I/O load, and I don’t see any recent SSIS dump files.

    However, looking at Windows event log, there does appear to be a correlation with the following error:

    The SSIS Execution Process could not write to the IS catalog: MYSERVER:SSISDB Error details: Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=14684; handshake=0; ;

    I'm pretty sure this has something to do with SSL/TLS configuration or some accumulating low resource, but I'm not sure how to address this.

    Any ideas?

     

     

     

     

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • The “pre-login handshake” error is very specific — it usually means something is wrong with SSL/TLS negotiation between the process trying to run SSIS (like Agent or SSIS Catalog) and the SQL engine (which stores and executes packages via SSISDB). So even before anything "runs," the package is failing to connect securely.

    This kind of error is often seen when:

    TLS protocols (like TLS 1.2) are misconfigured or partly disabled

    1. There’s a port/socket exhaustion going on (too many connections left open over time)

    2. Anti-virus or endpoint protection is interfering with encrypted traffic

    3. There's a buggy update or memory handle leak affecting crypto or network stack

    4. You also mentioned no SSIS dumps, which suggests the failure is happening outside the SSIS runtime — it's crashing before the engine even gets involved. That fits with TLS handshake timeout.

    If you want I can come on a call and try to work with you to troubleshoot the error

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply