Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follower node sync troubleshooting for Bardock and new mainnet #1029

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions docs/movement-node/run/ansible/follower-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,41 @@ If you encounter an error reported by the `setup` service for an invalid Aptos s

### Forceful Writes
Most other bugs that emerged in early development should be handled by the forceful writes made by `syncador-v2`. However, this also means that if your application is not configured to allow for writes from the user running the Movement Full Follower servicer, then you will likely encounter errors.

### Sync issues:

If you see the following in the `movement-full-node` container logs:

```
2025-01-30T12:57:49.843465Z INFO movement_full_node::node::partial: Creating the http2 client https://movement-celestia-da-light-node.testnet.bardock.movementlabs.xyz:443
Error: Failed to create the executor

Caused by:
0: Failed to connect to light node
1: transport error
2: dns error: failed to lookup address information: Name or service not known
3: dns error: failed to lookup address information: Name or service not known
4: failed to lookup address information: Name or service not known
```

It's because the wrong value for `MOVEMENT_DA_LIGHT_NODE_CONNECTION_HOSTNAME` is in `/etc/systemd/system/movement-full-follower.service`. It should be updated to `m1-da-light-node.testnet.bardock.movementnetwork.xyz`:
```
Environment="MOVEMENT_DA_LIGHT_NODE_CONNECTION_HOSTNAME=m1-da-light-node.testnet.bardock.movementnetwork.xyz"
```

Also, the DB sync must be removed from the setup so that it doesn't start when the docker services are started:

1. Stop the `movement-full-node` container:
```
docker stop <container-id>
```

2. Delete `maptos`, `maptos-storage`, and `suszuka-da-db` in `~/.movement`:
```
rm -rf ~/.movement/{maptos,maptos-storage,suszuka-da-db}
```

3. Start the `movement-full-node` container:
```
docker start <container-id>
```