Pages:
Author

Topic: Electrum server discussion thread - page 5. (Read 61507 times)

newbie
Activity: 34
Merit: 0
February 05, 2016, 06:25:30 PM
Just as a side-note: I used to use StartSSL, too. But compared to the new letsencrypt it's a lot of hassle and seems complicated in comparison.
Please explain how you used letsencrypt with electrum-server.
newbie
Activity: 56
Merit: 0
February 04, 2016, 11:44:55 AM
Are there any news about server re-write, with faster block processing?

Been a couple of pull requests that have gone through from JAuthor that have increased the speed a little bit.
hero member
Activity: 518
Merit: 500
February 04, 2016, 08:06:23 AM
Are there any news about server re-write, with faster block processing?
donator
Activity: 2772
Merit: 1019
January 31, 2016, 03:46:14 AM
BTW, I got my cert from StartSSL and to make it work I had to append the intermediate CA bundle to the end of my .crt file.

Just as a side-note: I used to use StartSSL, too. But compared to the new letsencrypt it's a lot of hassle and seems complicated in comparison.
newbie
Activity: 34
Merit: 0
January 29, 2016, 09:16:13 PM
Quote
Public SSL Cert Bug?
There is currently no way to replace a self-signed certificate because it is pinned by all the clients who ever connected.

To go to a CA-signed certificate you need to also change your DNS name so that your server will have a new identity.

About a day ago I did this with one of my electrum servers, and though it is taking connections, the traffic is much lower than it used to be. This is partly because Electrum clients prior to 2.0 cannot connect at all with a CA-signed certificate, but mostly because it takes a while for everyone to discover the new server.

BTW, I got my cert from StartSSL and to make it work I had to append the intermediate CA bundle to the end of my .crt file.
newbie
Activity: 6
Merit: 0
January 21, 2016, 04:30:52 AM
Public SSL Cert Bug?

To experiment with some inspiration from this thread, I got a public SSL cert from Let's Encrypt and I hit a slight glitch. The client wouldn't sync after switching to the public cert, and deleting the cached cert fixed it. I've since reverted back to self-signed to prevent collateral damage until this issue is hashed out.

I haven't spent much time debugging as it's late for me, and a quick skim through the code doesn't get me anything. So far I've found that only Electrum 2.0+ is supported in the server setup guide.

Thoughts?
hero member
Activity: 619
Merit: 500
January 01, 2016, 01:17:39 PM
It now works.
I had to set
Code:
host = 0.0.0.0
report_host=fqdn
Thanks to dan91 and hsmiths on #electrum


A new electrum server node says hello world!

hostname: e1.ueo.ch
network: IPv4
ports: 50001
prune: 10000
location: Germany


I will add more ports in the near future.
newbie
Activity: 56
Merit: 0
January 01, 2016, 12:52:18 PM
Yeh it will 0.0.0.0 means bind to all address' that are available.
hero member
Activity: 619
Merit: 500
January 01, 2016, 12:45:12 PM
try using

host = 0.0.0.0

Well that gives no error but now it won't be available from the outside, right? :-(
newbie
Activity: 56
Merit: 0
December 31, 2015, 12:28:37 PM
try using

host = 0.0.0.0
hero member
Activity: 619
Merit: 500
December 31, 2015, 11:47:06 AM
Did you specify that IP address in the config file? Did you try just using 0.0.0.0 and see if it would bind then?

I defined host = with the  FQDN and it took the IP from this information.
If I use localhost then I don't have any error but from what I understand than none can connect.
newbie
Activity: 56
Merit: 0
December 31, 2015, 10:49:58 AM
Did you specify that IP address in the config file? Did you try just using 0.0.0.0 and see if it would bind then?
hero member
Activity: 619
Merit: 500
December 31, 2015, 10:41:51 AM
Hi everyone

I installed electrum-server.
It is still syncing to the latest block.

But I get an error "could not open TCP socket on 5.9.29.151:50001"

See the log:
Code:
[31/12/2015-17:32:17] Starting Electrum server on electrum2.ueo.ch
[31/12/2015-17:32:28] Database version 3.
[31/12/2015-17:32:28] Pruning limit for spent outputs is 10000.
[31/12/2015-17:32:28] Blockchain height 390737
[31/12/2015-17:32:28] UTXO tree root hash: 5ac363c9e4f63f1d2387ba079779a5b54c4519f2f0fd816f917024e31b74eff4
[31/12/2015-17:32:28] Coins in database: 1501563237657201
[31/12/2015-17:32:28] catching up missing headers: 390736 390737
[31/12/2015-17:32:31] could not open TCP socket on 5.9.29.151:50001

I also tried port 50010 and even disabled the firewall to no avail.

Thanks.
legendary
Activity: 1666
Merit: 1000
December 22, 2015, 06:20:22 AM
The instructions on github are a bit outdated.

You should download the DB from the foundry.  Building the DB would take 2+ months (assuming modern processor and SSD), so again, just download a snapshot and start from there.

As far as the number of servers.  47 is quite a large number.  It had been in the lower 20's for quite some time and we have seen several new servers start recently.  The more important factor is consistency of servers (i.e., high availability and still running 12 months from now).

The IRC channel #electrum on freenode is also a good resource.
newbie
Activity: 1
Merit: 0
December 21, 2015, 10:53:37 AM
I just lauched an electrum server (electrum.stoff-sammlung.de).
(Are there really only 47 servers online?)

