Bitcoin Forum
December 08, 2016, 02:30:08 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 »  All
  Print  
Author Topic: Electrum server discussion thread  (Read 51308 times)
molecular
Donator
Legendary
*
Offline Offline

Activity: 2142



View Profile
September 09, 2015, 04:31:32 PM
 #341


@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

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
1481207408
Hero Member
*
Offline Offline

Posts: 1481207408

View Profile Personal Message (Offline)

Ignore
1481207408
Reply with quote  #2

1481207408
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481207408
Hero Member
*
Offline Offline

Posts: 1481207408

View Profile Personal Message (Offline)

Ignore
1481207408
Reply with quote  #2

1481207408
Report to moderator
1481207408
Hero Member
*
Offline Offline

Posts: 1481207408

View Profile Personal Message (Offline)

Ignore
1481207408
Reply with quote  #2

1481207408
Report to moderator
fydel
Hero Member
*****
Offline Offline

Activity: 526


Hasta la Bitcoin siempre!


View Profile
October 11, 2015, 01:28:32 PM
 #342

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 []:marc@tinyint.de

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/emailAddress=marc@tinyint.de
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.
mdelfin
Newbie
*
Offline Offline

Activity: 1


View Profile
December 21, 2015, 03:53:37 PM
 #343

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
JWU42
Legendary
*
Offline Offline

Activity: 1484


View Profile
December 22, 2015, 11:20:22 AM
 #344

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.

GPG PubKey | THREEMA | OTC | HeatWare | 1JWU42QLGFESoQCC4iPzUDTRiC9nx5bi95
torusJKL
Hero Member
*****
Offline Offline

Activity: 594


View Profile
December 31, 2015, 03:41:51 PM
 #345

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.

If you find my post useful send some BTC: 167XM1Za8aG9CdbYuHFMpL2kvPsw6uC8da
Bitrated || bitcoin-otc || Moon Bitcoin Faucet
dan91
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW
December 31, 2015, 03:49:58 PM
 #346

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?

1Dan91q5KzP6w1RAzbwpiV5X2kMU3X9sFA
torusJKL
Hero Member
*****
Offline Offline

Activity: 594


View Profile
December 31, 2015, 04:47:06 PM
 #347

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.

If you find my post useful send some BTC: 167XM1Za8aG9CdbYuHFMpL2kvPsw6uC8da
Bitrated || bitcoin-otc || Moon Bitcoin Faucet
dan91
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW
December 31, 2015, 05:28:37 PM
 #348

try using

host = 0.0.0.0

1Dan91q5KzP6w1RAzbwpiV5X2kMU3X9sFA
torusJKL
Hero Member
*****
Offline Offline

Activity: 594


View Profile
January 01, 2016, 05:45:12 PM
 #349

try using

host = 0.0.0.0

Well that gives no error but now it won't be available from the outside, right? :-(

If you find my post useful send some BTC: 167XM1Za8aG9CdbYuHFMpL2kvPsw6uC8da
Bitrated || bitcoin-otc || Moon Bitcoin Faucet
dan91
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW
January 01, 2016, 05:52:18 PM
 #350

Yeh it will 0.0.0.0 means bind to all address' that are available.

1Dan91q5KzP6w1RAzbwpiV5X2kMU3X9sFA
torusJKL
Hero Member
*****
Offline Offline

Activity: 594


View Profile
January 01, 2016, 06:17:39 PM
 #351

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.

If you find my post useful send some BTC: 167XM1Za8aG9CdbYuHFMpL2kvPsw6uC8da
Bitrated || bitcoin-otc || Moon Bitcoin Faucet
Selavi
Newbie
*
Offline Offline

Activity: 6


View Profile
January 21, 2016, 09:30:52 AM
 #352

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?
shsmith
Jr. Member
*
Offline Offline

Activity: 34



View Profile
January 30, 2016, 02:16:13 AM
 #353

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.
molecular
Donator
Legendary
*
Offline Offline

Activity: 2142



View Profile
January 31, 2016, 08:46:14 AM
 #354

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.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Deth
Hero Member
*****
Offline Offline

Activity: 533



View Profile
February 04, 2016, 01:06:23 PM
 #355

Are there any news about server re-write, with faster block processing?

dan91
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW
February 04, 2016, 04:44:55 PM
 #356

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.

1Dan91q5KzP6w1RAzbwpiV5X2kMU3X9sFA
shsmith
Jr. Member
*
Offline Offline

Activity: 34



View Profile
February 05, 2016, 11:25:30 PM
 #357

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.
shsmith
Jr. Member
*
Offline Offline

Activity: 34



View Profile
February 05, 2016, 11:28:05 PM
 #358

Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalk.org/index.php?topic=726338.0
molecular
Donator
Legendary
*
Offline Offline

Activity: 2142



View Profile
February 10, 2016, 04:33:02 PM
 #359

Are there any news about server re-write, with faster block processing?
Fireduck re-wrote electrum-server in Java and it processes blocks much faster than the original Python version.
See https://bitcointalk.org/index.php?topic=726338.0

thanks for the info/link... might come in handy.

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
GODLIKE
Sr. Member
****
Offline Offline

Activity: 392

LOL what you looking at?


View Profile
March 22, 2016, 05:11:12 PM
 #360

The fact that there are less than 50 servers scares me quite a bit.
What happens if all the Electrum servers go offline?

BITCOIN FOREVER news aggregator: only the most important news on the cryptoworld!
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!