Bitcoin Forum
May 06, 2024, 03:05:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Several issues with Bitcoin Core 0.20.1  (Read 146 times)
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 658


I rather die on my feet than to live on my knees


View Profile
October 10, 2020, 05:34:01 PM
Merited by LoyceV (7), Jet Cash (5), suchmoon (4), ABCbits (1), Heisenberg_Hunter (1)
 #1

Hello.

First of all:

Bitcoin Client Software and Version Number: Bitcoin Core RPC client version v0.20.1
Operating System: Debian Buster
System Hardware Specs: 128 GB SS + 1TB Western Digital + 16Gb Ram + i7-3740QM
Description of Problem: Several issues/questions. Will describe them below
Any Related Addresses: n/a
Any Related Transaction IDs: n/a
Screenshot of the problem: n/a (running it from the command line)
Log Files from the Bitcoin Client: bitcoin.conf

The first issue is related to connecting the node via Tor services.
I'll paste here my configurations and will past some log output so that the issue can be better understood (my wording may not be the best).

So, about configs:

In bitcoin.conf I have (among other lines not related with networking):
Code:
proxy=127.0.0.1:9005
listen=1
bind=127.0.0.1
externalip=my.onion.address.onion
onlynet=onion
port=8333
torcontrol=127.0.0.1:9501
onion=127.0.0.1:9005


