Fork me on GitHub
#aws
<
2020-02-21
>
andrea.crotti11:02:51

any idea why I would get java.lang.Exception: Failed with error {:cognitect.anomalies/category :cognitect.anomalies/unavailable, :cognitect.aws.client/throwable nil} ? I'm just doing a GetObject

andrea.crotti11:02:54

looking at the code it looks like it maps to a 504 from S3, which seems very weird?

andrea.crotti11:02:09

from the same machine accessing another bucket (with a different library) works fine

andrea.crotti11:02:41

not sure it's really a S3 transient error since it always happens

ghadi11:02:06

Please inspect the metadata on the response

andrea.crotti11:02:23

I can't do it easily where it fails since it fails only on staging, but well I'll have to add some logging I guess

andrea.crotti11:02:06

and sadly on staging we use ecs roles which also makes it harder to test from local, but thanks for the hint I'll log the meta data

andrea.crotti15:02:33

ok it was actually a connection refused

andrea.crotti15:02:53

because I was trying to access the port 9000 on staging, just a config error