Closed dturanski closed 3 years ago
Thanks @dturanski for reporting. These are known issues - logging comes from AWS SDK and we can't do much about it except muting the logger. The delay comes from autoconfiguring ContextInstanceDataAutoConfiguration
- which you can disable if you don't need it. We are aware that it's not convenient that's why we are making all auto-configuration more explicit.
I explained how to handle the issues you have mentioned in the video https://youtu.be/Ts2a-YdN6vI?t=393
Thanks. I was thinking there may be a way for the user to disable the check with a property if they know they are not running on EC2. I might be able to conditionally disable the autoconfig in my app.
I've been able to configure the client to connect to Minio, by setting the endpoint URL. The only remaining issue is I see this exception in the logs:
when trying to determine if the app is running on EC2, I suppose. In addition to the exception, it takes a few seconds for the connection to timeout. It would be nice if there was a way to avoid this.