Skip to content
This repository was archived by the owner on Jul 12, 2021. It is now read-only.
This repository was archived by the owner on Jul 12, 2021. It is now read-only.

Sometimes electrum-server fails to start when not fully synced with bitcoind #172

@gits7r

Description

@gits7r

After several reboots for applying updates electrum-server refused to start with bitcoind and catch up on the blockchain. Here is the traceback:

Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "build/bdist.linux-x86_64/egg/electrumserver/blockchain_processor.py", line 104, in do_catch_up
self.header = self.block2header(self.bitcoind('getblock', (self.storage.last_hash,)))
File "build/bdist.linux-x86_64/egg/electrumserver/blockchain_processor.py", line 171, in bitcoind
raise BaseException(r['error'])
BaseException: {u'message': u'Block not found', u'code': -5}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions