Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError in start_connection #112

Open
lewisfzhang opened this issue Oct 30, 2024 · 1 comment
Open

IndexError in start_connection #112

lewisfzhang opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lewisfzhang
Copy link

Describe the bug
A clear and concise description of what the bug is.

Not sure what the cause is, but saw these errors bottled up through aiohttp client that depends on this library

To Reproduce
Steps to reproduce the behavior:

Additional context
Add any other context about the problem here.

File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/client.py", line 1353, in __aenter__ >>
     self._resp = await self._coro >>
                  ^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/client.py", line 657, in _request >>
     conn = await self._connector.connect( >>
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/connector.py", line 564, in connect >>
     proto = await self._create_connection(req, traces, timeout) >>
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/connector.py", line 975, in _create_connection >>
     _, proto = await self._create_direct_connection(req, traces, timeout) >>
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection >>
     transp, proto = await self._wrap_create_connection( >>
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection >>
     sock = await aiohappyeyeballs.start_connection( >>
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>
   File "/root/.cache/pypoetry/virtualenvs/non-package-mode-9TtSrW0h-py3.11/lib/python3.11/site-packages/aiohappyeyeballs/impl.py", line 102, in start_connection >>
     first_exception = all_exceptions[0] >>
                       ~~~~~~~~~~~~~~^^^ >>
 IndexError: list index out of range

@bdraco
Copy link
Member

bdraco commented Oct 30, 2024

Looks like its a duplicate of #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants