doc, rpc: -rpcclienttimeout help string is wrong #17117

issue hebasto opened this issue on October 12, 2019
  1. hebasto commented at 1:07 PM on October 12, 2019: member
    $ bitcoin-cli --help   
    Bitcoin Core RPC client version v0.19.0rc1
    ...
      -rpcclienttimeout=<n>
           Timeout in seconds during HTTP requests, or 0 for no timeout. (default:
           900)
    

    The "0 for no timeout" part, added in #9903, is wrong:

    $ time bitcoin-cli -rpcclienttimeout=0 gettxoutsetinfo
    error: Could not connect to the server 127.0.0.1:8332 (error code 0 - "timeout reached")
    
    Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
    
    real	0m51.279s
    user	0m0.005s
    sys	0m0.019s
    

    Both 0.18.0 and 0.19.0rc1 are affected.

  2. hebasto added the label Bug on Oct 12, 2019
  3. MarcoFalke added this to the milestone 0.19.0 on Oct 12, 2019
  4. fanquake added the label Docs on Oct 12, 2019
  5. MarcoFalke commented at 12:36 PM on October 14, 2019: member

    According to #9903 (comment) it used to work at some point

  6. laanwj closed this on Oct 16, 2019

  7. cryptohazard commented at 12:22 PM on January 29, 2020: none

    I just noticed on v0.19.0.1 that using: rpcclienttimeout=0 I get in the logs: Ignoring unknown configuration value rpcclienttimeout

  8. hebasto commented at 12:36 PM on January 29, 2020: member

    @cryptohazard

    I just noticed on v0.19.0.1 that using: rpcclienttimeout=0 I get in the logs: Ignoring unknown configuration value rpcclienttimeout

    Please make sure that you provide the rpcclienttimeout option to the bitcoin-cli binary, not to bitcoind or bitcoin-qt.

  9. cryptohazard commented at 12:37 PM on January 29, 2020: none

    Understood! it was in the bitcoin.conf

  10. PastaPastaPasta referenced this in commit 7b76b71465 on Jun 27, 2021
  11. PastaPastaPasta referenced this in commit 6475742158 on Jun 28, 2021
  12. PastaPastaPasta referenced this in commit e17f279de3 on Jun 29, 2021
  13. PastaPastaPasta referenced this in commit 45cae92cfd on Jul 1, 2021
  14. PastaPastaPasta referenced this in commit b7b22c59c7 on Jul 1, 2021
  15. PastaPastaPasta referenced this in commit 359577f505 on Jul 12, 2021
  16. PastaPastaPasta referenced this in commit 66fce80422 on Jul 13, 2021
  17. PastaPastaPasta referenced this in commit bd18cd8e07 on Jul 13, 2021
  18. DrahtBot locked this on Feb 15, 2022

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-04-13 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me