-
Notifications
You must be signed in to change notification settings - Fork 1.7k
with empty nodes.json
discovery only finds 4 connectable peers max, all other discovered peers have status failure
#11290
Comments
Just now i notice that only the 4 peers my nodes connect to have "last_contact": "success" in Trying telnet on the IPs listed with "failure" and their Port gives me Is there some sort of attack running against the ethereum network? |
nodes.json from one of my VMs. |
@c0deright this sounds like a discovery issue if you are trying with a really old version and still seeing the same results - are these vms all colocated? |
@joshua-mir Please see my comment above with my nodes.json file. Discovery looks like it's working but all but 4 peers are non-functional. My VMs in question all run on AWS. Could you provide the nodes.json file from a well connected node? |
I edited I think discovery is working but I mostly discover non-connectable-peers. Very strange. |
Here is a nodes.json file from 10 mins of operation right now 😐 Can you double check your security group settings? |
I didn't change anything on security-group since ages. The VMs in question don't have restrictions on outgoing traffic. They go out over a NAT gateway, so my VMs have no open ports for others to connect inbound. My VMs can only initiate connections to others, others can't initiate connections to my parity nodes. With your |
right, I still find it strange how you would be seeing a change in behaviors now.. |
Right now one has 8 peers, the other two have 9 peers. I have a feeling that over time the peer count will only decrease but never increase. But we'll see. Will report back in ~10 hours. |
nodes.json
parity only connects to 4 peers maxnodes.json
discovery only finds 4 connectable peers max, all other discovered peers have status failure
Thanks for your quick help, @joshua-mir What's the DNS names parity tries to connect to when it has an empty |
shouldn't be dns names - it grabs the bootnodes defined in the chainspec for the chain you are using |
@joshua-mir Since starting my 3 VMs with your I still find the distribution between working peers and failing peers appalling: vm1
vm2
vm3
Low peer count for itself is no problem but we had issues in the last couple of days with outgoing TX not being visible on the blockchain for several hours. The raw TX could always be broadcasted via etherscan.org but e.g. yesterday evening we had a TX sent out and not being visible on the blockchain for ~3 hours. I just now changed min/max to 15/15 and now my vms do have 13-15 peers. Will test later with empty |
I actually have an identical issue: Newly set up a machine, using 2.5.10, Linux Ubuntu with provided binary form Github, syncing from scratch with enabled tracing. I am only able to connect to one peer, after a while it falls down to 0. With your nodes.json (@joshua-mir) it actually works (8-10 peers). Thanks for that. (But that can't be a solution either) edit: Linux Ubuntu is within a Windows Subsystem for Linux, however using the provided windows .exe leads to the same result. |
agree, there's clearly something up with connections being accepted by peers after discovery. |
have the same isssue using v2.5.11 |
@c0deright can you update what is your current situation? did you manage to find a solution / workaround? on my machine, I have max 4 peers, tried reinstalling parity, and sync the chain again from scratch.. didnt help, tried to remove nodes.json with no luck either. |
My workaround was to use the You can try with my file in the meantime: Could we please remove the |
@c0deright Thanks, I replaced the old |
Just chiming in that I've been experiencing this, and using Joshua's nodes.txt I actually got a reasonable number of peers (was stuck on 1-2, now 30+). I had only seen this on |
Had the same issue. Was warp syncing a new system and it was stuck with 2 peers. I had finished the snapshot sync and ancient blocks were over 5000000. Current blocks would sync but ancient blocks would not. Tried deleting nodes.json. That didn't work. Using nodes.json from @joshua-mir unblocked things and now peers are back up to 24 and ancient blocks are syncing. This is v2.5.13-stable. Ancient block syncing previously stopped at block #5551719. Adding additional logging showed this: 2020-01-14 11:48:43 IO Worker #1 TRACE sync OldBlocks: No useful subchain heads received, expected hash 0x609f0cb4ed49d7fa9a667d3190eb63339da019bd66964e0c0520009db54cf525 |
Any news about this subject? I am having the same issue here (only 2 connected nodes, from a max of 50). |
After upgrading from v2.2.9 to v2.6.5-stable on three different machines everything went smooth, parity was configured with
and all three nodes had ~10 peers.
Today I stopped all three parity instances and deleted the files
.local/share/io.parity.ethereum/chains/ethereum/network/nodes.json
and/home/bitcoin/.local/share/io.parity.ethereum/network/key
and restarted parity on all three instances.Since then all 3 parity nodes only have 4 active peers although in their
.local/share/io.parity.ethereum/chains/ethereum/network/nodes.json
they have 30 peers listed.Edit: 4 of these 30 peers listed in
nodes.json
have status "success", the other 26 have status "failure".All my three nodes connect to the same 4 peers:
vm1
vm2
vm3
I downgraded parity from v2.6.5-beta to v2.5.10-stable and then to v2.2.9-stable and tested with the existing
nodes.json
(30 peers listed) and with deletednodes.json
. Result is the same. Only 4 connections to the above mentioned peers although configured for moreand more listed in(edited)nodes.json
Could someone provide his
nodes.json
file from a well connected peer?I even stopped parity, edited
nodes.json
and removed the 4 mentioned peers in that file, saved it and restarted parity. Same result.It looks like parity is NOT using peers from(edited)nodes.json
.The text was updated successfully, but these errors were encountered: