longhorn: [BUG] Validate S3 input to make sure they don't contain trailing newline or space
Hi,
How can I debug the following error?
error listing backups: error listing backup volumes: Failed to execute: /var/lib/rancher/longhorn/engine-binaries/longhornio-longhorn-engine-v0.6.2/longhorn [backup ls --volume-only s3://longhorn/], output Caught FATAL error: runtime error: invalid memory address or nil pointer dereference
I’m using Wasabi S3 and can connect with the awscli tools using the same token and key. The error message isn’t specific enough for me to pinpoint the problem i.e. is it an issue with the secret

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (8 by maintainers)
@HuxyUK You need to use
echo -notherwise echo will add a new line in the end.So
https://s3.eu-central-1.wasabisys.comshould be