Skip to content

[fix] Avoid Failing Init on Bad Seeds

Ursa (9R) requested to merge ursa/bifrost-init into develop

This was causing errors like the following when some active bifrosts were unreachable:

{"level":"error","service":"bifrost","error":"failed to parse multiaddr \"/ip4/18.214.28.114/tcp/5040/ipfs/<html>\\r\\n<head><title>502 Bad Gateway</title></head>\\r\\n<body>\\r\\n<center><h1>502 Bad Gateway</h1></center>\\r\\n<hr><center>nginx/1.23.1</center>\\r\\n</body>\\r\\n</html>\\r\\n\": invalid value \"<html>\\r\\n<head><title>502 Bad Gateway<\" for protocol p2p: failed to parse p2p addr: <html>\r\n<head><title>502 Bad Gateway< selected encoding not supported","addr":"/ip4/18.214.28.114/tcp/5040/ipfs/<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.23.1</center>\r\n</body>\r\n</html>\r\n","time":"2022-10-30T17:29:06Z","caller":"/app/config/config.go:624","message":"failed to parse multiaddr"}

Earmark to also not create the no longer used /etc/bifrost directory.

Merge request reports