Bitcoin Forum
November 08, 2024, 01:20:33 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ElectrumX configuration error  (Read 414 times)
thisisbitduck (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
July 25, 2017, 10:51:20 AM
 #1

Code:
"Invalid URL: host is required for abolute urls.")

Is the error I am getting

Code:
DB_DIRECTORY = [Bitcoin data directory] 
DAEMON_URL = http://[username]:[password]@localhost:8332/
ELECTRUMX = /usr/local/bin/electrumx_server.py
USERNAME = bitcoind
COIN = Bitcoin
NET = mainnet
DB_ENGINE = leveldb
REORG_LIMIT = 200
DONATION_ADDRESS = [BTC address]
BANNER_FILE = /etc/electrumx.banner
HOST = [IP address of server]
TCP_PORT = 50001
SSL_PORT = 50002
SSL_CERTFILE = /etc/server.crt
SSL_KEYFILE = /etc/server.key
IRC = 1
REPORT_HOST =  [FQDN of server (using a free redirect service)]


Things in [ have been censored ] .
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
July 25, 2017, 02:53:26 PM
 #2

Sounds like it could be an issue with localhost not resolving or possibly using IPv6 or something along those lines.

Try setting the DAEMON_URL to the following and see if you still get the same error.
Code:
DAEMON_URL = http://[username]:[password]@127.0.0.1:8332/
thisisbitduck (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
July 26, 2017, 01:45:34 AM
 #3

IPV4 if that matters. I'll try that.
thisisbitduck (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
July 26, 2017, 04:56:49 AM
 #4

No dice. Still throwing it.
thisisbitduck (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
July 26, 2017, 05:32:36 AM
 #5

Simple mistake. Always double check your config file. A few characters off of a login. Derp.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!