Skip to content

I can't get RPC to work using the library #4

@patr0805

Description

@patr0805

So I have tried hosting a chain on both a virtual machine and a dedicated machine. "multichaind chain1@[ip-address]:[port]" is able to connect without issues in both cases, but when I use the C# lib it just keeps giving me an "RPC request failed" issue.

var client = new MultiChainClient("192.168.1.112", 7405, false, "multichainrpc", "Bi5CkFhoFTk3RG6nnNz3D1ZiHX6t3ZNcY4GQnBPwCe1d", "infoChain");

An interesting thing is that if I visit "http://192.168.1.112:7405" while the daemon is running I always get a "ERR_EMPTY_RESPONSE" and closing the deamon changes this message to "ERR_CONNECTION_REFUSED".

I am connecting from a PC on the same network with the ip address of 192.168.1.104 to an ubuntu machine running with the following multichain-conf.

rpcuser=multichainrpc
rpcpassword=Bi5CkFhoFTk3RG6nnNz3D1ZiHX6t3ZNcY4GQnBPwCe1d
rpcallowip=192.168.1.104

Any suggestions or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions