Skip to content

Commit 4db75cf

Browse files
authored
add solution for node stuck in state sync (#137)
1 parent 8ed970d commit 4db75cf

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/troubleshooting/common-errors.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ Cause: Potentially use a wrong nearcore release.
5252

5353
Solution: Fix the nearcore release: https://github.com/near/nearcore/releases, and please also check the details on the node setup.
5454

55+
***My node is stuck downloading state and all state sync requests time out.***
56+
57+
Cause 1: Inbound port 24567 is blocked by a firewall.
58+
59+
State sync uses direct TCP connections where peers connect back to your node on port 24567 to deliver data. If inbound connections on this port are blocked, all requests will time out.
60+
61+
Solution: Open inbound TCP port 24567 in your firewall and cloud security group settings.
62+
63+
Cause 2: Your node uses different IP addresses for inbound and outbound traffic.
64+
65+
Your node auto-discovers its public address from outbound connections and announces it to peers. If your network uses a different IP for inbound traffic (e.g. due to NAT or multiple interfaces), peers will fail to connect back.
66+
67+
Solution: Make sure your node uses the same IP for inbound and outbound traffic. Restart the node after fixing your network configuration.
68+
5569
***My node is stuck on a block.***
5670

5771
Cause: This usually occurs in the beginning of an epoch, where the block processing time may increase.

0 commit comments

Comments
 (0)