Encountering connection error while fetching IdentityStore after migrating from v1 to v2 #3747
Answered
by
debora-ito
c1ginly
asked this question in
Migration from v1 to v2
|
The Bug The exception encountered We used the same credentials for both v1 and v2 connections. |
Answered by
debora-ito
Feb 7, 2023
Replies: 2 comments 6 replies
|
The ProxyConfiguration needs to be set in the HTTP Client used in the IdentityStoreClient too. Note that one best practice when configuring HTTP clients in service clients is to use the More info - https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/http-configuration-apache.html |
6 replies
Answer selected by
c1ginly
|
Hello! Reopening this discussion to make it searchable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ProxyConfiguration needs to be set in the HTTP Client used in the IdentityStoreClient too.
Note that one best practice when configuring HTTP clients in service clients is to use the
httpClientBuilder()method, this way the service client will manage the HTTP client lifecycle and close it when the service client gets closed.More info - https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/http-configuration-apache.html