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

"OverflowError: timeout is too large" from CookieJar._expire_cookie #967

Closed
lmacken opened this issue Jul 16, 2016 · 3 comments
Closed

"OverflowError: timeout is too large" from CookieJar._expire_cookie #967

lmacken opened this issue Jul 16, 2016 · 3 comments
Labels

Comments

@lmacken
Copy link

@lmacken lmacken commented Jul 16, 2016

After upgrading from 0.21.6 to 0.22 my code crashes with this exception:

  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/asyncio/base_events.py", line 295, in run_
forever                                                                                        
    self._run_once()                                                                           
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/asyncio/base_events.py", line 1218, in _ru
n_once                                                                                         
    event_list = self._selector.select(timeout)                                                
  File "/opt/rh/rh-python35/root/usr/lib64/python3.5/selectors.py", line 432, in select        
    fd_event_list = self._epoll.poll(timeout, max_ev)                                          
OverflowError: timeout is too large 

After some debugging, I discovered that it's this task that is triggering it:

<TimerHandle when=1500104826.0 CookieJar._expire_cookie('visid_incap_116519') created at /home/luke/py35env/lib64/python3.5/site-packages/aiohttp/helpers.py:650>

Environment:

Linux 3.10.0-327.22.2.el7.x86_64
Python 3.5.1
@asvetlov
Copy link
Member

@asvetlov asvetlov commented Jul 16, 2016

Thanks you for catching regression.
Will publish a fix soon.

@asvetlov asvetlov closed this in 2cb70cc Jul 16, 2016
@asvetlov
Copy link
Member

@asvetlov asvetlov commented Jul 16, 2016

Bugfix has been published in aiohttp==0.22.1

@lock
Copy link

@lock lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.