Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26307

Allow AWS Rekognition configuration keys in nuxeo.conf

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.3-SNAPSHOT
    • Fix Version/s: 10.3
    • Component/s: Nuxeo Vision

      Description

      Steps to reproduce:

      • Configure instance to use AWS Rekognition as per the documentation.
      • Create a Picture document with an image as the main file.
        => Tags are not added to the document.
        => Errors in the server.log:
        ****** chain ******
        Name: PictureChangedListenerChain
        Exception: OperationException
        Caught error: Failed to invoke operation javascript.PictureVisionDefaultMapper
        Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation javascript.PictureVisionDefaultMapper
        ****** Hierarchy calls ******
        	org.nuxeo.automation.scripting.internals.ScriptingOperationImpl
        
        
        
        ****** start sub chain ******
        
        ****** chain ******
        Parent Chain ID: PictureChangedListenerChain
        Name: 
        ****** Hierarchy calls ******
        	org.nuxeo.ecm.platform.picture.operation.GetPictureView
        
        
        ****** chain ******
        Parent Chain ID: PictureChangedListenerChain
        Name: 
        Exception: OperationException
        Caught error: Failed to invoke operation VisionOp
        Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation VisionOp
        ****** Hierarchy calls ******
        	org.nuxeo.vision.core.operation.VisionOp
        
        
        
        ****** end sub chain ******
        		at org.nuxeo.ecm.automation.core.trace.TracerFactory.onTrace(TracerFactory.java:198) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.core.trace.Tracer.popContext(Tracer.java:73) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.core.trace.Tracer.onChainExit(Tracer.java:86) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:227) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        		at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        		at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        		at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_73]
        		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_73]
        		at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73]
        Caused by: java.lang.reflect.UndeclaredThrowableException
        	at com.sun.proxy.$Proxy156.run(Unknown Source) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl.run(ScriptingOperationImpl.java:66) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	... 4 more
        Caused by: java.lang.reflect.InvocationTargetException
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.automation.scripting.internals.AutomationScriptingServiceImpl$Bridge$1.invoke(AutomationScriptingServiceImpl.java:111) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at com.sun.proxy.$Proxy156.run(Unknown Source) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl.run(ScriptingOperationImpl.java:66) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	... 4 more
        Caused by: java.lang.RuntimeException: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation VisionOp
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl$Runnable$$NashornJavaAdapter.run(Unknown Source) ~[?:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.automation.scripting.internals.AutomationScriptingServiceImpl$Bridge$1.invoke(AutomationScriptingServiceImpl.java:111) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at com.sun.proxy.$Proxy156.run(Unknown Source) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl.run(ScriptingOperationImpl.java:66) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	... 4 more
        Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation VisionOp
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:185) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.automation.scripting.internals.AutomationMapper.executeOperation(AutomationMapper.java:116) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at jdk.nashorn.internal.scripts.Script$Recompilation$22$53002AA$\^eval\_.VisionOp(<eval>:1264) ~[?:?]
        	at jdk.nashorn.internal.scripts.Script$Recompilation$19$28AA$\^eval\_.run(<eval>:5) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl$Runnable$$NashornJavaAdapter.run(Unknown Source) ~[?:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.automation.scripting.internals.AutomationScriptingServiceImpl$Bridge$1.invoke(AutomationScriptingServiceImpl.java:111) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at com.sun.proxy.$Proxy156.run(Unknown Source) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl.run(ScriptingOperationImpl.java:66) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	... 4 more
        Caused by: com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), com.amazonaws.auth.profile.ProfileCredentialsProvider@291d2bc4: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@555b84cc: Unable to load credentials from service endpoint]
        	at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:136) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at org.nuxeo.runtime.aws.NuxeoAWSCredentialsProvider.getCredentials(NuxeoAWSCredentialsProvider.java:51) ~[nuxeo-runtime-aws-10.3-I20181121_2333.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.getCredentialsFromContext(AmazonHttpClient.java:1193) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.runBeforeRequestHandlers(AmazonHttpClient.java:779) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:729) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:722) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:704) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:672) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:654) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:518) ~[aws-java-sdk-core-1.11.427.jar:?]
        	at com.amazonaws.services.rekognition.AmazonRekognitionClient.doInvoke(AmazonRekognitionClient.java:3424) ~[aws-java-sdk-rekognition-1.11.427.jar:?]
        	at com.amazonaws.services.rekognition.AmazonRekognitionClient.invoke(AmazonRekognitionClient.java:3393) ~[aws-java-sdk-rekognition-1.11.427.jar:?]
        	at com.amazonaws.services.rekognition.AmazonRekognitionClient.invoke(AmazonRekognitionClient.java:3382) ~[aws-java-sdk-rekognition-1.11.427.jar:?]
        	at com.amazonaws.services.rekognition.AmazonRekognitionClient.executeDetectLabels(AmazonRekognitionClient.java:1159) ~[aws-java-sdk-rekognition-1.11.427.jar:?]
        	at com.amazonaws.services.rekognition.AmazonRekognitionClient.detectLabels(AmazonRekognitionClient.java:1130) ~[aws-java-sdk-rekognition-1.11.427.jar:?]
        	at org.nuxeo.vision.aws.AmazonRekognitionProvider.execute(AmazonRekognitionProvider.java:61) ~[nuxeo-vision-aws-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.service.VisionImpl.execute(VisionImpl.java:151) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.service.VisionImpl.execute(VisionImpl.java:112) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.operation.VisionOp.run(VisionOp.java:87) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.operation.VisionOp.run(VisionOp.java:78) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.automation.scripting.internals.AutomationMapper.executeOperation(AutomationMapper.java:116) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at jdk.nashorn.internal.scripts.Script$Recompilation$22$53002AA$\^eval\_.VisionOp(<eval>:1264) ~[?:?]
        	at jdk.nashorn.internal.scripts.Script$Recompilation$19$28AA$\^eval\_.run(<eval>:5) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl$Runnable$$NashornJavaAdapter.run(Unknown Source) ~[?:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.automation.scripting.internals.AutomationScriptingServiceImpl$Bridge$1.invoke(AutomationScriptingServiceImpl.java:111) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at com.sun.proxy.$Proxy156.run(Unknown Source) ~[?:?]
        	at org.nuxeo.automation.scripting.internals.ScriptingOperationImpl.run(ScriptingOperationImpl.java:66) ~[nuxeo-automation-scripting-10.3-I20181121_2333.jar:?]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_73]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_73]
        	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_73]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$OperationMethod.invoke(OperationChainCompiler.java:151) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.lambda$invoke$0(OperationChainCompiler.java:218) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.call(OperationContext.java:326) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.OperationContext.callWithChainParameters(OperationContext.java:291) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationChainCompiler$CompiledChainImpl.invoke(OperationChainCompiler.java:215) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:115) ~[nuxeo-automation-core-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:72) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.vision.core.listener.PictureConversionChangedListener.handleEvent(PictureConversionChangedListener.java:46) ~[nuxeo-vision-core-1.3.3-I20181122_0216.jar:?]
        	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) ~[nuxeo-core-event-10.3-I20181121_2333.jar:?]
        	... 4 more
        

      The logs seem to be looking for aws.accessKeyId and aws.secretKey, so I tried using these in nuxeo.conf instead of the standard configuration keys but this produced the same result.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m