Ente CommunityEC
Ente Communityโ€ข7mo agoโ€ข
10 replies
codedcosmos

Has anyone gotten ente to work with minio?

When trying to upload I am currently getting a 403 forbidden with:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><Key>1234567890123456/abcdef12-3456-7890-abcd-efghijklmnop</Key><BucketName>b2-eu-cen</BucketName><Resource>/b2-eu-cen/1234567890123456/abcdef12-3456-7890-abcd-efghijklmnop</Resource><RequestId>1234567890123456</RequestId><HostId>1234567890123456abcdef1234567890123456abcdef1234567890123456abcdef</HostId></Error>


I set mc admin config set h0/b2-eu-cen api cors_allow_origin="*" but I suspect I also need to set allowed headers somehow.

I tried to set a cors.xml like this:
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedMethod>PUT</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedMethod>DELETE</AllowedMethod>
    <AllowedMethod>HEAD</AllowedMethod>
    <ExposeHeader>X-Amz-Request-Id</ExposeHeader>
    <ExposeHeader>X-Amz-Id-2</ExposeHeader>
    <ExposeHeader>ETag</ExposeHeader>
    <AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>


But no such luck, I get the following error:
mc: <ERROR> Unable to set bucket CORS configuration for h0/b2-eu-cen. A header you provided implies functionality that is not implemented.


Don't worry I set in my compose.yaml:
  web:
    ...
    # Modify these values to your custom subdomains, if using any
    environment:
      ENTE_API_ORIGIN: https://ip.com
      ENTE_ALBUMS_ORIGIN: https://ip.com


Also my s3 looks like this:
s3:
      are_local_buckets: true
      b2-eu-cen:
         key: <redacted>
         secret: <redacted>
         endpoint: https://ente.ip.com
         region: eu-central-2
         bucket: b2-eu-cen


Any ideas?
Was this page helpful?