I have a very simple call to just create a new AmazonS3Client (using Java AWSSDK 1.10.12) like this:
AmazonS3 s3Client = new AmazonS3Client();
And during this call I'm getting the exception message from the AWSDK: Internalconfig.java - "awssdk_config_override.json file not found"
Actual message: 6656 [http-bio-8080-exec-8] DEBUG com.amazonaws.internal.config.InternalConfig -Configuration override awssdk_config_override.json not found.
Totally baffled what's going on here. I can currently only reproduce this on one project, but can't reproduce it when creating new projects from scratch.
Any idea what this json file is even used for? Or why it can't find it or feels the need to find it?
The SDK comes bundled with a file called awssdk_config_default.json with various bits of trivia about how to find and authenticate to the different AWS services. When loading up, it also looks for a file on the classpath called "awssdk_config_override.json" that you can optionally provide to override these settings - for example if you want to use a different authentication protocol than what the SDK chooses by default.
This file is not at all required, and almost all users of the SDK will be perfectly happy with the default configuration. The SDK logs a message at the DEBUG level if it can't find the file to help debug what's going wrong if you're expecting it to pick up an override config file but it's not for some reason. This message (and all of the other messages the SDK logs at the DEBUG level) are safe to ignore unless you're trying to figure out why something isn't working.
I would definitely recommend turning off DEBUG level logging before deploying to production - the DEBUG logs can get quite verbose.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With