Giter VIP home page Giter VIP logo

Comments (6)

kherock avatar kherock commented on June 20, 2024

It sounds like your client is attempting to use an API that isn't supported yet. Prior to 3.0, there was only minimal error handling for unsupported features, and there's a good chance that whatever it was doing failed silently.

Your s3rver log should have an entry for each of the relevant endpoints with a 501 status at the end. Someone can look into implementing those if you can provide those!

from s3rver.

parajbs avatar parajbs commented on June 20, 2024

An ?acl error in the nginx log

Error 501 GET /test-bucket/?acl= HTTP / 1.1
Error 501 GET /test-bucket?acl= HTTP / 1.1

But it works in version 2.2.6-2.2.9!
Has a new code been created from version 3.0.0, or why is the "bucket ?acl function" from version 2.2.6 not available?

from s3rver.

parajbs avatar parajbs commented on June 20, 2024

I was able to solve the error (CloudBerry Explorer "Task = copy / Error = A parameter you provided functionality that in not implemented") and also the error (Error 501 GET / test-bucket? Acl = HTTP / 1.1) myself!

I edited "lib/router.js", and for each "acl:" a new line with "return objectCtrl.getObjectAcl(ctx);" inserted!

With "CloudBerry Explorer" there are no more errors when opening and editing!

from s3rver.

ad-m avatar ad-m commented on June 20, 2024

@parajbs , could you provide PR to fix that?

from s3rver.

parajbs avatar parajbs commented on June 20, 2024

I am currently having other problems with POST-stream and cannot create PR!

I just edited the file (lib / router.js)!

I just added a new line with the text "return objectCtrl.getObjectAcl (ctx);" under ALL "case acl:"

before:
case 'acl':
case 'analytics':
case 'encryption':

later:
case 'acl':
return objectCtrl.getObjectAcl (ctx);
case 'analytics':
case 'encryption':

That was all! the error (Error 501 GET / test-bucket? Acl = HTTP / 1.1) is gone!

from s3rver.

parajbs avatar parajbs commented on June 20, 2024

Here link my repository with fix:
https://github.com/parajbs/s3rver/tree/bucket-acl-function

As a PR, I can't give it out yet!
I'm still testing what effects it has!
You can also test it and report issues here or on my repository!

from s3rver.

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.