Closed ARMmaster17 closed 2 years ago
Going to push up an emergency PR around lunch today to print out more debugging information. I don't know why I thought it was a good idea to mask exceptions from 3rd party libraries, because it looks like Log4J2 isn't unwrapping the stack correctly.
Never mind, found the root issue:
Apr 16 15:05:00 [virtudoc](https://my.papertrailapp.com/systems/virtudoc/events?focus=1452107799985008647&selected=1452107799985008647) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1452107799985008647&selected=1452107799985008647) 2022-04-16 22:05:00.774 DEBUG 4 --- [io-45955-exec-8] com.amazonaws.request : Received error response: com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'US_EAST_1' is wrong; expecting 'us-west-2' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: 3KTFFA5WKV11ZZK8; S3 Extended Request ID: xTY55qSNOZpiY6tHpbo5w/kgd2UAhEH5UH7g7erTClLkOVf7BhnVX+9NXkxjq+rrU08GP6GSb1Q=; Proxy: null), S3 Extended Request ID: xTY55qSNOZpiY6tHpbo5w/kgd2UAhEH5UH7g7erTClLkOVf7BhnVX+9NXkxjq+rrU08GP6GSb1Q=
Apr 16 15:05:00 [virtudoc](https://my.papertrailapp.com/systems/virtudoc/events?focus=1452107799985008648&selected=1452107799985008648) [app/web.1](https://my.papertrailapp.com/events?q=program%3Aapp%2Fweb.1&focus=1452107799985008648&selected=1452107799985008648) 2022-04-16 22:05:00.774 DEBUG 4 --- [o-45955-exec-10] com.amazonaws.request : Received error response: com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'US_EAST_1' is wrong; expecting 'us-west-2' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: 3KT0XK7R2XKCVTW4; S3 Extended Request ID: /7ubsLkQMaPm/nIKo3i2Gt99Mlqqal94UptvQiDXahXmSBGq1IKz/HufjQ4ccOSpwpkpXtm+vw8=; Proxy: null), S3 Extended Request ID: /7ubsLkQMaPm/nIKo3i2Gt99Mlqqal94UptvQiDXahXmSBGq1IKz/HufjQ4ccOSpwpkpXtm+vw8=