orisi / webclient

Orisi Web Client
4 stars 2 forks source link

Third Oracles crashes like this: #1

Open 83tb opened 10 years ago

83tb commented 10 years ago

Traceback (most recent call last): File "/disk/orisi/src/run_oracle.py", line 11, in main() File "/disk/orisi/src/run_oracle.py", line 8, in main o.run() File "/disk/orisi/src/oracle/oracle.py", line 252, in run self.handle_task(task) File "/disk/orisi/src/oracle/oracle.py", line 158, in handle_task handler(self).handle_task(task) File "/disk/orisi/src/oracle/handlers/safe_timelock_contract/safe_timelock_create_handler.py", line 155, in handle_task pwtxid = self.get_tx_hash(future_transaction) File "/disk/orisi/src/oracle/handlers/basehandler.py", line 31, in get_tx_hash inputs, outputs = self.btc.get_inputs_outputs(tx) File "/disk/orisi/src/shared/bitcoind_client/bitcoinclient.py", line 50, in ping_and_reconnect return fun(self, _args, *_kwargs) File "/disk/orisi/src/shared/bitcoind_client/bitcoinclient.py", line 160, in get_inputs_outputs transaction_dict = self.server.decoderawtransaction(raw_transaction) File "/usr/local/lib/python2.7/dist-packages/jsonrpclib/jsonrpc.py", line 274, in call return self.send(self.name, args) File "/usr/local/lib/python2.7/dist-packages/jsonrpclib/jsonrpc.py", line 224, in _request response = self._run_request(request) File "/usr/local/lib/python2.7/dist-packages/jsonrpclib/jsonrpc.py", line 242, in _run_request verbose=self.__verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1312, in single_request response.msg, xmlrpclib.ProtocolError: <ProtocolError for bitrpc:756b304ea9b36758eb8757389ad1cd23757da937811d89f49cfc2962ca538e3f@127.0.0.1:2521: 500 Internal Server Error>

Gricha commented 10 years ago

We probably need to look into specific transaction and try to get it with bitcoind gettransaction txid on that specific machine to see why it throws a protocolerror.

83tb commented 10 years ago

This command returns error: {"code":-5,"message":"Invalid or non-wallet transaction id"}