0 Members and 1 Guest are viewing this topic.
Hm .. this kind of results in some serious headache considering that I cannot run any command from outside the client even if my clients are secured by a VPN network ..What do I have to do be allowed to run json_authenticated commands via RPC? Can you help me authenticate to the client via python?What commands require an encrypted json authentication?
Quote from: xeroc ¯\_(ツ)_/¯ on February 10, 2015, 08:03:16 amQuote from: xeroc ¯\_(ツ)_/¯ on February 09, 2015, 01:27:53 pmCode: [Select]{u'id': 0, u'error': {u'message': u'Assert Exception (10)\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n\n', u'code': 10, u'detail': u'10+assert_exception: Assert Exception\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n {"method_name":"ask"}\n th_a general_api.cpp:187 batch\n\n {}\n th_a+common_api_client.cpp:240 batch'}}Can't run 'ask' through RPC. Via client it works fine .. not via RPC .. what has changed?@vikram : can you help me out here?I believe this was a security issue that was fixed: https://github.com/BitShares/bitshares/commit/7dd7d6154d46abfd79a1cb26bdcf0eeecf0dd4c3If you want to automate market orders, you can use wallet_market_batch_update.
Quote from: xeroc ¯\_(ツ)_/¯ on February 09, 2015, 01:27:53 pmCode: [Select]{u'id': 0, u'error': {u'message': u'Assert Exception (10)\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n\n', u'code': 10, u'detail': u'10+assert_exception: Assert Exception\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n {"method_name":"ask"}\n th_a general_api.cpp:187 batch\n\n {}\n th_a+common_api_client.cpp:240 batch'}}Can't run 'ask' through RPC. Via client it works fine .. not via RPC .. what has changed?@vikram : can you help me out here?
Code: [Select]{u'id': 0, u'error': {u'message': u'Assert Exception (10)\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n\n', u'code': 10, u'detail': u'10+assert_exception: Assert Exception\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n {"method_name":"ask"}\n th_a general_api.cpp:187 batch\n\n {}\n th_a+common_api_client.cpp:240 batch'}}Can't run 'ask' through RPC. Via client it works fine .. not via RPC .. what has changed?
{u'id': 0, u'error': {u'message': u'Assert Exception (10)\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n\n', u'code': 10, u'detail': u'10+assert_exception: Assert Exception\n_self->get_rpc_server()->get_method_data(method_name).prerequisites == bts::api::no_prerequisites: ask\n {"method_name":"ask"}\n th_a general_api.cpp:187 batch\n\n {}\n th_a+common_api_client.cpp:240 batch'}}
There is a serious mistake:6.0 block random_seed is all zero.
I am not able to find "console" in this version. where is it hiding ?