pjhcsols / VirtualFitting_System

가상피팅&의류입점 플랫폼
4 stars 0 forks source link

[BE_2] ERROR: S3스토리지 deleteProductPhotos #27

Closed pjhcsols closed 2 months ago

pjhcsols commented 2 months ago

deleteProductPhotos->S3스토리지에 이미지는 정상 삭제됨, 서버에 오류 메시지

software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., WebIdentityTokenCredentialsProvider(): Either the environment variable AWS_WEB_IDENTITY_TOKEN_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsProvider(): Profile file contained no credentials for profile 'default': ProfileFile(profiles=[]), ContainerCredentialsProvider(): Cannot fetch credentials from container - neither AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variables are set., InstanceProfileCredentialsProvider(): Unable to load credentials from service endpoint.]

pjhcsols commented 2 months ago

Fix: https://github.com/pjhcsols/VirtualFitting_System/issues/27 https://github.com/pjhcsols/VirtualFitting_System/issues/29 https://github.com/pjhcsols/VirtualFitting_System/issues/30 bug 수정[박한솔]

pjhcsols commented 2 months ago

key 값이 두번 들어가서 인증이 두번 필요 -> key값 한번으로 로직 변경