In /etc/tor/torrc I have (among other lines that were already there:
Code:
SOCKSPort 9005
ControlPort 9501

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333
HiddenServiceVersion 3

There is another file that could potentially create confusion, but all lines there matches the ones here. Other than that, in /usr/share/tor/, I have:
Code:
CookieAuthentication 1
CookieAuthFileGroupReadable 1
CookieAuthFile /run/tor/control.authcookie

And I think that's all. The aemon starts normally and I think it connects to the internet via Tor.

Now, 2 issues eventually related to this, that might be due to some wrong configuration:

1 - When we issue bitcoin-cli getnetworkinfo we get a json output in which one of the field is score. The issue is that this filed value never raises as it was supposed to raise with time the node has been online. It's fixed at 4. This value used to increase in the past. I remember that the longer the node uptime, the higher this value used to be. Since this is a parameter that kind of measures the connectivity between nodes, I'm not sure this should be a concern or not.

2 - After some time, the node outputs some messages like the ones below:
Quote
2020-10-10T17:18:02Z Socks5() connect to t25hnyuffgirnma2.onion:8333 failed: connection refused
2020-10-10T17:22:41Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable
2020-10-10T17:23:06Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable
2020-10-10T17:23:16Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable
2020-10-10T17:23:21Z Socks5() connect to wzbll26zuafefpq2.onion:8333 failed: host unreachable

Is this on my side or on other nodes/peers side? Is this due to my Tor and node configuration?

There are also messages of successful connections, I guess:
Quote
2020-10-10T15:30:22Z New outbound peer connected: version: 70015, blocks=652116, peer=3 (full-relay)
2020-10-10T15:30:26Z New outbound peer connected: version: 70015, blocks=652116, peer=4 (full-relay)
2020-10-10T15:30:26Z New outbound peer connected: version: 70015, blocks=652116, peer=5 (full-relay)
2020-10-10T15:30:28Z New outbound peer connected: version: 70015, blocks=651805, peer=0 (full-relay)
2020-10-10T15:30:30Z New outbound peer connected: version: 70015, blocks=652116, peer=7 (full-relay)
2020-10-10T15:30:30Z New outbound peer connected: version: 70015, blocks=652116, peer=6 (full-relay)

If I issue the command bitcoin-cli getblockchaininfo I get the following:
Code:
{
"chain": "main",
"blocks": 652125,
"headers": 652125,
"bestblockhash": "000000000000000000080ca212557b350a253a4992989b12838d9bd22804314e",
"difficulty": 19298087186262.61,
"mediantime": 1602345082,
"verificationprogress": 0.9999885715223217,
"initialblockdownload": false,
"chainwork": "00000000000000000000000000000000000000001480d471f6de5739efbf9c50",
"size_on_disk": 345405677951,
"pruned": false,
"softforks": {
"bip34": {
"type": "buried",
"active": true,
"height": 227931
},
"bip66": {
"type": "buried",
"active": true,
"height": 363725
},
"bip65": {
"type": "buried",
"active": true,
"height": 388381
},
"csv": {
"type": "buried",
"active": true,
"height": 419328
},
"segwit": {
"type": "buried",
"active": true,
"height": 481824
}
},
"warnings": ""
}

And bitcoin-cli getnetworkinfo

Code:
{
"version": 200100,
"subversion": "/Satoshi:0.20.1/",
"protocolversion": 70015,
"localservices": "0000000000000409",
"localservicesnames": [
"NETWORK",
"WITNESS",
"NETWORK_LIMITED"
],
"localrelay": true,
"timeoffset": -2,
"networkactive": true,
"connections": 10,
"networks": [
{
"name": "ipv4",
"limited": true,
"reachable": false,
"proxy": "127.0.0.1:9005",
"proxy_randomize_credentials": true
},
{
"name": "ipv6",
"limited": true,
"reachable": false,
"proxy": "127.0.0.1:9005",
"proxy_randomize_credentials": true
},
{
"name": "onion",
"limited": false,
"reachable": true,
"proxy": "127.0.0.1:9005",
"proxy_randomize_credentials": true
}
],
"relayfee": 0.00001000,
"incrementalfee": 0.00001000,
"localaddresses": [
{
"address": "my.onion.adress1.onion",
"port": 8333,
"score": 4
},
{
"address": "my.onion.adress2.onion",
"port": 8333,
"score": 4
}
],
"warnings": ""
}


and one more that I think it can prove I'm connected to the "internet/other nodes/peers". bitcoin-cli getpeerinfo
Code:
[
{
"id": 1,
"addr": "ddwwj3wjrpscwz5k.onion:8333",
"addrbind": "127.0.0.1:50550",
"services": "0000000000000409",
"servicesnames": [
"NETWORK",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351098,
"lastrecv": 1602351100,
"bytessent": 854491,
"bytesrecv": 6141839,
"conntime": 1602343807,
"timeoffset": -3,
"pingtime": 0.448378,
"minping": 0.282023,
"version": 70015,
"subver": "/Satoshi:0.20.0/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1990,
"feefilter": 32,
"getaddr": 24,
"getdata": 384443,
"getheaders": 1053,
"headers": 636,
"inv": 462169,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 31767,
"cmpctblock": 16923,
"feefilter": 32,
"getheaders": 1053,
"headers": 954,
"inv": 673888,
"notfound": 992,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 5412086,
"verack": 24,
"version": 126
}
},
{
"id": 6,
"addr": "vszexl5hefva7xev.onion:8333",
"addrbind": "127.0.0.1:50560",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351099,
"lastrecv": 1602351100,
"bytessent": 855707,
"bytesrecv": 1650986,
"conntime": 1602343829,
"timeoffset": -3,
"pingtime": 0.748079,
"minping": 0.437487,
"version": 70015,
"subver": "/Satoshi:0.20.0/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652124,
"synced_blocks": 652124,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1895,
"feefilter": 32,
"getaddr": 24,
"getdata": 94281,
"getheaders": 1053,
"headers": 742,
"inv": 738430,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 15106,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 32132,
"feefilter": 32,
"getdata": 1718,
"getheaders": 1053,
"headers": 636,
"inv": 440395,
"notfound": 133,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 1170743,
"verack": 24,
"version": 126
}
},
{
"id": 11,
"addr": "nuc6z2h2r5jkino5.onion:8333",
"addrbind": "127.0.0.1:50576",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351099,
"lastrecv": 1602351097,
"bytessent": 1036542,
"bytesrecv": 2516753,
"conntime": 1602343859,
"timeoffset": -2,
"pingtime": 0.796754,
"minping": 0.364353,
"version": 70015,
"subver": "/Satoshi:0.20.0/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1885,
"feefilter": 32,
"getaddr": 24,
"getblocktxn": 90,
"getdata": 133714,
"getheaders": 1053,
"headers": 318,
"inv": 705652,
"ping": 1952,
"pong": 1952,
"sendcmpct": 99,
"sendheaders": 24,
"tx": 189597,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 31682,
"blocktxn": 142877,
"cmpctblock": 84596,
"feefilter": 32,
"getdata": 2328,
"getheaders": 1053,
"headers": 424,
"inv": 457927,
"notfound": 565,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 1791125,
"verack": 24,
"version": 126
}
},
{
"id": 13,
"addr": "b76qnbicu63xuwfd.onion:8333",
"addrbind": "127.0.0.1:50580",
"services": "0000000000000409",
"servicesnames": [
"NETWORK",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351101,
"lastrecv": 1602351089,
"bytessent": 872296,
"bytesrecv": 2572685,
"conntime": 1602343867,
"timeoffset": -2,
"pingtime": 0.829834,
"minping": 0.560229,
"version": 70015,
"subver": "/Satoshi:0.20.1/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 2160,
"feefilter": 32,
"getaddr": 24,
"getblocktxn": 626,
"getdata": 104677,
"getheaders": 1053,
"headers": 530,
"inv": 737718,
"ping": 1952,
"pong": 1952,
"sendcmpct": 99,
"sendheaders": 24,
"tx": 21299,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 31722,
"blocktxn": 624037,
"cmpctblock": 117597,
"feefilter": 32,
"getdata": 1666,
"getheaders": 1053,
"headers": 212,
"inv": 460837,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 1331385,
"verack": 24,
"version": 126
}
},
{
"id": 14,
"addr": "heopbnyhiik5eeoe.onion:8333",
"addrbind": "127.0.0.1:50582",
"services": "0000000000000409",
"servicesnames": [
"NETWORK",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": false,
"lastsend": 1602351077,
"lastrecv": 1602351077,
"bytessent": 6886,
"bytesrecv": 7644,
"conntime": 1602343873,
"timeoffset": -2,
"pingtime": 0.682069,
"minping": 0.416168,
"version": 70015,
"subver": "/Satoshi:0.20.0/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00000000,
"bytessent_per_msg": {
"getheaders": 2106,
"headers": 636,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 1380,
"feefilter": 32,
"getheaders": 1053,
"headers": 1035,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 126
}
},
{
"id": 15,
"addr": "fbb52w5wwjl6kaip.onion:8333",
"addrbind": "127.0.0.1:50584",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": false,
"lastsend": 1602351083,
"lastrecv": 1602351083,
"bytessent": 6024,
"bytesrecv": 125891,
"conntime": 1602343879,
"timeoffset": -2,
"pingtime": 0.5636370000000001,
"minping": 0.430084,
"version": 70015,
"subver": "/Satoshi:0.20.1/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00000000,
"bytessent_per_msg": {
"getblocktxn": 97,
"getdata": 61,
"getheaders": 1053,
"headers": 636,
"ping": 1952,
"pong": 1952,
"sendcmpct": 99,
"sendheaders": 24,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 1220,
"blocktxn": 21734,
"cmpctblock": 97390,
"feefilter": 32,
"getheaders": 1053,
"headers": 318,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"verack": 24,
"version": 126
}
},
{
"id": 16,
"addr": "xvyvokgiyb5jkiwp.onion:8333",
"addrbind": "127.0.0.1:50586",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351097,
"lastrecv": 1602351096,
"bytessent": 814037,
"bytesrecv": 3656489,
"conntime": 1602343886,
"timeoffset": -2,
"pingtime": 0.363626,
"minping": 0.302381,
"version": 70015,
"subver": "/Satoshi:0.20.1/",
"inbound": false,
"addnode": false,
"startingheight": 652116,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 2385,
"feefilter": 32,
"getaddr": 24,
"getdata": 182554,
"getheaders": 3159,
"headers": 636,
"inv": 618145,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 2958,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 31932,
"feefilter": 32,
"getdata": 399,
"getheaders": 1053,
"headers": 1010,
"inv": 534566,
"notfound": 61,
"ping": 1952,
"pong": 1952,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 3083292,
"verack": 24,
"version": 126
}
},
{
"id": 20,
"addr": "j3myk26hdlvv7lak.onion:8333",
"addrbind": "127.0.0.1:50838",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351096,
"lastrecv": 1602351079,
"bytessent": 740944,
"bytesrecv": 1368966,
"conntime": 1602345046,
"timeoffset": -2,
"pingtime": 0.577812,
"minping": 0.554763,
"version": 70015,
"subver": "/Satoshi:0.20.1/",
"inbound": false,
"addnode": false,
"startingheight": 652119,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1625,
"feefilter": 32,
"getaddr": 24,
"getdata": 70430,
"getheaders": 1053,
"headers": 636,
"inv": 650243,
"ping": 1632,
"pong": 1632,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 13397,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 31327,
"feefilter": 32,
"getdata": 1965,
"getheaders": 1053,
"headers": 636,
"inv": 318887,
"ping": 1632,
"pong": 1632,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 1011562,
"verack": 24,
"version": 126
}
},
{
"id": 26,
"addr": "k7rlneu6udmzblxu.onion:8333",
"addrbind": "127.0.0.1:51226",
"services": "0000000000000409",
"servicesnames": [
"NETWORK",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351100,
"lastrecv": 1602351096,
"bytessent": 490311,
"bytesrecv": 1003460,
"conntime": 1602346931,
"timeoffset": -2,
"pingtime": 0.48449,
"minping": 0.302195,
"version": 70015,
"subver": "/Satoshi:0.19.1/",
"inbound": false,
"addnode": false,
"startingheight": 652122,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1220,
"feefilter": 32,
"getaddr": 24,
"getdata": 62962,
"getheaders": 1053,
"headers": 212,
"inv": 401827,
"ping": 1120,
"pong": 1120,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 20501,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 30837,
"cmpctblock": 17222,
"feefilter": 32,
"getdata": 2821,
"getheaders": 1053,
"headers": 424,
"inv": 242401,
"ping": 1120,
"pong": 1120,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 706190,
"verack": 24,
"version": 126
}
},
{
"id": 36,
"addr": "rw6qufwn75p7migp.onion:8333",
"addrbind": "127.0.0.1:51456",
"services": "000000000000040d",
"servicesnames": [
"NETWORK",
"BLOOM",
"WITNESS",
"NETWORK_LIMITED"
],
"relaytxes": true,
"lastsend": 1602351099,
"lastrecv": 1602351100,
"bytessent": 359096,
"bytesrecv": 784168,
"conntime": 1602347987,
"timeoffset": -2,
"pingtime": 0.982123,
"minping": 0.766064,
"version": 70015,
"subver": "/Satoshi:0.20.1/",
"inbound": false,
"addnode": false,
"startingheight": 652124,
"banscore": 0,
"synced_headers": 652125,
"synced_blocks": 652125,
"inflight": [
],
"whitelisted": false,
"permissions": [
],
"minfeefilter": 0.00001000,
"bytessent_per_msg": {
"addr": 1310,
"feefilter": 32,
"getaddr": 24,
"getdata": 31211,
"getheaders": 1053,
"headers": 212,
"inv": 321465,
"ping": 832,
"pong": 832,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 1885,
"verack": 24,
"version": 126
},
"bytesrecv_per_msg": {
"addr": 30692,
"feefilter": 32,
"getdata": 377,
"getheaders": 1053,
"headers": 212,
"inv": 187699,
"ping": 832,
"pong": 832,
"sendcmpct": 66,
"sendheaders": 24,
"tx": 562199,
"verack": 24,
"version": 126
}
}
]


