Abdullah Mallik
Abdullah Mallik
Currently, this code does solve the issue for verifying TronWeb generated signature ```python from eth_hash.auto import keccak as keccak_256 # message length is 32 chars and message is a hex...
> @mdn522 > > > Currently, this code does solve the issue for verifying TronWeb generated signature > > where does `header.encode('utf-8')` come from? Unfortunately, The HDD where this testing...
This error comes when the server does not reply back or maybe it replies in different format which the library is not setup properly (bug). need to see the code...
It feels like either you need to have a pinging thread (easy) or detect lost connection and restore. About pinging: I think you can ping with `binary.api.ping()`. Make a thread...
Also check this example script about auto reconnect [auto_reconnect.py](https://github.com/mdn522/binaryapi/blob/master/examples/auto_reconnect.py)
> `ERROR:root:**warning** 30late proposal sec(s)` About this error. This error pops up when the library is expecting a response message(here `proposal`) from server and gets none after n seconds. Here...
was this the last error you got? did not it reconnect with auto_reconnect? by any chance, if you were there when the error happened. was there any issue with the...
As I don't have much experience with Binary using automated trading. I can't really tell much about long-term connectivity issues. the code for auto_reconnect came from another broker I was...
Can you try to ping? Make a thread that will periodically (every 10-30 seconds) ping the server. let me know if it soothes the issue. Docs for Pinging: https://binaryapi.readthedocs.io/en/latest/api/ping.html
Can you inspect the messages sent by the websocket? you need to print all messages in `message_handler`. when you request the server to buy a contract the server returns a...