Skip to content

"ORA-50012: Pooled connection request timed out" when timeout transaction in >= .net8 #442

Closed
@mishustin

Description

@mishustin

Hello!

I have a simple example that reproduces the error “ORA-50012: Pooled connection request timed out”. After the error occurs, the oracle connection pool does not issue any more connections and the application hangs without accessing the database, only restarting (i.e. resetting the oracle connection pool) helps.
The error is reproduced only on versions starting from .net8, on .net6 this error is not reproduced. It occurs if the transaction timeout is less than the code execution time inside the transaction.

OS: Microsoft Windows NT 10.0.19045.0
.net version: 8.0.12
configuration buils: release
Microsoft.EntityFrameworkCore Version 8.0.12
Oracle.EntityFrameworkCore Version 8.23.70
Oracle.ManagedDataAccess.Core" Version 23.7.0

Example
https://github.com/mishustin/OracleTransactionApp/tree/ORA-50012

Image

Is this bug?
Can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions