-
Notifications
You must be signed in to change notification settings - Fork 234
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
Unknown header x-amz-api-version with URI /bucketname/filetobedeleted #497
Comments
Sunithassunagad
changed the title
Unknown header x-amz-api-version with URI /bucketname/filetobedeleted
Unknown header x-amz-api-version with URI /bucketname/filetobedeleted need help
Feb 21, 2023
Sunithassunagad
changed the title
Unknown header x-amz-api-version with URI /bucketname/filetobedeleted need help
Unknown header x-amz-api-version with URI /bucketname/filetobedeleted
Feb 21, 2023
Did you try to configure the proxy to ignore unknown headers ? |
willdollman
pushed a commit
to sourcegraph/s3proxy
that referenced
this issue
Jun 21, 2023
willdollman
added a commit
to sourcegraph/s3proxy
that referenced
this issue
Jun 21, 2023
* Upgrade spotbugs to 4.7.3 Release notes: https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md#473---2022-10-15 * Bump maven-jar-plugin from 3.2.2 to 3.3.0 Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.2.2 to 3.3.0. - [Release notes](https://github.com/apache/maven-jar-plugin/releases) - [Commits](apache/maven-jar-plugin@maven-jar-plugin-3.2.2...maven-jar-plugin-3.3.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-jar-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-resources-plugin from 3.2.0 to 3.3.0 Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.2.0 to 3.3.0. - [Release notes](https://github.com/apache/maven-resources-plugin/releases) - [Commits](apache/maven-resources-plugin@maven-resources-plugin-3.2.0...maven-resources-plugin-3.3.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-resources-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-assembly-plugin from 3.4.1 to 3.4.2 Bumps [maven-assembly-plugin](https://github.com/apache/maven-assembly-plugin) from 3.4.1 to 3.4.2. - [Release notes](https://github.com/apache/maven-assembly-plugin/releases) - [Commits](apache/maven-assembly-plugin@maven-assembly-plugin-3.4.1...maven-assembly-plugin-3.4.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-assembly-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Suppress spurious md5 deprecation warnings * Remove unneeded AliasBlobStore directory methods These are not needed and generate deprecation warnings. * Upgrade to error-prone 2.16 Release notes: https://github.com/google/error-prone/releases/tag/v2.16 * Bump jetty-servlet from 11.0.11 to 11.0.13 Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.11 to 11.0.13. - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](jetty/jetty.project@jetty-11.0.11...jetty-11.0.13) --- updated-dependencies: - dependency-name: org.eclipse.jetty:jetty-servlet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-shade-plugin from 3.3.0 to 3.4.1 Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.3.0 to 3.4.1. - [Release notes](https://github.com/apache/maven-shade-plugin/releases) - [Commits](apache/maven-shade-plugin@maven-shade-plugin-3.3.0...maven-shade-plugin-3.4.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-shade-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.1.2 to 3.2.0. - [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases) - [Commits](apache/maven-checkstyle-plugin@maven-checkstyle-plugin-3.1.2...maven-checkstyle-plugin-3.2.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump slf4j.version from 1.7.36 to 2.0.6 Bumps `slf4j.version` from 1.7.36 to 2.0.6. Updates `slf4j-api` from 1.7.36 to 2.0.6 - [Release notes](https://github.com/qos-ch/slf4j/releases) - [Commits](qos-ch/slf4j@v_1.7.36...v_2.0.6) Updates `jcl-over-slf4j` from 1.7.36 to 2.0.6 - [Release notes](https://github.com/qos-ch/slf4j/releases) - [Commits](qos-ch/slf4j@v_1.7.36...v_2.0.6) --- updated-dependencies: - dependency-name: org.slf4j:slf4j-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: org.slf4j:jcl-over-slf4j dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump logback-classic from 1.2.11 to 1.4.5 Bumps [logback-classic](https://github.com/qos-ch/logback) from 1.2.11 to 1.4.5. - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](qos-ch/logback@v_1.2.11...v_1.4.5) --- updated-dependencies: - dependency-name: ch.qos.logback:logback-classic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.0 to 3.4.1. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.4.0...maven-javadoc-plugin-3.4.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-install-plugin from 3.0.1 to 3.1.0 Bumps [maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/apache/maven-install-plugin/releases) - [Commits](apache/maven-install-plugin@maven-install-plugin-3.0.1...maven-install-plugin-3.1.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-install-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Configure Dependabot for monthly notifications * Upgrade to jclouds 2.6.0-SNAPSHOT Shuffle some test teardown methods to satisfy newer testng. References gaul#473. * Bump assertj-core from 3.23.1 to 3.24.2 Bumps assertj-core from 3.23.1 to 3.24.2. --- updated-dependencies: - dependency-name: org.assertj:assertj-core dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 Bumps [maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/apache/maven-checkstyle-plugin/releases) - [Commits](apache/maven-checkstyle-plugin@maven-checkstyle-plugin-3.2.0...maven-checkstyle-plugin-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-enforcer-plugin from 3.1.0 to 3.2.1 Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1. - [Release notes](https://github.com/apache/maven-enforcer/releases) - [Commits](apache/maven-enforcer@enforcer-3.1.0...enforcer-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-enforcer-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump commons-fileupload from 1.4 to 1.5 Bumps commons-fileupload from 1.4 to 1.5. --- updated-dependencies: - dependency-name: commons-fileupload:commons-fileupload dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-deploy-plugin from 3.0.0 to 3.1.0 Bumps [maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/apache/maven-deploy-plugin/releases) - [Commits](apache/maven-deploy-plugin@maven-deploy-plugin-3.0.0...maven-deploy-plugin-3.1.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-deploy-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump surefire.version from 3.0.0-M8 to 3.0.0-M9 Bumps `surefire.version` from 3.0.0-M8 to 3.0.0-M9. Updates `surefire-junit47` from 3.0.0-M8 to 3.0.0-M9 Updates `surefire-testng` from 3.0.0-M8 to 3.0.0-M9 Updates `surefire-junit-platform` from 3.0.0-M8 to 3.0.0-M9 Updates `maven-surefire-plugin` from 3.0.0-M8 to 3.0.0-M9 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.0.0-M8...surefire-3.0.0-M9) --- updated-dependencies: - dependency-name: org.apache.maven.surefire:surefire-junit47 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.surefire:surefire-testng dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.surefire:surefire-junit-platform dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-compiler-plugin from 3.10.1 to 3.11.0 Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.10.1 to 3.11.0. - [Release notes](https://github.com/apache/maven-compiler-plugin/releases) - [Commits](apache/maven-compiler-plugin@maven-compiler-plugin-3.10.1...maven-compiler-plugin-3.11.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-compiler-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-assembly-plugin from 3.4.2 to 3.5.0 Bumps [maven-assembly-plugin](https://github.com/apache/maven-assembly-plugin) from 3.4.2 to 3.5.0. - [Release notes](https://github.com/apache/maven-assembly-plugin/releases) - [Commits](apache/maven-assembly-plugin@maven-assembly-plugin-3.4.2...maven-assembly-plugin-3.5.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-assembly-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump jetty-servlet from 11.0.13 to 11.0.14 Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.13 to 11.0.14. - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](jetty/jetty.project@jetty-11.0.13...jetty-11.0.14) --- updated-dependencies: - dependency-name: org.eclipse.jetty:jetty-servlet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add S3PROXY_JAVA_OPTS environment variable * Bump logback-classic from 1.4.5 to 1.4.6 Bumps [logback-classic](https://github.com/qos-ch/logback) from 1.4.5 to 1.4.6. - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](qos-ch/logback@v_1.4.5...v_1.4.6) --- updated-dependencies: - dependency-name: ch.qos.logback:logback-classic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-install-plugin from 3.1.0 to 3.1.1 Bumps [maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/apache/maven-install-plugin/releases) - [Commits](apache/maven-install-plugin@maven-install-plugin-3.1.0...maven-install-plugin-3.1.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-install-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump maven-javadoc-plugin from 3.4.1 to 3.5.0 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.1 to 3.5.0. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.4.1...maven-javadoc-plugin-3.5.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump surefire.version from 3.0.0-M9 to 3.0.0 Bumps `surefire.version` from 3.0.0-M9 to 3.0.0. Updates `surefire-junit47` from 3.0.0-M9 to 3.0.0 Updates `surefire-testng` from 3.0.0-M9 to 3.0.0 Updates `surefire-junit-platform` from 3.0.0-M9 to 3.0.0 Updates `maven-surefire-plugin` from 3.0.0-M9 to 3.0.0 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.0.0-M9...surefire-3.0.0) --- updated-dependencies: - dependency-name: org.apache.maven.surefire:surefire-junit47 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.surefire:surefire-testng dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.surefire:surefire-junit-platform dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump slf4j.version from 2.0.6 to 2.0.7 Bumps `slf4j.version` from 2.0.6 to 2.0.7. Updates `slf4j-api` from 2.0.6 to 2.0.7 - [Release notes](https://github.com/qos-ch/slf4j/releases) - [Commits](qos-ch/slf4j@v_2.0.6...v_2.0.7) Updates `jcl-over-slf4j` from 2.0.6 to 2.0.7 - [Release notes](https://github.com/qos-ch/slf4j/releases) - [Commits](qos-ch/slf4j@v_2.0.6...v_2.0.7) --- updated-dependencies: - dependency-name: org.slf4j:slf4j-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.slf4j:jcl-over-slf4j dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Configure Keystore through environment variables * Fix variable typo * Configure Secure Endpoint with environment variable * Set default non chunked request size value * Expose 443 port for TLS/secure endpoint feature * Improve TLS Support documentation * Align SSL/TLS terminology * Update s3-tests submodule References gaul#479. * Bump jetty-servlet from 11.0.14 to 11.0.15 Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 11.0.14 to 11.0.15. - [Release notes](https://github.com/eclipse/jetty.project/releases) - [Commits](jetty/jetty.project@jetty-11.0.14...jetty-11.0.15) --- updated-dependencies: - dependency-name: org.eclipse.jetty:jetty-servlet dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump logback-classic from 1.4.6 to 1.4.7 Bumps [logback-classic](https://github.com/qos-ch/logback) from 1.4.6 to 1.4.7. - [Release notes](https://github.com/qos-ch/logback/releases) - [Commits](qos-ch/logback@v_1.4.6...v_1.4.7) --- updated-dependencies: - dependency-name: ch.qos.logback:logback-classic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update s3-tests Fixes gaul#479. * Add and ignore x-amz-api-version Fixes gaul#497. * Cleanup the build workflow --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Andrew Gaul <gaul@google.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Gaul <andrew@gaul.org> Co-authored-by: Srujan Deshpande <srujan.deshpande@gmail.com> Co-authored-by: Yann Defretin <kinoute@gmail.com> Co-authored-by: Yann Defretin <yann@defret.in> Co-authored-by: Timur Alperovich <timur@timuralp.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to delete a file using the client cpp aws sdk
Please find the log below
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.794 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:300 |::] request: Request(DELETE http://127.0.0.1:8085/bucketname/filetobedeleted)@47a6d831
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.794 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: Accept: /
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: x-amz-date: 20230208T174826Z
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: Connection: Upgrade, HTTP2-Settings
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: User-Agent: aws-sdk-cpp/1.8.7 Linux/4.18.0-425.10.1.el8_7.x86_64 x86_64 GCC/8.5.0
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: Host: 127.0.0.1:8085
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: Upgrade: h2c
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: Authorization: AWS4-HMAC-SHA256 Credential=AKI*************4/20230208/us-east-1/s3/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-type;host;x-amz-api-version;x-amz-content-sha256;x-amz-date, Signature=b1dfeb722600598b4a14e1a1183ccfe962850d7ce8b26e43aece2f0cf8d5db1a
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: x-amz-api-version: 2006-03-01
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: amz-sdk-invocation-id: 8EC2144C-09FA-4A3D-BFE6-ACCDAD00900C
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: amz-sdk-request: attempt=1
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.795 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: content-type: application/xml
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.796 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:325 |::] header: HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] E 02-08 18:48:26.796 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:641 |::] Unknown header x-amz-api-version with URI /bucketname/filetobedeleted
Feb 08 18:48:26 box-cpw java[4019]: [s3proxy] D 02-08 18:48:26.796 S3Proxy-Jetty-16 o.gaul.s3proxy.S3ProxyHandler:2948 |::] sendSimpleErrorResponse: 501 NotImplemented A header you provided implies functionality that is not implemented. {}
The text was updated successfully, but these errors were encountered: