Coder Social home page Coder Social logo

Comments (21)

jiuker avatar jiuker commented on June 10, 2024 2

Have you solved the issue? @bartwork
No, the problem is not solved yet.

@bartwork Have you add the fileds Awsaccesskeyid and Signature into policy conditions ?

from minio.

jiuker avatar jiuker commented on June 10, 2024 1

谢谢!

@bartwork You're welcome.

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

Please share the code.

from minio.

bartwork avatar bartwork commented on June 10, 2024

The editor JS-code has been minified. But I can look for it. Are the queries generated by the editor not enough? Are the queries generated by the editor not enough? It works fine on another S3 service, but not on minio. Is there any way to get more detailed information about the error, except mc admin trace -v minioserver?

payload

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

No sir we need a reproducible code, it cannot be just random.

POST /sy seems wrong there can never be bucket name as /sy

from minio.

bartwork avatar bartwork commented on June 10, 2024

POST /sy seems wrong there can never be bucket name as /sy
The bucket was hidden. Here is an example of requests and policy.
The problem is the conditions. But the form conditions are described and work fine on another S3 service.

01 02 03 04 05 06 byebug

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

The signature field looks like is wrong it must be Signature not signature

from minio.

bartwork avatar bartwork commented on June 10, 2024

The signature field looks like is wrong it must be Signature not signature
Changing to Signature didn't help.

Signature_1 Signature_2

from minio.

bartwork avatar bartwork commented on June 10, 2024

Is there an opportunity to somehow find out in more detail which condition the minio doesn’t like? Except mc admin trace -v minioserver

from minio.

jiuker avatar jiuker commented on June 10, 2024

Just set the error information keys to condition.

from minio.

jiuker avatar jiuker commented on June 10, 2024

https://github.com/minio/minio/pull/18074/files you can see the cmd/post-policy_test.go diff

from minio.

bartwork avatar bartwork commented on June 10, 2024

Thanks! Only, is it possible if I display errors in the source code and rebuild the Minio from the source code? Minio doesn't have such logs?

from minio.

jiuker avatar jiuker commented on June 10, 2024

@harshavardhana cc

from minio.

jiuker avatar jiuker commented on June 10, 2024

Thanks! Only, is it possible if I display errors in the source code and rebuild the Minio from the source code? Minio doesn't have such logs?

No plan for this. Thanks.

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

The signature field looks like is wrong it must be Signature not signature
Changing to Signature didn't help.

Signature_1 Signature_2

@jiuker, the issue is still present. We can give a source log that adds some more conditions and provides more context for debugging this problem.

from minio.

jiuker avatar jiuker commented on June 10, 2024

Thanks! Only, is it possible if I display errors in the source code and rebuild the Minio from the source code? Minio doesn't have such logs?

Have you solved the issue? @bartwork

from minio.

bartwork avatar bartwork commented on June 10, 2024

@jiuker, the issue is still present. We can give a source log that adds some more conditions and provides more context for debugging this problem.
Yes, it would be nice. I'll show you the debugging if you send me the tool for this.

from minio.

bartwork avatar bartwork commented on June 10, 2024

Have you solved the issue? @bartwork
No, the problem is not solved yet.

from minio.

bartwork avatar bartwork commented on June 10, 2024

@bartwork Have you add the fileds Awsaccesskeyid and Signature into policy conditions ?
Thank you very much! Adding these fields to the condition solved the problem with the Minio.

['starts-with', '$signature', ''],
['starts-with', '$awsaccesskeyid', ''],

policy_valid

Interesting - but YandexCloud S3 gives an error for these conditions. But I will solve this with different policies for services.

yandex_cloud_s3

Thank you! @jiuker 谢谢! Problem solved.

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

Interesting - but YandexCloud S3 gives an error for these conditions. But I will solve this with different policies for services.

That looks like an incorrect implementation. AWS S3 mandates sending Awsaccesskeyid along with a signature; otherwise, there is no way to know which user the request is for.

from minio.

bartwork avatar bartwork commented on June 10, 2024

That looks like an incorrect implementation. AWS S3 mandates sending Awsaccesskeyid along with a signature; otherwise, there is no way to know which user the request is for.
Yes, it looks like it. The main problem with the Minio has been solved. Thank you! 🤝

from minio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.