intermittent ci failure: interface_http.py", line 558, in check_whitespace_in_headers // ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine #35632

issue maflcko opened this issue on July 1, 2026
  1. maflcko commented at 2:12 PM on July 1, 2026: member

    https://github.com/bitcoin/bitcoin/actions/runs/28516948743/job/84535785591?pr=35511#step:10:1331

     test  2026-07-01T12:58:56.506148Z TestFramework (INFO): Check that requests with whitespace in headers are rejected 
     node0 2026-07-01T12:58:56.507039Z [http] [httpserver.cpp:826] [NewSockAccepted] [http] HTTP Connection accepted from 127.0.0.1:60406 (id=32) 
     node0 2026-07-01T12:58:56.507211Z [http] [httpserver.cpp:994] [MaybeDispatchRequestsFromClient] [http] Error reading HTTP request from client 127.0.0.1:60406 (id=32): Invalid header field-name contains whitespace 
     node0 2026-07-01T12:58:56.507236Z [http] [httpserver.cpp:600] [WriteReply] [http] HTTPResponse (status code: 400 size: 129) added to send buffer for client 127.0.0.1:60406 (id=32) 
     node0 2026-07-01T12:58:56.507259Z [http] [httpserver.cpp:1169] [MaybeSendBytesFromBuffer] [http] Sent 129 bytes to client 127.0.0.1:60406 (id=32) 
     node0 2026-07-01T12:58:56.507271Z [http] [httpserver.cpp:1077] [operator()] [http] Disconnecting HTTP client 127.0.0.1:60406 (id=32) 
     test  2026-07-01T12:58:56.507723Z TestFramework (ERROR): Unexpected exception: 
                                       Traceback (most recent call last):
                                         File "D:\a\bitcoin\bitcoin\test\functional\test_framework\test_framework.py", line 145, in main
                                           self.run_test()
                                           ~~~~~~~~~~~~~^^
                                         File "D:\a\bitcoin\bitcoin/test/functional/interface_http.py", line 138, in run_test
                                           self.check_whitespace_in_headers()
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                                         File "D:\a\bitcoin\bitcoin/test/functional/interface_http.py", line 558, in check_whitespace_in_headers
                                           response = conn.post('/', '{"method": "getbestblockhash"}')
                                         File "D:\a\bitcoin\bitcoin/test/functional/interface_http.py", line 67, in post
                                           return self._request('POST', path, data, connection_header, **kwargs)
                                                  ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                         File "D:\a\bitcoin\bitcoin/test/functional/interface_http.py", line 64, in _request
                                           return self.conn.getresponse()
                                                  ~~~~~~~~~~~~~~~~~~~~~^^
                                         File "C:\hostedtoolcache\windows\Python\3.14.6\x64\Lib\http\client.py", line 1459, in getresponse
                                           response.begin()
                                           ~~~~~~~~~~~~~~^^
                                         File "C:\hostedtoolcache\windows\Python\3.14.6\x64\Lib\http\client.py", line 336, in begin
                                           version, status, reason = self._read_status()
                                                                     ~~~~~~~~~~~~~~~~~^^
                                         File "C:\hostedtoolcache\windows\Python\3.14.6\x64\Lib\http\client.py", line 297, in _read_status
                                           line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
                                                      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
                                         File "C:\hostedtoolcache\windows\Python\3.14.6\x64\Lib\socket.py", line 729, in readinto
                                           return self._sock.recv_into(b)
                                                  ~~~~~~~~~~~~~~~~~~~~^^^
                                       ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
    
  2. maflcko added the label CI failed on Jul 1, 2026
  3. maflcko added this to the milestone 32.0 on Jul 1, 2026
  4. alerodriargui commented at 10:33 AM on July 3, 2026: none

    I'm doing it

  5. b-l-u-e referenced this in commit 21e900cb8c on Jul 22, 2026
  6. b-l-u-e referenced this in commit 1a7e9c5520 on Jul 22, 2026
  7. b-l-u-e referenced this in commit b18bb858d5 on Jul 22, 2026
  8. b-l-u-e referenced this in commit 2e991f89e5 on Jul 22, 2026
  9. b-l-u-e referenced this in commit 1b34df5937 on Jul 28, 2026
  10. b-l-u-e referenced this in commit 06ae35c341 on Jul 28, 2026
  11. b-l-u-e referenced this in commit 2f14e212e8 on Jul 28, 2026
  12. b-l-u-e referenced this in commit 1e0e718c7a on Aug 24, 2026
  13. b-l-u-e referenced this in commit b14649f9fe on Aug 24, 2026
  14. maflcko commented at 10:29 AM on August 28, 2026: member

    What is the status here? Can this be removed from the milestone?

    Has the issue happened this month? Are there steps to reproduce?

    (Haven't looked at the related draft pulls such as #35780)

  15. hebasto commented at 11:57 AM on August 28, 2026: member

    Has the issue happened this month?

    It happened at least once in the nightly build repo: https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31986512580/job/95262355277

    Are there steps to reproduce?

    I can't reproduce it locally.

  16. pinheadmz referenced this in commit 92c6f3bc60 on Aug 28, 2026
  17. pinheadmz referenced this in commit 72c7412c99 on Aug 28, 2026
  18. pinheadmz commented at 11:42 PM on August 30, 2026: member

    #36118 should prevent recurrence of this issue, making the test more flexible without compromising the server behavior. The alternatives like #35780 are nice features we can add to HTTP to handle misbehaving clients better but isn't urgent for 32 in my opinion

  19. pinheadmz referenced this in commit a51df9b0ec on Sep 2, 2026
  20. sedited closed this on Sep 3, 2026

  21. pull[bot] referenced this in commit 7f0c4020e8 on Sep 3, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-09-09 07:56 UTC