jgarzik / jgarzik/python-bitcoinrpc
BrokenPipeError: [Errno 32] Broken pipe
- Vorherrschende Sprache
- Python
- Sterne
- 663
- Forks
- 300
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Trying to create a raw transaction on the testnet gives the following error:
```Traceback (most recent call last):
File "", line 1, in
con.createrawtransaction([{"txid":"a8fd2dacb674cec804e1cd861c9310d999d6d149fd17d5e44034ed1207860f60","vout":0}], {"myJXY5WznWSLqSoghhieCXfykkZnCz9P1U":1.79})
File "/usr/local/lib/python3.5/dist-packages/bitcoinrpc/authproxy.py", line 136, in __call__
'Content-type': 'application/json'})
File "/usr/lib/python3.5/http/client.py", line 1106, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 936, in _send_output
self.send(message_body)
File "/usr/lib/python3.5/http/client.py", line 908, in send
self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe
>>>
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start with the failing testnet createrawtransaction call and inspect bitcoinrpc/authproxy.py around line 136, where the JSON-RPC request is sent. Trace the Python HTTP client send path shown in the traceback and determine why the connection closes before sendall completes. Done means the reported call no longer raises BrokenPipeError, with verification documented or covered by an available test.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, blockchain
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100