ai-dock / comfyui

ComfyUI docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
564 stars 194 forks source link

Serverless worker doesn't respect aws s3 region #34

Open KubaBir opened 8 months ago

KubaBir commented 8 months ago

In the request I put "aws_endpoint_url": "https://s3.eu-central-1.amazonaws.com", but the output image link gives an error:

<Error>
  <Code>AuthorizationQueryParametersError</Code>
  <Message>Error parsing the X-Amz-Credential parameter; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message>
  <Region>eu-central-1</Region>
  <RequestId>9G9706QZWPMWC3ZY</RequestId>
  <HostId>XWklCWgRIqcY8Xl7S7aSwZtXi97/KZfWUW6bJLfafVU3K9/tjmtVidH3SktNlz6ZmHxcVjIBQAQ=</HostId>
</Error>

Did I set up the endpoint url incorrectly?

robballantyne commented 8 months ago

No, this needs fixing. I use backblaze which doesn't have the same issue but I intend to properly support s3 regions.