Share via

ADF Oracle connector V2.0 - ORA-50000: Connection request timed out

sunil gupta 6 Reputation points
2025-11-17T07:49:41.04+00:00

While using Oracle Connector V2 in Azure Data Factory (ADF), we experienced recurring failures in opening and closing connections, resulting in error messages such as:

ErrorCode=OracleConnectionOpenError, Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException, Message=Failed to open the Oracle database connection., Source=Microsoft.DataTransfer.Connectors.OracleV2Core, Type=Oracle.ManagedDataAccess.Client.OracleException, Message=ORA-50000: Connection request timed out, Source=Oracle Data Provider for .NET, Managed Driver

And

Error: Data Provider for .NET, Managed Driver,''Type=OracleInternal.Network.NetworkException,Message=ORA-12570: TNS:packet reader failure. https://docs.oracle.com/error-help/db/ora-12570/,Source=Oracle.ManagedDataAccess,''Type=OracleInter… TNS:packet reader failure. https://docs.oracle.com/error-help/db/ora-12570/,Source=Oracle.ManagedDataAccess,''Type=System.Net.… connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond,Source=Oracle.ManagedDataAccess,'

It was working fine with Oracle EBS V1 connector from last couple of years. Tried with new IR upgrade but issue didn't resolve.

Anyone suggest if facing similar kind of issue?

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


2 answers

Sort by: Most helpful
  1. sunil gupta 6 Reputation points
    2025-11-17T09:12:06.0166667+00:00

    Hello @Natheem Yousuf ,

    I am using ADF + SHIR (5.60.9438.1 - latest IR)+ Oracle DB version 19.0.0.0.0 + EBS connector 2.0.

    I also increase the connectiontimeout property to 180, however it didn't work.

    The Oracle Linked Service in ADF always relies on Microsoft’s Oracle ODBC/ADO.NET provider and does not use the Oracle ODP.NET driver. Therefore, ODP.NET-specific capabilities are not supported in ADF.  ODP.NET is typically configured through app.config or web.config files in .NET applications.

    We observe if we switch back to EBS 1.0 Connector, then connection work fine. really strange.

    Linked service-

    {

    "name": "LinkSvc",
    
    "type": "Microsoft.DataFactory/factories/linkedservices",
    
    "properties": {
    
        "annotations": [],
    
        "type": "Oracle",
    
        "version": "2.0",
    
        "typeProperties": {
    
            "server": "ServerName:Port/ServiceId",
    
            "connectionTimeout": 180,
    
            "authenticationType": "Basic",
    
            "username": "<UserName>",
    
            "password": {
    
                "type": "AzureKeyVaultSecret",
    
                "store": {
    
                    "referenceName": "LinkSvcKeyv",
    
                    "type": "LinkedServiceReference"
    
                },
    
                "secretName": "oracleEBSConnStringPass",
    
                "secretVersion": ""
    
            },
    
        },
    
        "connectVia": {
    
            "referenceName": "Password",
    
            "type": "IntegrationRuntimeReference"
    
        }
    
    }
    

    }

    1 person found this answer helpful.

  2. Manoj Kumar Boyini 12,815 Reputation points Microsoft External Staff Moderator
    2025-11-27T19:42:05.2733333+00:00

    Hi sunil gupta,

    Thanks for the details. This behavior is specific to the Oracle v2 connector. Even with the same SHIR and the same Oracle 19c system, v2 opens and validates connections differently than v1, which can surface as:

    • ORA-50000 (connection pool timeout)

    ORA-12570 (packet reader failure due to dropped/slow network reads)

    To stabilize v2, a few tuning properties that align its behavior closer to v1 usually help.

    Update linked service with these V2 properties:

    "typeProperties": {
      "server": "ServerName:Port/ServiceId",
      "connectionTimeout": 180,
      "authenticationType": "Basic",
      "username": "<UserName>",
      "password": { ... },
    
      "supportV1DataTypes": true,
      "enableBulkLoad": false,
      "statementCacheSize": 50,
      "fetchSize": 1048576
    }
    

    These settings reduce connection pressure, avoid unnecessary bulk sessions, and improve stability with EBS workloads.

    Lower ADF Concurrency:

    • Set parallel copies = 1
    • Set max concurrent connections = 2–3

    Quick network check for ORA-12570
    From the SHIR machine:

    tnsping ServerName

    ping -M do -s 1472 ServerName

    If packet loss occurs, a firewall/inspection device may be closing the connection.

    Please let us know if you have any questions and concerns.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.