An issue occured with putObject after lib has updated from 1.11.445 to 1.11.486 #3458
-
So, I have a simple "Hello world!" code with PUT and GET requests: int main(int argc, char *argv[])
}` This code works properly on 1.11.445 version, but when I updated to 1.11.486 or any later version I receive an error. Here is the full log: Running AWS S3 API smoke test script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd) . "${script_dir}"/../../ci/utils.sh minio_endpoint=$(get_service_endpoint minio-service "${QTR_COMMON_SANDBOX_NS}" external) AWS_ACCESS_KEY_ID=${QTR_COMMON_MINIO_USER} project(hello_world_aws) set(CMAKE_CXX_STANDARD 17) find_package(AWSSDK REQUIRED COMPONENTS s3) set(SOURCES main.cpp) add_executable(${PROJECT_NAME} ${SOURCES}) target_include_directories(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME} ${AWSSDK_LIBRARIES})` The output, when I run on 1.11.445 version: Running AWS S3 API smoke test Please help me understand what the problem is and what could be the solutions. I guess the problem is in minIO, but maybe it's not the reason... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
it is, we changed how we set content length and stream bodies in |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
it is, we changed how we set content length and stream bodies in
1.11.486
, please refer to this announcement. You should find that it works fine with aws s3. I do know that minio supports this, so it should be worth checking what version of minio you are using. If you test against the latest version of minio should work, let me know if it doesnt