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

Timing out HTTP2 connections logs a traceback #282

Open
twm opened this issue Jul 18, 2018 · 1 comment
Open

Timing out HTTP2 connections logs a traceback #282

twm opened this issue Jul 18, 2018 · 1 comment
Labels
bug upstream Issues in dependencies

Comments

@twm
Copy link
Owner

twm commented Jul 18, 2018

Pretty ugly:

<6>[twisted.web.http.HTTPChannel] Timing out client: IPv4Address(type='TCP', host='127.0.0.1', port=39206)
<6>[twisted.web.http.HTTPChannel] Forcibly timing out client: IPv4Address(type='TCP', host='127.0.0.1', port=39206)
<2>[-] Unhandled Error
<2>  Traceback (most recent call last):
<2>    File "/home/twm/yarrharr/yarrharr/scripts/yarrharr.py", line 44, in main
<2>      run()
<2>    File "/home/twm/yarrharr/yarrharr/application.py", line 505, in run
<2>      reactor.run()
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/internet/base.py", line 1261, in run
<2>      self.mainLoop()
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/internet/base.py", line 1270, in mainLoop
<2>      self.runUntilCurrent()
<2>  --- <exception caught here> ---
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/internet/base.py", line 896, in runUntilCurrent
<2>      call.func(*call.args, **call.kw)
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/web/http.py", line 2333, in forceAbortClient
<2>      self.transport.abortConnection()
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/protocols/tls.py", line 435, in abortConnection
<2>      self._shutdownTLS()
<2>    File "/home/twm/yarrharr/.tox/run/lib/python3.5/site-packages/twisted/protocols/tls.py", line 338, in _shutdownTLS
<2>      shutdownSuccess = self._tlsConnection.shutdown()
<2>  builtins.AttributeError: 'NoneType' object has no attribute 'shutdown'
<2>  

Yes, even a bonus newline.

This is https://twistedmatrix.com/trac/ticket/9462

@twm twm added the bug label Jul 18, 2018
twm added a commit that referenced this issue Aug 26, 2018
@twm
Copy link
Owner Author

twm commented Jul 24, 2023

Now twisted/twisted#9462

@twm twm added the upstream Issues in dependencies label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug upstream Issues in dependencies
Projects
None yet
Development

No branches or pull requests

1 participant