rclone: [BUG] AWS s3 authentication via IAM role on fargate.

2021/04/18 13:14:53 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2021/04/18 13:14:56 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2021/04/18 13:14:56 DEBUG : rclone: Version "v1.56.0-beta.5413.31a8211af" starting with parameters ["rclone" "copy" ":sftp:hidden/hidden" "--sftp-host" "hidden" "--sftp-pass" "hidden" "--sftp-user" "hidden" ":s3:/hidden" "--s3-provider" "AWS" "--s3-env-auth" "--s3-region" "us-west-2" "--s3-acl" "bucket-owner-read" "-P" "-vv"]
2021/04/18 13:14:56 DEBUG : Creating backend with remote ":sftp:hidden/hidden"
2021/04/18 13:14:56 DEBUG : :sftp: detected overridden config - adding "{vxWIR}" suffix to name
2021/04/18 13:14:57 DEBUG : sftp://hidden@hidden:22/hidden/hidden: New connection 172.31.63.2:39344->hidden:22 to "SSH-2.0-HOSTED~FTP~ SFTP"
2021/04/18 13:14:57 DEBUG : sftp://hidden@hidden:22/hidden/hidden: Using absolute root directory "/hidden/hidden"
2021/04/18 13:14:57 DEBUG : fs cache: adding new entry for parent of ":sftp:hidden/hidden", ":sftp{vxWIR}:hidden"
2021/04/18 13:14:57 DEBUG : Creating backend with remote ":s3:/hidden"
2021/04/18 13:14:57 DEBUG : :s3: detected overridden config - adding "{R2Ag4}" suffix to name
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1305ec2]

Have no idea what to do with it. Version 1.54.1 behave the very same way. In 1.55 you have sftp bug so can’t test.

Running it on Fargate from your image of course.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve merged that code to master now which means it will be in the latest beta in 15-30 minutes and released in v1.56 (and v1.55.2 if we make one of those)