본문 바로가기
에러/spring

[Spring] com.amazonaws.sdkclientexception failed to connect to service endpoint 에러

by PEKAH 2020. 12. 27.

Spring 실행 시 발생하는 에러로


AmazonS3ClientBuilder

                .standard()

                .withCredentials(new AWSStaticCredentialsProvider(awsCredentials))

                .withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration("https://s3.us-east-1.amazonaws.com", "us-east-1"))

                .build();


Endpoint를 추가하여 실행해보기 바란다

댓글