Skip to content

S3 : Sending campain with private bucket file attachement fails because of incorrrect PresignedUrl #1499

@julienvienne

Description

@julienvienne

Version:

  • listmonk: [eg: v2.5.1]
  • OS: [ubuntu 22.04]

Description of the bug and steps to reproduce:

I try to use AWS S3 private bucket to save medias and send a new campain.
File upload is going well in my bucket using credentials, but when I try to send a new campain, listmonk creates a presigned URL to get the file back. This URL is not working in my case. I get a 403 error because :

<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

The URL is build in this source code, but I cannot understand why the signature mismatch.
According to this StackOverflow post, it may be related to incorrect file path in the URL.

As a consequence, the campain stays indefinitively on the Running status

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions