Comments (6)
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.
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.
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.
@parajbs , could you provide PR to fix that?
from s3rver.
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.
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)
- Signature doesn't seem to be checked HOT 1
- Project inactive? HOT 10
- replace moment.js with maintaned date library HOT 2
- vhostBuckets Documentation Confusing HOT 2
- Close Stale Issues/PRs HOT 5
- Error: fopen(httpseek://): failed to open stream ... HOT 4
- Storage Class not being respected HOT 5
- Question: Is s3rver a s3 "private" / "public" or both? HOT 1
- key should be Key, capitalized, following the AWS SDK documentation HOT 4
- Content Range header not returned when requested range is 'bytes=0-' HOT 1
- Dependency Dashboard
- Failed to upload large file (53Mb)
- Apparent race condition deleting objects results in ENOENT HOT 1
- Custom Store
- attention on files contains url ecoding putcopy function need decodeURIComponent
- Security Issue in Dependency - CVE-2022-24434 HOT 4
- Feature request - storing/retrieving checksum metadata (x-amz-checksum) inside object attributes
- Simulate slow fetch
- fast-xml-parser vulnerable to prototype pollution SNYK-JS-FASTXMLPARSER-3325616 sonatype-2023-0998
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3rver.