Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: MagicalTux on December 10, 2010, 01:09:15 PM



Title: [FIXED] Bitcoin 0.3.18: RPC freeze
Post by: MagicalTux on December 10, 2010, 01:09:15 PM
Hi,

I'm having troubles with bitcoin 0.3.18. I have a PHP program connecting automatically to various bitcoin nodes via curl+ssl and checking node status with getinfo. When I upgraded some nodes to 0.3.18, I had timeouts on this system, and looking more into it, I found the system was stuck on those upgraded nodes.

I downgraded them back to 0.3.17 and everything worked again.

Running bitcoind to get informations about the node doesn't seem to have any advert effect on the node.


Title: Re: Bitcoin 0.3.18: RPC freeze
Post by: MagicalTux on December 10, 2010, 01:17:55 PM

[22:11:50] <gavinandresen> MT`AwAy:  RE: curl and ssl:  I bet you have:     rpcssl=true   in your bitcoin.conf
[22:12:26] <gavinandresen> (correct syntax is rcpssl=1, I made the command/option file parsing consistent in 0.3.18)

Indeed, replacing rpcssl=true to rpcssl=1 fixed the issue.


Title: Re: Bitcoin 0.3.18: RPC freeze
Post by: jgarzik on December 10, 2010, 07:20:43 PM

[22:11:50] <gavinandresen> MT`AwAy:  RE: curl and ssl:  I bet you have:     rpcssl=true   in your bitcoin.conf
[22:12:26] <gavinandresen> (correct syntax is rcpssl=1, I made the command/option file parsing consistent in 0.3.18)

Indeed, replacing rpcssl=true to rpcssl=1 fixed the issue.

Someone should update GetBoolArg() to accept 'false', 'true', 'yes' and 'no'.