piston-lib problem

Words
98
Reading
1 min
10y
Listen to this post
~1 min

My script keeps crashing (randomly).

I'm running two instances of it, at the same time, connected to different nodes.
( the standard node and node="wss://gtg.steem.house:8090" )
It works fine for a while, but after some time it crashes like this (simultaneously for both scripts):

Traceback (most recent call last):
  File "/home/felixxx/.local/lib/python3.5/site-packages/piston_lib-0.5.2-py3.5.egg/pistonapi/steemnoderpc.py", line 124, in 
rpcexec
  File "/home/felixxx/.local/lib/python3.5/site-packages/graphenelib-0.5.0-py3.5.egg/grapheneapi/graphenewsrpc.py", line 
160, in rpcexec
grapheneapi.graphenewsrpc.RPCError: 13 
N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE: unable to acquire lock
unable to acquire lock: 
    {"call.method":"call","call.params":[0,"get_ops_in_block",[10956212,false]],"what":"unable to acquire lock"}
    th_a  websocket_api.cpp:124 on_message

This is quite annoying.

Is this problem on the server side (nodes) or can I fix my script ?

piston-lib problem | Ecency