Hope anyone can help me making these issues cleared.


Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
1714964714
Hero Member
*
Offline Offline

Posts: 1714964714

View Profile Personal Message (Offline)

Ignore
1714964714
Reply with quote  #2

1714964714
Report to moderator
1714964714
Hero Member
*
Offline Offline

Posts: 1714964714

View Profile Personal Message (Offline)

Ignore
1714964714
Reply with quote  #2

1714964714
Report to moderator
1714964714
Hero Member
*
Offline Offline

Posts: 1714964714

View Profile Personal Message (Offline)

Ignore
1714964714
Reply with quote  #2

1714964714
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714964714
Hero Member
*
Offline Offline

Posts: 1714964714

View Profile Personal Message (Offline)

Ignore
1714964714
Reply with quote  #2

1714964714
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
October 10, 2020, 05:38:14 PM
 #2

Where did you get the port number from? I thought it was 9050 for tør connectivity?
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 658


I rather die on my feet than to live on my knees


View Profile
October 10, 2020, 09:07:42 PM
 #3

Where did you get the port number from? I thought it was 9050 for tør connectivity?

Yes, the defaults are those 9050, 9051, etc. But I usually change the defaults ports whenever I can. It is not mandatory that you stick to the defaults.

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
October 10, 2020, 10:01:40 PM
Merited by JayJuanGee (2), ABCbits (1), Heisenberg_Hunter (1), darkv0rt3x (1)
 #4

