In RI R3M21 pre-ship environment not able to upload the file using the SignedURL gotten by using the uploadURL endpoint of the FILE API
Request to get the signedURL
curl --location 'https://osdu.bm21.gcp.gnrg-osdu.projects.epam.com/api/file/v2/files/uploadURL' \ --header 'Data-Partition-Id: osdu' \ --header 'Authorization: Bearer eyJhbGciOi...Truncated...jfa80htjkDM2QwkSbnf1orug'Response to the above request
{ "FileID": "64d6d4c4a0fb4e30b6ebcee92194a0dd", "Location": { "SignedURL": "http://minio:9000/refi-osdu-staging-area/345679c2-1a66-4bcf-b4ec-2d1d46247bb7/64d6d4c4a0fb4e30b6ebcee92194a0dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fileUser%2F20231109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231109T204858Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=dd1fc0acfcada76611d31c28c0764f8c0df9cdc5d897d4f16e3bc024de0e8a82", "FileSource": "/345679c2-1a66-4bcf-b4ec-2d1d46247bb7/64d6d4c4a0fb4e30b6ebcee92194a0dd" } }Upload File by using SignedURL from the above response
curl --location --request PUT 'http://minio:9000/refi-osdu-staging-area/345679c2-1a66-4bcf-b4ec-2d1d46247bb7/64d6d4c4a0fb4e30b6ebcee92194a0dd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=fileUser%2F20231109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231109T204858Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=dd1fc0acfcada76611d31c28c0764f8c0df9cdc5d897d4f16e3bc024de0e8a82' \ --header 'x-ms-blob-type: BlockBlob' \ --form '=@"7004_a1501_1978_comp.las"'Response to the above request
Error: getaddrinfo ENOTFOUND minio Request Headers x-ms-blob-type: BlockBlob User-Agent: PostmanRuntime/7.34.0 Accept: */* Postman-Token: ecf0cbe1-42a3-46c2-ad08-c9e90780102b Host: minio:9000 Accept-Encoding: gzip, deflate, br Connection: keep-aliveBecause of this not able to perform the workflows that require uploading of the files.