> For the complete documentation index, see [llms.txt](https://gushi10546.gitbook.io/aptos-kai-fa-zhe-wen-dang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gushi10546.gitbook.io/aptos-kai-fa-zhe-wen-dang/jie-dian/fullnode-for-devnet/quan-jie-dian-she-zhi-gu-zhang-pai-chu.md).

# 全节点设置故障排除

## 全节点**设置故障排除**

问：启动节点时，会抛出 YAML 解析错误。

答：YAML 文件对格式错误很敏感。使用专用的 YAML 编辑器或在首选编辑器中使用 YAML 语法检查器来检查 YAML 文件中的每一行是否正确缩进。

问：当我使用 \*\*`cargo run -p ...`\*\*命令启动节点时，我收到“无法获取任何要轮询的对等方”错误。

看起来我在可用的节点测试仪上没有同行。我运行时没有输出：

```
curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_state_sync_version{type=\\"synced\\"}"
```

我的同步版本也没有增加，表明我没有同步。

答：Devnet 验证器全节点仅接受最大连接数。如果 Aptos devnet 遇到高网络连接量，您的全节点可能无法连接。您也可能没有适当的网络配置和防火墙规则来允许出站流量。

您可以通过以下方式解决此问题：

1. 检查您的网络配置，以及
2. 在您的 `public_full_node.yaml`文件中添加要连接的种子节点。请参阅本节：[添加上游种子节点](/aptos-kai-fa-zhe-wen-dang/jie-dian/fullnode-for-devnet/yong-aptos-yuan-huo-docker-lai-da-jian-quan-jie-dian.md#zeng-jia-shang-you-zhong-zi-peer)。

例如，在您的 `public_full_node.yaml` 文件中将单个对等节点添加到`seeds`部分后，如下所示，重新启动 `cargo run -p ...`  命令：

```
full_node_networks:
    - discovery_method: "onchain"
      # The network must have a listen address to specify protocols. This runs it locally to
      # prevent remote, incoming connections.
      listen_address: "/ip4/127.0.0.1/tcp/6180"
      network_id: "public"
      # Define the upstream peers to connect to
      seeds:
        bb14af025d226288a3488b4433cf5cb54d6a710365a2d95ac6ffbd9b9198a86a:
            addresses:
            - "/dns4/pfn0.node.devnet.aptoslabs.com/tcp/6182/noise-ik/bb14af025d226288a3488b4433cf5cb54d6a710365a2d95ac6ffbd9b9198a86a/handshake/0"
            role: "Upstream"
```

[Edit this page](https://github.com/aptos-labs/aptos-core/tree/main/developer-docs-site/docs/nodes/full-node/troubleshooting-fullnode.md)
