Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error = A parameter you provided functionality that in not implemented #708

Open
parajbs opened this issue Apr 3, 2021 · 6 comments
Open

Comments

@parajbs
Copy link

parajbs commented Apr 3, 2021

I installed version 2.2.6 - 2.2.9, but there are problems with the directories! But I was able to upload / download / open and edit files without any problem!

Then I tested versions 3.0.0 - 3.6.1! There I can create directories, upload and download files without problems!
But when I want to open and edit a file there are problems and error messages (CloudBerry Explorer "Task = copy / Error = A parameter you provided functionality that in not implemented")!
In version 2.2.6-2.2.9 this function was ok!

Question:
Is this function no longer available in version 3.6.1 Or did I always do something wrong?

I have it on two different root servers and local PCs, with different node.js versions, but I keep getting this problem!

@kherock
Copy link
Collaborator

kherock commented Apr 3, 2021

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!

@parajbs
Copy link
Author

parajbs commented Apr 3, 2021

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?

@parajbs
Copy link
Author

parajbs commented Apr 12, 2021

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!

@ad-m
Copy link
Contributor

ad-m commented Apr 12, 2021

@parajbs , could you provide PR to fix that?

@parajbs
Copy link
Author

parajbs commented Apr 17, 2021

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!

@parajbs
Copy link
Author

parajbs commented Apr 21, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants