Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Anyone managed to get the JSON RPC server to respond? (not HTTP one)  (Read 420 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer


I have tried everything, but all I get is a gateway timeout error trying to authenticate with the JSON RPC API server. The HTTP one works, but not the JSON one.

Any example of this working?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #1 on: November 28, 2014, 02:00:46 PM »
Http gives you json rpc at URL.  /rpc. 

The rpc port is raw tcp with pure json.  No http headers. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline monsterer

Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #2 on: November 28, 2014, 02:42:12 PM »
Http gives you json rpc at URL.  /rpc. 

The rpc port is raw tcp with pure json.  No http headers.

As in socketed TCP?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #3 on: November 28, 2014, 02:51:11 PM »
Http gives you json rpc at URL.  /rpc. 

The rpc port is raw tcp with pure json.  No http headers.

As in socketed TCP?

Yes. 

Open up "telnet" and type in  "{"id":1,"method":"get_info","params":[]}"  and it should produce a result.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline monsterer

Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #4 on: November 30, 2014, 12:20:51 PM »
Yes. 

Open up "telnet" and type in  "{"id":1,"method":"get_info","params":[]}"  and it should produce a result.

Is it a persistent connection? Any server-side push operations, like block notification?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1337
    • View Profile
Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #5 on: November 30, 2014, 04:46:43 PM »
How do u authinticate? Or do u need to?
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline bytemaster

Re: Anyone managed to get the JSON RPC server to respond? (not HTTP one)
« Reply #6 on: December 02, 2014, 08:48:19 PM »
How do u authinticate? Or do u need to?

You authenticate by making a JSON RPC call to authenticate as the first step. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

 

Google+