Has anyone ever tried to use the RPC commands of the wallet?
It tried both bitbay-qt and bitbayd (newest github clone), and everytime I send a request I only get "empty responses".
This is what I send:
Curl always reports:
I tried GET and POST and digest auth. Everytime same behaviour. ![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
The same Curl command works for many other currency wallets, only bitbay is making problems.
The port is configurated in bitbay.conf and netstat is showing bitbay listening on this port, so to that point everthing seems to be correct.
Looks like either a problem in my command or a problem in bitbay wallet RPC implementation?
But other wallets from other currencies would also respond an adequate JSON encoded error message in the case the given command is invalid. Bitbay just does nothing.
It tried both bitbay-qt and bitbayd (newest github clone), and everytime I send a request I only get "empty responses".
This is what I send:
Code:
curl -u bitbayrpc:BBZP3Q4MqWqksU -X post -d '{"id": "0", "method":"getinfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:25001
Code:
curl: (52) Empty reply from server
![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
The same Curl command works for many other currency wallets, only bitbay is making problems.
The port is configurated in bitbay.conf and netstat is showing bitbay listening on this port, so to that point everthing seems to be correct.
Looks like either a problem in my command or a problem in bitbay wallet RPC implementation?
But other wallets from other currencies would also respond an adequate JSON encoded error message in the case the given command is invalid. Bitbay just does nothing.
Hmm good question. Well I run RPC with the markets client using python and bitcoins authserviceproxy library and it works just fine. I'm not sure why you would get a blank response. I assume your RPC password and user and server=1 and rpcport are all correct in your config? If you run the markets wallet, it stores the data directory local to c:\bitbay\bitbaydata and if you run the QT it stores it in appdata. We will take a look at it and see if there is any reason for this.
Also any reason you aren't using the standard RPC port of 19915?
Hi dzimbeck and thank you for your kind response!
Yes I checked username and password, as well as the "server" flag (which just opens an additional RPC port?).
I'm running it on linux and want to run multiple different wallets in parallel. That's why I used this non-standard port.
But even the standard port doesn't change anything.
I didn't try the market wallet yet, because I just wanted to use it for staking.