Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

TimeoutError: Timed out closing connection after None #1292

Open
@Olegt0rr

Description

@Olegt0rr

Describe the bug

After switch to aioredis v2 start to receiving an error:
TimeoutError: Timed out closing connection after None

The same code on <2 dependency works without any errors!
Average redis load ~2.5k RPS
Redis server working via SaaS and has no troubles with availability and resources

To Reproduce

Don't know how...

Expected behavior

aioredis works fine similar to the previous version

Logs/tracebacks

TimeoutError: Timed out closing connection after None
...
  File "aiogram/contrib/fsm_storage/redis.py", line 265, in get
    return await self._redis.get(name, **kwargs)
  File "aioredis/client.py", line 1082, in execute_command
    conn = self.connection or await pool.get_connection(command_name, **options)
  File "aioredis/connection.py", line 1425, in get_connection
    await connection.disconnect()
  File "aioredis/connection.py", line 812, in disconnect
    raise TimeoutError(

Python Version

$ python --version
CPython
3.9.10(3.9.10 (main, Jan 29 2022, 04:19:45) 
[GCC 10.2.1 20210110])

aioredis Version

$ python -m pip show aioredis
2.0.1

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions