To those super familiar with cloudfront, has anyone ever successfully put one cloudfront distribution in front of another?
Hey friends!!!
has everyone every stumbled upon the following weird error on s3 when using the cognitect/aws-api
lib CopyObject
operation please ?
I have tried to use it to copy an object from one bucket to another :
• the copy action worked perfectly as intended : the object is copied to the destination bucket
• but as a response to the call, I received an error :
{:cognitect.anomalies/category :cognitect.anomalies/fault, :cognitect.aws.client/throwable #error {
:cause "Property null is not supported"
:via
[{:type java.lang.IllegalArgumentException
:message "Property null is not supported"
:at [com.sun.xml.internal.stream.XMLInputFactoryImpl setProperty "XMLInputFactoryImpl.java" 246]}]
:trace
[[com.sun.xml.internal.stream.XMLInputFactoryImpl setProperty "XMLInputFactoryImpl.java" 246]
...
it is a little bit puzzling since I am not sure how to investigate this case : the “Property null is not supported” message does not help that much
similarly, pasting the error doesn't help that much without the input request
also need your dependencies too, clj -Stree
please @kaffein
my bad : I will give you the details in a sec
[com.cognitect.aws/api "0.8.391"]
[com.cognitect.aws/endpoints "1.1.11.670"]
[com.cognitect.aws/iam "746.2.533.0"]
[com.cognitect.aws/ec2 "770.2.568.0"]
[com.cognitect.aws/s3 "762.2.561.0"]]
no problem. Can you provide the resolved deps, not the declared deps?
you look like you're using lein
, so lein deps :tree
or whatever
looking for the version of clojure.data.xml specifically
oh ok
I don’t seem to have found clojure.data.xml
while greping it from the output @ghadi
org.clojure/data.xml
?
I gave you the wrong lib to grep for
oh I gave it the wrong argument indeed
there we go :
[org.clojure/data.xml "0.0.8"]
ok that's what I thought
somewhere in your dependencies it is asking for an older version of data.xml (0.0.8) instead of the one aws-api needs
(which I can't remember)
in the output for lein deps :tree
there should be some warnings about conflicts
you should do :exclusions for whatever is pulling the old version of data.xml
then re-test
awesome @ghadi thanks a lot for your help
This is a Frequently Encountered Problem™ and I want to make it go away... will consult with the crew
cool thanks a lot