-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Running into this error frequently on DOGE indexer.
This error effectively crashes the worker, preventing the chain from being indexed further.
I suspect that this is due to the RPC returning invalid responses. Suggested solutions:
- introduce proper error handling and RPC response validation
- introduce health check on workers so they can be restarted on crash
- introduce health check on service, so container can be restarted if service is unresponsive
Exception in thread Thread-11268 (thread_worker):
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/app/utxo_indexer/indexer/doge.py", line 30, in thread_worker
item(session, processed_block)
File "/app/utxo_indexer/indexer/doge.py", line 58, in _process_pre_vout_transaction
res = transaction_getter(txid, session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/utxo_indexer/indexer/decorators.py", line 16, in inner
raise Exception(errors)
Exception: [TypeError("'NoneType' object is not subscriptable"), TypeError("'NoneType' object is not subscriptable"), TypeError("'NoneType' object is not subscriptable"), TypeError("'NoneType' object is not subscriptable"), TypeError("'NoneType' object is not subscriptable")]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels