在托管云环境中使用 libp2p 和 QUIC 的应用程序的连接问题

问题描述 投票:0回答:1

我们在简化的基于云的环境中部署 Docker 化应用程序时遇到问题。以下是详细信息供参考:

我尝试在多个平台上进行部署,包括 Render、GCP: Cloud Run 和 DigitalOcean AppPlatform。该应用程序利用 libp2p 的低级网络(使用 QUIC)来连接到 P2P 网络。

在每个云设置中,我在尝试引导对等点时遇到连接错误:

> ---On DigitalOcean AppPlatform 
WARN    failed to bootstrap  {"peer": "12D3KooWCW3LGUtkCVkHZmVSZHzL3C4WRKWfqAiJPz1NR7dT9Bxh", "error": "failed to dial: failed to dial 12D3KooWCW3LGUtkCVkHZmVSZHzL3C4WRKWfqAiJPz1NR7dT9Bxh: all dials failed\n  * [/ip4/63.32.166.181/udp/8999/quic-v1] timeout: no recent network activity"}
ERROR   wormhole-spy.root.p2p   p2p/p2p.go:215  failed to connect to bootstrap peer   {"peer": "{12D3KooWCW3LGUtkCVkHZmVSZHzL3C4WRKWfqAiJPz1NR7dT9Bxh: [/dns4/t-guardian-01.testnet.xlabs.xyz/udp/8999/quic-v1]}", "error": "failed to dial: failed to dial 12D3KooWCW3LGUtkCVkHZmVSZHzL3C4WRKWfqAiJPz1NR7dT9Bxh: all dials failed\n  * [/ip4/63.32.166.181/udp/8999/quic-v1] timeout: no recent network activity"}
ERROR   wormhole-spy.root.p2p   p2p/p2p.go:215  failed to connect to bootstrap peer   {"peer": "{12D3KooWJXA6goBCiWM8ucjzc4jVUBSqL9Rri6UpjHbkMPErz5zK: [/dns4/t-guardian-02.testnet.xlabs.xyz/udp/8999/quic-v1]}", "error": "failed to dial: failed to dial 12D3KooWJXA6goBCiWM8ucjzc4jVUBSqL9Rri6UpjHbkMPErz5zK: all dials failed\n  * [/ip4/176.34.174.72/udp/8999/quic-v1] timeout: no recent network activity"}
WARN    dht     [email protected]/dht.go:522    failed to bootstrap  {"peer": "12D3KooWJXA6goBCiWM8ucjzc4jVUBSqL9Rri6UpjHbkMPErz5zK", "error": "failed to dial: swarm closed"}

> ---On GCP: Cloud Run
WARN    swarm2  swarm/swarm_listen.go:30    listening failed    {"on": "/ip4/0.0.0.0/udp/8999/quic-v1", "error": "setting DF failed for both IPv4 and IPv6"}

我设法将其设置在 DigitalOcean 上的裸机 Droplet 上,但这需要额外的维护,我想避免这种情况。有人在这些简化的云环境中遇到过类似的网络问题吗?我将它们称为“简化”,而不是完整的 Kubernetes 设置,我对它还不够熟悉,无法创建完整的基础设施

cloud digital-ocean google-cloud-run quic libp2p
1个回答
0
投票

通过邮件向我清楚地解释了整个软件。他们以如此简单的方式提供了他们所承诺的一切。我强烈推荐 hackerspytech @ g ma il com 黑客网络安全给任何想要完成黑客工作的人

© www.soinside.com 2019 - 2024. All rights reserved.