Spring Boot AWS SDK 无法读取认证信息 Unable to load credentials from ProfileCredentialsProvider
Spring Boot AWS About 663 words报错信息
s.a.a.a.c.AwsCredentialsProviderChain : Unable to load credentials from ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[profiles, sso-session, services], profiles=[Profile(name=default, properties=[sso_session, sso_role_name, region, sso_account_id])])): Unable to execute HTTP request: Connection reset (SDK Attempt Count: 4)
software.amazon.awssdk.core.exception.SdkClientException: Unable to execute HTTP request: Connection reset (SDK Attempt Count: 4)
开启日志
application.yaml中
logging:
level:
software.amazon.awssdk: debug
观察日志
日志中出现很多次重试,而本地已经使用aws sso login登录了。
日志中还出现了Connection Reset,等网络连接异常。
解决
拨入VPN :)
Views: 3 · Posted: 2026-07-31
———         Thanks for Reading         ———
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...