Golubov Anton

Results 9 comments of Golubov Anton

I can confirm that the error has been fixed. The test case works and the complex application also works.

Hi! I'll try. We use async connection pool (asyncio_connection_pool) with asynctnt to reuse connections and speed up interaction. Connection pool strategy looks like this: ``` from asyncio_connection_pool import ConnectionStrategy from...

Configuration values are: connect_timeout = 0.5 reconnect_timeout = None ping_timeout = 0

Found this place in source Connection.py: except asyncio.TimeoutError: # pragma: nocover tr.close() continue # try again What if while tr.close() (docs say that it works asynchronously) we already create new...

It's this place in source: ``` async def _process_request(self, PooledConnRequest request): """ Processes a request. """ cdef BaseThinConnImpl conn_impl try: if request.requires_ping: try: request.conn_impl.set_call_timeout(self._ping_timeout) await request.conn_impl.ping() request.conn_impl.set_call_timeout(0) request.completed = True...

xmltype has same error: ``` import oracledb def main(): oracledb.defaults.config_dir = "" with oracledb.connect(user='', password='', dsn='', mode=oracledb.AUTH_MODE_SYSDBA) as c: with c.cursor() as cur: sql = "select xmltype('Я') from dual" for...

[packets.txt](https://github.com/user-attachments/files/16381194/packets.txt)

Ok, thank you, I'll wait for the problem to be resolved, because we are using such databases with object types.

"expired connections" are idle connections in pool closed after timeout, set by so named parameter in pool constructor. Our database tracks connections by means of logon/logoff triggers. These connections look...