I'm a bit puzzled about the tuning.
tmpfs is mentioned to speed up the server (and my hard drives are busy now).
But that means, that the leveldb files are lost at every reboot, right?

I assume seeding the tmpfs is nescessary and saving the leveldb files to permantent storage would be a good idea.

Is there any template for such a setup?

Martin
hero member
Activity: 522
Merit: 500
Hasta la Bitcoin siempre!
October 11, 2015, 08:28:32 AM
I have set up an electrum-server but the ssl connection is not working.

I followed the instructions in the how-to but I keep getting this error:

Quote
[11/10/2015-14:31:47] cannot start TCP session[Errno 336265218] _ssl.c:351: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ('109.x.x.81', 51527)

What does this error message mean?

Edit: This is my SSL configuration:

Quote
>openssl req -new -key server.key -out server.csr

Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:NRW
Locality Name (eg, city) []:Cologne
Organization Name (eg, company) [Internet Widgits Pty Ltd]:.
Organizational Unit Name (eg, section) []:.
Common Name (e.g. server FQDN or YOUR name) []:einfachmalnettsein.de
Email Address []:[email protected]

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:.


>openssl x509 -req -days 730 -in server.csr -signkey server.key -out server.crt

Signature ok
subject=/C=DE/ST=NRW/L=Cologne/CN=einfachmalnettsein.de/[email protected]
Getting Private key

This is my log:

Quote
[11/10/2015-17:07:24] Starting Electrum server on 0.0.0.0
[11/10/2015-17:07:26] Database version 3.
[11/10/2015-17:07:26] Pruning limit for spent outputs is 10000.
[11/10/2015-17:07:26] Blockchain height 378441
[11/10/2015-17:07:26] UTXO tree root hash: 363913361787b003187a5628440fdf48377beb0a1e56c7f21126e2cca7718f5e
[11/10/2015-17:07:26] Coins in database: 1470823448062842
[11/10/2015-17:07:26] TCP server started on 0.0.0.0:50001
[11/10/2015-17:07:26] SSL server started on 0.0.0.0:50002
[11/10/2015-17:07:26] Blockchain is up to date.
[11/10/2015-17:11:24] utxo not in database; postponing mempool update
[11/10/2015-17:11:25] Memory pool initialized.
[11/10/2015-17:12:28] block 378442 (1954 63.45s) 02c76e47b2e90ee1bf610ba8107b104e3e1fe81339ac02ab7d519c1a7a3a17f4 (30.80tx/s, 63.45s/block)
[11/10/2015-17:12:54] block 378443 (711 26.16s) 90012c37feb4ea11316021b4c613643358710bb696e240b224d553da82491643 (29.73tx/s, 44.62s/block)
[11/10/2015-17:12:58] mempool_update 3.49787020683 18473 8238
[11/10/2015-17:12:58] bitcoind is responding
[11/10/2015-17:12:58] joining IRC
[11/10/2015-17:12:58] cannot start TCP session[Errno 336265218] _ssl.c:351: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ('188.xx.x.143', 6907)
[11/10/2015-17:12:58] cannot start TCP session[Errno 336265218] _ssl.c:351: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ('188.x.143', 55134)
[11/10/2015-17:12:58] cannot start TCP session[Errno 336265218] _ssl.c:351: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib ('106.x.x.160', 42757)




UPDATE: It works now. I had a typo in the keyfile. Thanks #electrum for helping.
donator
Activity: 2772
Merit: 1019
September 09, 2015, 11:31:32 AM

@Molecular,

I simply passed on the request from the devs to encourage all server ops to update.  Yes, it is due to the patch you reference.
Why such a simple upgrade shouldn't  achieve concensus easily ?

Lol.

I don't oppose the patch. Just not going to update my running server for every little change
legendary
Activity: 1666
Merit: 1000
September 08, 2015, 08:08:50 PM
All server ops - please update your servers.  A new patch was pushed a few days ago...

Code:
#cd to electrum-server directory then do...
git pull
sudo python setup.py install

Then you should be good to go!

because of this?

Code:
commit be63d5fc48e0a95a800e95b2a8622109c2e3e549
Merge: f6bb080 a187370
Author: ThomasV
Date:   Fri Sep 4 08:36:21 2015 +0200

    Merge pull request #122 from fireduck64/master

    Change to make address history sorted and deterministic



hmm. Seems overkill to prompt everybody to update for this. What am I missing?


@Molecular,

I simply passed on the request from the devs to encourage all server ops to update.  Yes, it is due to the patch you reference.
donator
Activity: 2772
Merit: 1019
September 08, 2015, 02:10:24 PM
All server ops - please update your servers.  A new patch was pushed a few days ago...

Code:
#cd to electrum-server directory then do...
git pull
sudo python setup.py install

Then you should be good to go!

because of this?

Code:
commit be63d5fc48e0a95a800e95b2a8622109c2e3e549
Merge: f6bb080 a187370
Author: ThomasV
Date:   Fri Sep 4 08:36:21 2015 +0200

    Merge pull request #122 from fireduck64/master

    Change to make address history sorted and deterministic



hmm. Seems overkill to prompt everybody to update for this. What am I missing?
legendary
Activity: 1666
Merit: 1000
September 06, 2015, 08:16:09 AM
All server ops - please update your servers.  A new patch was pushed a few days ago...

Code:
#cd to electrum-server directory then do...
git pull
sudo python setup.py install

Then you should be good to go!
Pages:
Jump to: