Console 'undefined' after rpc_start_server

Started by Methodise, November 25, 2014, 09:54:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

If you would like to join our developer skype group PM me your skype handle.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

If you are using the GUI to set that info then the GUI will no longer be able to communicate with the backend because the RPC user/password/port will be wrong.

I would recommend you run bitshares_client from the console as this is what your bot should be working with.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

Methodise

I'm trying to set a bot to work on bitshares. I'm confused about a number of issues therein, but one thing that seems especially strange:

After unlocking my full GUI version of the Bitshares client, I am using rpc_set_username / rpc_set_password and rpc_start_server XXXX.

Thereafter, any further commands entered into the client console will return 'undefined' .

I suspect this is my key problem because when I try to make a cURL call, I am getting 'curl: (52) Empty reply from server'.

I'm using Mac.

Any suggestions would be sincerely appreciated!
BTS: methodise