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

Mirror fails to upload #197

Open
Lusitaniae opened this issue Jul 24, 2024 · 2 comments
Open

Mirror fails to upload #197

Lusitaniae opened this issue Jul 24, 2024 · 2 comments

Comments

@Lusitaniae
Copy link


solana-cluster mirror --s3-bucket <name> --s3-url https://<endpoint> --tracker http://<consul>:8458
2024-07-24T04:20:18.021Z	INFO	uploader	Worker starting
2024-07-24T04:20:49.782Z	INFO	uploader	Starting upload	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst"}
2024-07-24T04:20:49.782Z	INFO	uploader.fetch	Downloading snapshot	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst", "snapshot_url": "http://http://<node1>:13080/v1/snapshot/snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst"}
2024-07-24T04:20:49.851Z	INFO	uploader	Starting upload	{"snapshot": "incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst"}
2024-07-24T04:20:49.851Z	INFO	uploader.fetch	Downloading snapshot	{"snapshot": "incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst", "snapshot_url": "http://http://<node1>:13080/v1/snapshot/incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst"}
2024-07-24T04:20:49.859Z	ERROR	uploader	Upload failed	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst", "error": "Get \"http://http//<node1>:13080/v1/snapshot/snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst\": dial tcp: lookup http on 127.0.0.1:53: no such host", "upload_duration": "77.064646ms"}

Removing the hardecoded protocol here seems to fix it

https://github.com/Blockdaemon/solana-cluster/blob/main/internal/mirror/mirror.go#L83

@nyetwurk
Copy link
Contributor

does

    target:  src.Target

work?

@Lusitaniae
Copy link
Author

yes, but I hit another error as I was trying to use Cloudflare R2 and had an error that it doesn't support CRC32C

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