Why not change it first to the default port as suggested above just to check if the issue is the port or misconfiguration.

Under this config:
Code:
SOCKSPort 9005
ControlPort 9501

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333
HiddenServiceVersion 3

P2P listen port 8333 is correct but the port for inbound Tor connections(127.0.0.1:8333) above might be the issue make sure they are different.
The default port for inbound Tor connection is 127.0.0.1:8334
Source: https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 658


I rather die on my feet than to live on my knees


View Profile
October 11, 2020, 01:12:57 AM
 #5

Why not change it first to the default port as suggested above just to check if the issue is the port or misconfiguration.

Under this config:
Code:
SOCKSPort 9005
ControlPort 9501

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333
HiddenServiceVersion 3

P2P listen port 8333 is correct but the port for inbound Tor connections(127.0.0.1:8333) above might be the issue make sure they are different.
The default port for inbound Tor connection is 127.0.0.1:8334
Source: https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md

Ok, it seems better.

I changed this:
Code:
SOCKSPort 9005
ControlPort 9501

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8333
HiddenServiceVersion 3

to this:

Code:
SOCKSPort 9005
ControlPort 9501

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8333 127.0.0.1:8334
HiddenServiceVersion 3

I'll report tomorrow about if I those messages keep comming in the debug.log file.

One other issue was with the score value returned by the getnetworkinfo command. I'll check tomorrow about that too!

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
darkv0rt3x (OP)
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 658


