Bitcoin Forum
April 19, 2024, 07:26:14 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: An existing connection was forcibly closed by the remote host. (10054)  (Read 268 times)
i22ie (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
August 23, 2019, 12:02:38 AM
Merited by bones261 (2), LoyceV (1), ABCbits (1)
 #1

Hi

Running Bticoin 18.1 with Electrum Personal Server.

I have "An existing connection was forcibly closed by the remote host.  (10054)" in the debug file. Not sure what this means are how best to fix.

---------snip---------
2019-08-22T23:46:35Z UpdateTip: new best=0000000000000000000d12e53fae86f4042254cfac02c56d250ceb0e4708c86e height=591298 version=0x20800000 log2_work=90.994278 tx=447697552 date='2019-08-22T23:45:56Z' progress=1.000000 cache=94.5MiB(716742txo) warning='45 of last 100 blocks have unexpected version.'
2019-08-22T23:46:50Z socket recv error An existing connection was forcibly closed by the remote host.  (10054)
2019-08-22T23:51:08Z UpdateTip: new best=000000000000000000182c582a21f660d07f4fd3ce435aefc5bf4081ca243102 height=591299 version=0x20000000 log2_work=90.994304 tx=447699499 date='2019-08-22T23:51:34Z' progress=1.000000 cache=94.7MiB(718338txo) warning='45 of last 100 blocks have unexpected version.'
2019-08-22T23:54:42Z UpdateTip: new best=000000000000000000164e955482234e50a5d01425f6ad421e7c254f54a990b9 height=591300 version=0x20000000 log2_work=90.994329 tx=447700103 date='2019-08-22T23:54:23Z' progress=1.000000 cache=94.8MiB(719352txo) warning='44 of last 100 blocks have unexpected version.'
------------end snip---------

Any help much appreciated.  Cheers
1713554774
Hero Member
*
Offline Offline

Posts: 1713554774

View Profile Personal Message (Offline)

Ignore
1713554774
Reply with quote  #2

1713554774
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2941


Block halving is coming.


View Profile WWW
August 23, 2019, 12:19:21 AM
Last edit: August 23, 2019, 12:35:16 AM by BitMaxz
 #2

it seems a blockchain issue. Can you try to restart the bitcoin core wallet just got the idea from this post

Also try this one from this post Bitcoin Core stopped connecting...

If nothing works it might be a corrupted blockchain you need to reindex through command prompt/terminal.



Are you planning to make your own personal electrum server?

Check this guide: https://electrumx.readthedocs.io/en/latest/HOWTO.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
i22ie (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
August 23, 2019, 12:54:45 AM
 #3

Tried that thanks.

Command line error when input -reindex or -reindex-chainsate unless I've got the command wrong?

Thinking wipe disk and reinstall a fresh node unless there is a better option.

Using chris-belcher/Electrum Personal Server works well recommended. (https://github.com/chris-belcher/electrum-personal-server)
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2941


Block halving is coming.


View Profile WWW
August 23, 2019, 02:08:29 AM
Merited by ABCbits (1)
 #4

Command line error when input -reindex or -reindex-chainsate unless I've got the command wrong?

You might do wrong here you can do -reindex if you open command prompt under bitcoin core folder where bitcoin-qt.exe installed.

Or you can do this below.
Find the folder of your bitcoin core wallet and right-click the bitcoin-qt.exe shortcut then click properties under target field add the reindex at the end.
Sample this image:


Then replace the -rescan to -reindex

It should be like this:
Code:
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -reindex

or you can directly use the repair wallet under the core wallet then Rebuild index:





It seems that you solved the problem by using "Using chris-belcher/Electrum Personal Server" ? Am I right?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5493


Self-proclaimed Genius


View Profile
August 23, 2019, 02:09:16 AM
 #5

Quote from: i22ie
socket recv error An existing connection was forcibly closed by the remote host.  (10054)
There seems to be a problem with your current connection to a peer that's why you've received that error.
Are there any issues with your ISP or are you using any IP-changing setting/software?

Are you having trouble syncing or connecting to other nodes?
Your log looks fine to me as it continued to sync.

Additionally:
Quote from: i22ie
warning='45 of last 100 blocks have unexpected version.'
This is quite common for newly updated nodes with blocks verified by the older version.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5493


Self-proclaimed Genius


View Profile
August 23, 2019, 11:11:35 AM
Merited by ABCbits (1)
 #6

Actually,
1. OP uses newest version (i think OP simply forget to add "0.")
2. The warning actually showed because miners/pools who use ASICBOOST. See https://bitcoin.stackexchange.com/a/85779
[1]  Smiley Yes it's pretty obvious that he's using the latest version 0.18.1 (Aug 9).

[2] Actually, I missed the timestamps that he's almost at the latest height (so those were definitely "ASIC boost" blocks)
but there are few block-version-related issues that will result with that error... old issues.

BTW, that linked "error msg" was removed in 0.18.0. (https://github.com/bitcoin/bitcoin/pull/15471).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
i22ie (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 4


View Profile
August 23, 2019, 10:40:24 PM
 #7

Hi folks

Thanks for the advice which I've tried but didn't resolve the issue. Restored a backup and thought I'd cracked it but then alas no.

Coming to the conclusion I'll start it from scratch. It's a dedicated laptop with high bandwidth BB so won't take to long.

Hopefully I won't be back too soon Wink

Learned a fair a bit from this thread.


Cheers
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
August 24, 2019, 04:03:46 PM
 #8

WAIT!!!

It looks normal to me... It's still receiving blocks and still has active connections? It just means that the remote host has shutdown or has stopped connecting to you (it might have reached it's maximum number of connections or soemthing). I'm not sure what the error is precicely but I always get it every couple of blocks and everything seems to work normally... It still broadcasts it's blocks and still keeps downloading so I don't think it's an error.

Code:
2019-06-04T16:49:26Z UpdateTip: new best=00000000000000000546714de9f29dcea0c433269e74144ef5bfce7cff649f4b height=344394 version=0x00000002 log2_work=82.27758 tx=60206998 date='2015-02-20T14:02:04Z' progress=0.144042 cache=772.9MiB(4345707txo)
2019-06-04T16:49:26Z UpdateTip: new best=00000000000000000e956d9ebdef88922d3cbb8df62822cc58719bce227b292a height=344395 version=0x00000002 log2_work=82.277627 tx=60208151 date='2015-02-20T14:14:27Z' progress=0.144045 cache=772.9MiB(4345552txo)
2019-06-04T16:49:26Z socket recv error An existing connection was forcibly closed by the remote host.  (10054)
2019-06-04T16:49:27Z UpdateTip: new best=000000000000000016038b3ec9076d16a824a4a6e4a6b944d80d3bd17ce915f3 height=344396 version=0x00000002 log2_work=82.277674 tx=60209100 date='2015-02-20T14:25:59Z' progress=0.144047 cache=772.8MiB(4344931txo)
2019-06-04T16:49:27Z UpdateTip: new best=000000000000000014a0c54b037eabadde70e6e7f76fbc84d6d90dfd177eda50 height=344397 version=0x00000002 log2_work=82.277721 tx=60209495 date='2015-02-20T14:45:50Z' progress=0.144048 cache=772.9MiB(4345110txo)

I'm getting it on both windows and linux so it doesn't seem to be a problem to me.
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!