Integration Runtime Oracle database connection error ERROR [08S01] : [Socket closed, Connection Dead] | ERROR [HYT00] : [Timeout expired] | ERROR [HY000] : [Network Operation Timed Out]

Ruben Austefjord 6 Reputation points
2021-11-03T13:46:38.093+00:00

While connecting to an Oracle database from Azure Data Factory using Integratio Runtime we recieve the following error when executing pipelines that either does "Lookup" functions with typical "select * from ..." queries or in "Data Copy" functions writing to Oracle. The error occurs in roughly 10% of cases and appears to occur randomly. The pipelines are large and does multiple different calls of "Lookup" and "Data Copy" functions, the pipelines that have failed may be re-run sucessfully, fail in different functions which earlier might have succeeded or fail on the same functions. It appears to be some sort of scheduling/timing error though all timeout settings in Oracle has been set to over 10 minutes (The error appears in the timespan of 60-180 seconds after the initiation of one of the aforementioned functions.)

`ErrorCode=UserErrorFailedToConnectOdbcSource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ERROR [08S01] [Microsoft][ODBC Oracle Wire Protocol driver]Socket closed. ERROR [08S01] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]Connection Dead. ERROR [HYT00] [Microsoft][ODBC Oracle Wire Protocol driver]Timeout expired. ERROR [HY000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]Network Operation Timed Out.,Source=Microsoft.DataTransfer.ClientLibrary.Odbc.OdbcConnector,''Type=System.Data.Odbc.OdbcException,Message=ERROR [08S01] [Microsoft][ODBC Oracle Wire Protocol driver]Socket closed. ERROR [08S01] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]Connection Dead. ERROR [HYT00] [Microsoft][ODBC Oracle Wire Protocol driver]Timeout expired. ERROR [HY000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]Network Operation Timed Out.,Source=,'

`

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,805 questions
{count} votes

2 answers

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,427 Reputation points Microsoft Employee
    2021-11-04T21:38:53.723+00:00

    Hi @Ruben Austefjord ,

    Welcome to Microsoft Q&A forum and thanks for reaching out here.

    As per your description the issue is not consistent and it needs additional deeper investigation and in-order to do so I would recommend filing a support ticket.

    But before going for Support route, I would like you to please review this thread where a similar issue has been reported related to Oracle connector using SHIR - [Integration Runtime Oracle database connection error ERROR 08S01

    Where the issue is related to a recent bug with SHIR version >= 5.9.7900.1 <= 5.10.7949.4. And the product team has released a stable version of SHIR with fix for the oracle connection. Hence I would recommend you to please give a try upgrading your SHIR to the latest version - 5.11.7953.1 and see if that helps to resolve your issue.

    You can download the latest SHIR version from here: https://www.microsoft.com/en-us/download/details.aspx?id=39717

    In case if the issue still persists even after you upgrade your SHIR to latest version, then please file a support ticket and do share the SR# with us for tracking it internally. In case if you don't have a support plan, do let us know here so that we can work with you on providing a one-time free support.

    Do let us know how it goes.

    Thank you

    ----------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

  2. 2023-02-23T18:15:02.2533333+00:00

    ERROR [08S01] [Microsoft][ODBC Oracle Wire Protocol driver]Socket closed. ERROR [08001] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]Connection Dead. Activity ID: d4f80f41-a8ac-4e9b-8613-55472289c940.