Skip to content

Connection failing while connecting with create_pool_async but it works with connect function #576

@jeanmartins

Description

@jeanmartins
  1. What versions are you using?

Give your Oracle Database version, e.g.:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Also run Python and show the output of:

plataform.plataform: Windows-10-10.0.22631-SP0
sys.maxsize > 2**32: True
plataform.python_version:3.10.5

And:

"oracledb.version: 3.4.2

-->

  1. Is it an error or a hang or a crash?

Error.

  1. What error(s) or behavior you are seeing?

pool.acquire() is returning: DPY:4011: the database or network closed the connection, while using oracledb.create_pool_async with TCPS(1523). But, when I do a oracledb.connect or I use TCP(1521) in create_pool_async it works.

I'm using TCPS protocol and passing the same parameters to both functions, with the exception of min, max and increment of course.

  1. Does your application call init_oracle_client()?

No, I'm using Thin Mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions