aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
2019-01-29T12:39:13.077900Z

hi guys

2019-01-29T12:39:53.078700Z

has anyone ever experienced an SSL issue using the aws-api please ?

2019-01-29T12:43:07.078800Z

when trying to create an AMI group on AWS, here is my stacktrace

ghadi 2019-01-29T12:45:26.079600Z

EC2 API @kaffein ?

2019-01-29T12:47:49.079900Z

IAM api @ghadi

ghadi 2019-01-29T12:49:30.081Z

Which jdk and platform and can you provide any code snippets?

2019-01-29T12:52:01.081900Z

i'm on jdk 10 with clj 1.10 on mac os x

2019-01-29T12:52:26.082600Z

yes I can provide a snippet, just give me a second so that I can find it please 😉

2019-01-29T13:03:59.082700Z

I forgot to push my code so the only thing I'm not sure of is the syntax for the api call on the last line ... but it kinda looks like this @ghadi

ghadi 2019-01-29T14:13:09.083500Z

Hmmm I can't reproduce that @kaffein Are you in osx or on a container?

2019-01-29T14:13:59.083800Z

i'm not on a container

2019-01-29T14:14:12.084200Z

that's weird

2019-01-29T14:14:26.084900Z

I should check one more time on my side perhaps

2019-01-29T14:14:31.085200Z

maybe I made a mistake somewhere

ghadi 2019-01-29T14:14:53.086Z

any custom thing you're hitting, or a corporate proxy or something? (IAM is global service, so it's probably not something region specific)

2019-01-29T14:15:36.086700Z

no corporate or specific settings I think since I'm using it from home

2019-01-29T14:16:01.087200Z

I may have missed something then : I will check it one more time this evening

2019-01-29T14:16:48.087700Z

thanks a lot for your help @ghadiappreciate it

ghadi 2019-01-29T14:16:54.087900Z

no problem

gws 2019-01-29T16:47:12.090400Z

@kaffein https://github.com/aws/aws-sdk-java/issues/1778 it looks like others have had a similar issue with Java 10 and macOS, where it seems the Amazon certificates didn't get shipped with the JDK. are you able to try Java 11?

👍 1
ghadi 2019-01-29T16:53:11.091Z

that was my next thought!

ghadi 2019-01-29T16:53:31.091500Z

I know they restored some certificates from JDK9->JDK10... didn't realize there was a secondary problem!

2019-01-29T16:59:22.093300Z

Thanks a lot @gws and @ghadi I can try to upgrade to java 11 to see if that solves the problem

2019-01-29T16:59:34.093600Z

Will let you guys know

ghadi 2019-01-29T17:00:00.093900Z

cool brew cask install adoptopenjdk11

devn 2019-01-29T18:03:45.094500Z

@ghadi oh, hello. looks like some new stuff has been added for credential refresh?

devn 2019-01-29T18:04:13.095200Z

was getting an expired token exception, just bumped libs to see if the recent auto-refreshing-credentials stuff fixes my wagon

ghadi 2019-01-29T18:06:24.095800Z

Yeah we fixed a nasty bug

❤️ 2
ghadi 2019-01-29T18:07:35.096300Z

It wasn't refreshing properly before @devn

devn 2019-01-29T18:07:58.096600Z

@ghadi sweet, thanks!

devn 2019-01-29T18:10:52.096900Z

yep, that did the trick.

2019-01-29T21:29:56.099100Z

I've upgraded my java install to use jdk 11 and it indeed solved the SSL issue!!again thanks a lot @ghadi 👍

ghadi 2019-01-29T21:42:53.099300Z

thank you for following up @kaffein

ghadi 2019-01-29T21:43:17.099800Z

really appreciated! (grumble....I wish AWS services used a common trust chain)

👍 1