I rather die on my feet than to live on my knees


View Profile
October 11, 2020, 03:15:14 PM
 #6

Well, to report back on the value of the score field from getnetworkinfo, it's still on 4. I would like some feedback from other users using the same version of Bitcoin Core about this value.

The error messages about failed connections still happening, but I start believing their are not on my side.

Some examples:

Code:
2020-10-11T12:47:58Z Socks5() connect to dycdzl34yftkmnfr.onion:8333 failed: general failure
2020-10-11T13:08:43Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1932 seconds ago

2020-10-11T14:03:01Z Socks5() connect to gaphh7p6kvbv7t7b.onion:8333 failed: host unreachable

2020-10-11T14:34:51Z socket send error Broken pipe (32)

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
October 12, 2020, 02:00:47 AM
 #7

~snip~

Can you check the Tor service if is up and running?

Check this under "tor-service-defaults-torrc" if the file user name is "debian-tor"

Code:
$ cat /usr/share/tor/tor-service-defaults-torrc
User debian-tor

Incase it has the user debian-tor maybe bitcoin is not under their debian-tor group.

Much better start from beginning to reconfig the Tor this might be misconfiguration.
Look at this video if how he setup Bitcoin core over Tor and I think you forgot some commands that you need to do to make them work.
- https://www.youtube.com/watch?v=57GW5Q2jdvw

You should always restart Tor and Bitcoind every time you change some config to take effect.

Tor
Code:
$ sudo systemctl restart tor

Bitcoind
Code:
sudo systemctl restart bitcoind

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!