getnewaddress blocks

0 votes
Hi,

I have a program that executes 4 getnewaddress commands in sequence. The fourth one blocks. Once this has happened, a curl invocation for the same command blocks.

The body looks like this {"method":"getnewaddress","id":":4","params":[],"chain_name":"chain1"}

Attempting to kill the server with ctrl-c fails. kill -9 works. starting it up again we get

----

MultiChain Core Daemon build 1.0 alpha 16 protocol 10003

IO error: lock /home/vagrant/.multichain/galaxy/permissions.db/LOCK: Resource temporarily unavailable

ERROR: Couldn't initialize permission database for blockchain galaxy. Probably multichaind for this blockchain is already running. Exiting...

---

I think this is a red-herring perhaps. Waiting a moment, the restart works.

Any help much appreciated.

thanks

Farzad.
asked Feb 11, 2016 by Farzad
Thanks for reporting this. I'll ask the dev team to examine the issue and get back to you shortly.
Hi
We think we've reduced this down to an issue with the http client in vert.x. Apologies and thank you for your help.
kind regards
Farzad

1 Answer

0 votes
Thank you.

Some setup notes:

Using latest version of vagrant 1.8.1 and virtualbox 5.0.10 on OS X 10.11.3.

Vagrant file uses latest ubuntu/wily64.

The client is written in JDK8 using Vert.x 3.2.1.

As mentioned the first three http json-rpc requests work successfully. The fourth locks.

thanks

Farzad
answered Feb 11, 2016 by dazraf
...