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

failed to sync atxs #1665

Open
jiutian0001 opened this issue Feb 12, 2024 · 4 comments
Open

failed to sync atxs #1665

jiutian0001 opened this issue Feb 12, 2024 · 4 comments

Comments

@jiutian0001
Copy link

Environment

  • Smapp version: 1.3.9
  • Node version: 1.3.9
  • OS: Windows 11

Describe the bug

failed to sync atxs

2024-02-12T19:30:34.339+0800 ERROR 88ecd.sync failed to sync atxs {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "6f626a65-2a4c-450a-96d4-d6e13fb9221f", "errmsg": "get epoch info (peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ): peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ address /ip4/176.9.7.13/tcp/5000: EOF", "name": "sync"}
2024-02-12T19:30:34.664+0800 INFO grpc started unary call {"module": "grpc", "grpc.start_time": "2024-02-12T19:30:34+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813"}
2024-02-12T19:30:34.664+0800 INFO grpc finished unary call with code OK {"module": "grpc", "grpc.start_time": "2024-02-12T19:30:34+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813", "grpc.code": "OK", "grpc.time_ms": 0.075}
2024-02-12T19:31:34.353+0800 INFO 88ecd.sync node is too far behind {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "652363d3-a9dc-4245-b1c9-01e638501537", "current": "61386", "last synced": "8063", "behind threshold": 36, "name": "sync"}
2024-02-12T19:31:34.353+0800 INFO 88ecd.sync syncing atx from genesis {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "652363d3-a9dc-4245-b1c9-01e638501537", "layer_id": 61386, "name": "sync"}
2024-02-12T19:31:40.333+0800 ERROR 88ecd.sync failed to sync atxs {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "652363d3-a9dc-4245-b1c9-01e638501537", "errmsg": "get epoch info (peer 12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE): peer 12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE address /ip4/35.244.2.151/tcp/5000: EOF", "name": "sync"}
2024-02-12T19:31:40.657+0800 INFO grpc started unary call {"module": "grpc", "grpc.start_time": "2024-02-12T19:31:40+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813"}
2024-02-12T19:31:40.657+0800 INFO grpc finished unary call with code OK {"module": "grpc", "grpc.start_time": "2024-02-12T19:31:40+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813", "grpc.code": "OK", "grpc.time_ms": 0.093}
2024-02-12T19:32:40.347+0800 INFO 88ecd.sync node is too far behind {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "263240d5-5e1c-4062-81bb-e81e0a1ac424", "current": "61386", "last synced": "8063", "behind threshold": 36, "name": "sync"}
2024-02-12T19:32:40.347+0800 INFO 88ecd.sync syncing atx from genesis {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "263240d5-5e1c-4062-81bb-e81e0a1ac424", "layer_id": 61386, "name": "sync"}
2024-02-12T19:32:40.633+0800 ERROR 88ecd.sync failed to sync atxs {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "263240d5-5e1c-4062-81bb-e81e0a1ac424", "errmsg": "get epoch info (peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ): peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ address /ip4/176.9.7.13/tcp/5000: EOF", "name": "sync"}
2024-02-12T19:32:40.939+0800 INFO grpc started unary call {"module": "grpc", "grpc.start_time": "2024-02-12T19:32:40+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813"}
2024-02-12T19:32:40.939+0800 INFO grpc finished unary call with code OK {"module": "grpc", "grpc.start_time": "2024-02-12T19:32:40+08:00", "system": "grpc", "span.kind": "server", "grpc.service": "spacemesh.v1.NodeService", "grpc.method": "Echo", "peer.address": "[::1]:50813", "grpc.code": "OK", "grpc.time_ms": 0.887}
2024-02-12T19:33:40.637+0800 INFO 88ecd.sync node is too far behind {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "41b9ecaf-cbec-4f75-ae44-ede64fd48a95", "current": "61386", "last synced": "8063", "behind threshold": 36, "name": "sync"}
2024-02-12T19:33:40.637+0800 INFO 88ecd.sync syncing atx from genesis {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "41b9ecaf-cbec-4f75-ae44-ede64fd48a95", "layer_id": 61386, "name": "sync"}
2024-02-12T19:33:40.920+0800 ERROR 88ecd.sync failed to sync atxs {"node_id": "88ecda8aa214b1003e32715555578f2d59cf898c12695868bf14e1f7ddb30330", "module": "sync", "sessionId": "41b9ecaf-cbec-4f75-ae44-ede64fd48a95", "errmsg": "get epoch info (peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ): peer 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ address /ip4/176.9.7.13/tcp/5000: EOF", "name": "sync"}

@pigmej
Copy link
Member

pigmej commented Feb 12, 2024

Hey, There is nothing wrong "per se" there, the peers that you were connected to did not send stuff quickly enough or your node weren't able to download them quickly enough. If you keep your node running it will eventually sync.

@jiutian0001
Copy link
Author

jiutian0001 commented Feb 12, 2024

微信截图_20240213031417
This interface has been active for 24 hours without subsequent actions. Can the P2P connection be optimized? Alternatively, are there any commands to enhance the connection, and is there detailed documentation available?

@pigmej
Copy link
Member

pigmej commented Feb 14, 2024

This interface has been active for 24 hours without subsequent actions. Can the P2P connection be optimized? Alternatively, are there any commands to enhance the connection, and is there detailed documentation available?

The screen that you're showing has nothing to do with the sync; it's the GPU init process. On the network screen, you can see the network progress.

The GPU init will wait for the ATX sync, however, to start initializing because it wants to select the highest at first to use it as commitment ATX.

We're working on improvements with ATX sync:

  • sync v2
  • distributed verification

@pigmej
Copy link
Member

pigmej commented Apr 21, 2024

Do you still have that issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants