Comments (4)
I solved the problem. in config file instead of COIN=Bitcoin I determined COIN=BitcoinSegwit and the problem was solved.
from electrumx-installer.
Hey,
you can view the entire log with journalctl --no-pager -u electrumx
.
I'm not sure what causes this error. Can you post your configuration file and the full log?
To connect to your server from electrum (after you fixed this issue) you can use the command line flags --oneserver
and -s
.
from electrumx-installer.
OK. with journalctl --no-pager -u electrumx this log is displayed.
May 30 06:30:29 natashapourhaji.com4 electrumx_server.py[6458]: INFO:root:ElectrumX server starting
May 30 06:30:29 natashapourhaji.com4 electrumx_server.py[6458]: INFO:Controller:event loop policy: None
May 30 06:30:29 natashapourhaji.com4 electrumx_server.py[6458]: INFO:Daemon:daemon #1 at localhost:8332/ (current)
May 30 06:30:29 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:switching current directory to /etc/electrumx
May 30 06:30:30 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:using rocksdb for DB backend
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:opened DB for serving
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:closing DB to re-open for sync
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:opened DB for sync
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:software version: ElectrumX 1.2.1
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:DB version: 6
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:coin: Bitcoin
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:network: mainnet
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:height: -1
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:tip: 0000000000000000000000000000000000000000000000000000000000000000
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:tx count: 0
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:flush count: 0
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:sync time so far: 00s
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:reorg limit is 200 blocks
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:BlockProcessor:flushing DB cache at 1,200 MB
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 1/15 btc.smsys.me from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 2/15 electrum.be from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 3/15 ELECTRUM.not.fyi from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 4/15 electrum.vom-stausee.de from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 5/15 electrum3.hachre.de from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 6/15 electrum.hsmiths.com from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 7/15 erbium1.sytes.net from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 8/15 fdkhv2bb7hqel2e7.onion from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 9/15 h.1209k.com from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 10/15 helicarrier.bauerj.eu from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 11/15 hsmiths4fyqlw5xw.onion from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 12/15 ozahtqwp25chjdjd.onion from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 13/15 us11.einfachmalnettsein.de from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 14/15 ELEX01.blackpole.online from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:PeerManager:accepted new peer 15/15 electrum_abc.criptolayer.net from coins.py
May 30 06:30:31 natashapourhaji.com4 electrumx_server.py[6458]: INFO:Controller:RPC server listening on localhost:8000
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: INFO:Prefetcher:catching up to daemon height 525,090 (525,091 blocks behind)
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: INFO:Prefetcher:verified genesis block with hash 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: ERROR:Controller:Traceback (most recent call last):
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: File "/usr/local/lib/python3.6/site-packages/electrumx-1.2.1-py3.6.egg/server/controller.py", line 177, in on_future_done
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: future.result()
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: File "/usr/local/lib/python3.6/site-packages/electrumx-1.2.1-py3.6.egg/server/block_processor.py", line 206, in main_loop
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: await task()
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: File "/usr/local/lib/python3.6/site-packages/electrumx-1.2.1-py3.6.egg/server/block_processor.py", line 243, in check_and_advance_blocks
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: for n, raw_block in enumerate(raw_blocks)]
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: File "/usr/local/lib/python3.6/site-packages/electrumx-1.2.1-py3.6.egg/server/block_processor.py", line 243, in <listcomp>
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: for n, raw_block in enumerate(raw_blocks)]
May 30 06:30:32 natashapourhaji.com4 electrumx_server.py[6458]: AttributeError: type object 'Bitcoin' has no attribute 'block'
May 30 07:17:38 natashapourhaji.com4 electrumx_server.py[6458]: INFO:LocalRPC:[0] RPC [::1]:59056, 1 total
my electrumx.conf file is as follow:
default /etc/electrumx.conf for systemd
# REQUIRED
DAEMON_URL=http://[user]:[pass]@localhost:8332/
DB_DIRECTORY =/etc/electrumx
# Bitcoin Node RPC Credentials
COIN = Bitcoin
NET=mainnet
# See http://electrumx.readthedocs.io/en/latest/environment.html for
# information about other configuration settings you probably want to consider.
DB_ENGINE=rocksdb
BANNER_FILE=/etc/electrumx/banner.txt
SSL_CERTFILE=/etc/electrumx/server.crt
SSL_KEYFILE=/etc/electrumx/server.key
TCP_PORT=50001
SSL_PORT=50002
# Listen on all interfaces:
HOST=
in HOST which IP should I set? localhost? 0.0.0.0 or My server IP? if I want my remote electrum client (electrum wallet) connect to My electrum server what extra configuration is needed?
from electrumx-installer.
Hey,
please post this to the electrumx bug tracker. I'm not sure what the issue is.
from electrumx-installer.
Related Issues (20)
- $100 Bounty Request for Fedora Operating System Compatibility HOT 16
- electrumx.service: Main process exited, code=killed, status=4/ILL HOT 2
- Allow Python 3.7 installs
- Wrong file path in config HOT 12
- Add verbose option HOT 1
- Ubuntu 18.04 LTS problem with python_rocksdb HOT 1
- why this error electrumx.service: Main process exited, code=killed, status=4/ILL HOT 1
- Bootstrap fails when git is not installed
- Install on Android HOT 1
- Please could you test for Debian 10 (Buster) HOT 3
- Cannot boot ElectrumX with Dash and systemd with Ubuntu 18.04 HOT 1
- ubuntu 18.04 - rocksdb & old python HOT 4
- Missing packages on Debian 10
- No module named 'aiorpcx', ubuntu 18.04 HOT 2
- What is your electurmx version ? HOT 2
- Can I use your installer to install electrumx version 1.0 ?
- Fatal: unsafe repository HOT 1
- ERROR: Could not find a version that satisfies the requirement aiorpcX[ws]<0.23,>=0.22.0 (from e-x)
- electrumx is now on python 3.8, not 3.7 -- offering bounty for update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electrumx-installer.