Post
Topic
Board Announcements (Altcoins)
Re: BitBay OFFICIAL BITBAY Thread Smart Contracts Decentralized Markets Rolling Peg
by
BrechREiZ
on 03/01/2018, 13:22:57 UTC
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:
Code:
curl -u bitbayrpc:BBZP3Q4MqWqksU -X post -d '{"id": "0", "method":"getinfo",  "params": []}' -H 'content-type: application/json' http://127.0.0.1:25001
Curl always reports:
Code:
curl: (52) Empty reply from server
I tried GET and POST and digest auth. Everytime same behaviour.  Huh

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.