cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10129
Views
0
Helpful
22
Replies

Registration Callback URL fails

Frederic Doyle
Cisco Employee
Cisco Employee

 

I have run the following code :

 

 

// Registration Process to create registration URL

 

       RegisteringApplication registerApp = ConnectorFactory.getConnector(RegisteringApplication.class);

 

       System.out.println( "Generating Registration URL:" );

 

       try{

 

           String productCallbackUrl = "http://fake";

 

           String APPLICATION_TYPE = "custom";

 

           String registrationURL = registerApp.createRegistrationRequest(productCallbackUrl, APPLICATION_TYPE);

 

System.out.println("Open the following URL in a browser to complete the registration request.");

 

           System.out.println(registrationURL);

 

       }

 

       catch (Exception e) {

 

           System.out.println("Error Creating Registration Request! The Error is: " + e);

 

       }

It returnes me this URL : https://ccfs.ciscoccservice.com/v1/authorize?callbackUrl=http%3A%2F%2Ffake&appType=custom

 

I use this URL in a browser and I can this error message : 502 Bad Gateway: Registered endpoint failed to handle the request. 

 

Any Idea what I’m doing wrong?  I’m supposed to get the login interface..

 

 

Thanks,

 

 

Fred

 

1 Accepted Solution

Accepted Solutions

Hi Fred,

Registration and De-Registration services are fully restored and all Context Service operations should be back to normal.

Thank You

Ankit Parikh

View solution in original post

22 Replies 22

Frederic Doyle
Cisco Employee
Cisco Employee

here is the console output :

2016-06-05 21:30:44 INFO  ConnectorFactory:219 - Current path :C:\Users\frdoyle\workspace\CSImport\.

2016-06-05 21:30:44 INFO  ConnectorFactory:317 - loadConfigurations path :C:\Users\frdoyle\workspace\CSImport\connector.property

2016-06-05 21:30:45 INFO  ConnectorFactory:254 - Loading extensions from jarPath :C:\Users\frdoyle\workspace\CSImport\plugin\context-service-sdk-extension-1.0.7.jar

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@2fe74516

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-05 21:30:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@43c57161

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@642857e0

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-05 21:30:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-05 21:30:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-05 21:30:46 INFO  ConnectorFactory:289 - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown

2016-06-05 21:30:46 INFO  ConnectorFactory:291 - ConnectorFactory.resetPluginManager - done

Generating Registration URL:

Open the following URL in a browser to complete the registration request.

https://ccfs.ciscoccservice.com/v1/authorize?callbackUrl=http%3A%2F%2Ffake&appType=custom

Hi Fred,

Context Service is experiencing issues with Registration and De-Registration services. We are looking into this issue to resolve it as soon as possible. We will send out another update when services are fully restored.

Thank you

Ankit Parikh

Hi Fred,

Registration and De-Registration services are fully restored and all Context Service operations should be back to normal.

Thank You

Ankit Parikh

Ok, registration done!

now I got this when I try to connect to the service :

2016-06-06 08:37:01 INFO  Import$Arguments:353 - Arguments- Flush: false, Directory: C:\Users\frdoyle\pods, Connection String: eyJhcHBsaWNhdGlvblR5cGUiOiJjdXN0b20iLCJkaXNjb3ZlcnlVcmwiOiJkaXNjb3ZlcnkucmNpYWQuY2lzY29jY3NlcnZpY2UuY29tIiwiaWRlbnRpdHlCcm9rZXJVcmwiOiJpZGJyb2tlci53ZWJleC5jb20iLCJmbXNVcmwiOiJoZXJjdWxlcy1hLndieDIuY29tIiwiY29sbGFiTWFuYWdlbWVudFVybCI6Imh0dHBzOi8vYWRtaW4uY2lzY29zcGFyay5jb20iLCJjbHVzdGVyIjp7ImNsdXN0ZXJJZCI6IjNlYzllODgxLTFhYzgtNDM5OC1hZjI0LWRiNDIyOGI4ODEzYyIsImNsdXN0ZXJOYW1lIjoiY3VzdG9tLWNvbnRleHQtMTU1MjVBOEJFNTMifSwiY3JlZGVudGlhbHMiOnsibmFtZSI6ImZ1c2lvbi1tZ21udC0wNTIyYzRmOC1lMjM5LTRjZmEtYTc5OS1jZjNjYTY5NGMzMGMiLCJwYXNzd29yZCI6ImFhQkIxMiRkYjBlNTM0Yi1hMWRiLTRmYzEtYjdjZC0wZGU0ZjE1ZWFmZjQiLCJvcmdJZCI6IjJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2YyIsImxvY2F0aW9uIjoiaHR0cHM6Ly9pZGVudGl0eS53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0Nzkt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QyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJtYWNoaW5lQWNjb3VudExvY2F0aW9uIjoiaHR0cHM6Ly9pZGVudGl0eS53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2Yy92MS9NYWNoaW5lcy9jMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJpZCI6ImMyYzFiMDdhLWJiOGMtNDIwMy1iMTlhLTdjMTgwNjQ0ZTc1OSIsImNpc1V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJjbGllbnRJZCI6IkNkYWU5ZTJhYzViNmZiODAwYTU2Yjk3MGU4MzZjMGM1Y2E4NGNhOTZkMWEzZmE2ODFmOGI0YzdhZTM1ZTVhZmI4IiwiY2xpZW50U2VjcmV0IjoiYzEzOGJkNWJiZTkxM2FhYmE3MTViNGZhNDY2ZjEwZWEwZDUzZGU3YWVlNDBkODM0MWEyMjgxZjkyZDM4ZmYzZCJ9fQ==

2016-06-06 08:37:09 INFO  ConnectorFactory:219 - Current path :C:\Users\frdoyle\workspace\CSImport\.

2016-06-06 08:37:09 INFO  ConnectorFactory:317 - loadConfigurations path :C:\Users\frdoyle\workspace\CSImport\connector.property

2016-06-06 08:37:10 INFO  ConnectorFactory:254 - Loading extensions from jarPath :C:\Users\frdoyle\workspace\CSImport\plugin\context-service-sdk-extension-1.0.7.jar

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@3f96f020

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:37:11 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@1860f3be

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@7980cf2c

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:37:11 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:37:11 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:37:11 INFO  ConnectorFactory:289 - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown

2016-06-06 08:37:11 INFO  ConnectorFactory:291 - ConnectorFactory.resetPluginManager - done

ContextServiceClient version :  1.0.7-10011

2016-06-06 08:37:42 INFO  ContextServiceClientImpl:88 - Initializing system with params.  Timeouts: 10000 Retries: 2 Lab Mode: true

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/CollectionUtils

    at com.cisco.thunderhead.connector.impl.clientoauth.OAuthClient.<init>(OAuthClient.java:79)

    at com.cisco.thunderhead.connector.impl.clientoauth.OAuthClientFactory.getOAuthClient(OAuthClientFactory.java:40)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.initServices(ContextServiceClientImpl.java:103)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.startConnector(ContextServiceClientImpl.java:195)

    at com.cisco.thunderhead.connector.impl.ConnectorImpl.init(ConnectorImpl.java:166)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.cisco.thunderhead.plugin.ConnectorProxyInvocationHandler.invoke(ConnectorProxyInvocationHandler.java:110)

    at com.sun.proxy.$Proxy2.init(Unknown Source)

    at Import.initContextServiceClient(Import.java:294)

    at Import.main(Import.java:80)

Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.CollectionUtils

    at java.net.URLClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at com.cisco.thunderhead.loader.JarClassLoader.findClass(JarClassLoader.java:348)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClassAndPutIntoLocalClassList(JarClassLoader.java:226)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:207)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:177)

    at com.cisco.thunderhead.loader.JarClassLoader.findClass(JarClassLoader.java:348)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClassAndPutIntoLocalClassList(JarClassLoader.java:226)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:207)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:177)

    ... 13 more

any idea?

I have added this dependency :

<dependency>

    <groupId>commons-collections</groupId>

    <artifactId>commons-collections</artifactId>

    <version>3.0</version>

</dependency>

but now I get :

2016-06-06 08:44:54 INFO  Import$Arguments:353 - Arguments- Flush: false, Directory: C:\Users\frdoyle\pods, Connection String: eyJhcHBsaWNhdGlvblR5cGUiOiJjdXN0b20iLCJkaXNjb3ZlcnlVcmwiOiJkaXNjb3ZlcnkucmNpYWQuY2lzY29jY3NlcnZpY2UuY29tIiwiaWRlbnRpdHlCcm9rZXJVcmwiOiJpZGJyb2tlci53ZWJleC5jb20iLCJmbXNVcmwiOiJoZXJjdWxlcy1hLndieDIuY29tIiwiY29sbGFiTWFuYWdlbWVudFVybCI6Imh0dHBzOi8vYWRtaW4uY2lzY29zcGFyay5jb20iLCJjbHVzdGVyIjp7ImNsdXN0ZXJJZCI6IjNlYzllODgxLTFhYzgtNDM5OC1hZjI0LWRiNDIyOGI4ODEzYyIsImNsdXN0ZXJOYW1lIjoiY3VzdG9tLWNvbnRleHQtMTU1MjVBOEJFNTMifSwiY3JlZGVudGlhbHMiOnsibmFtZSI6ImZ1c2lvbi1tZ21udC0wNTIyYzRmOC1lMjM5LTRjZmEtYTc5OS1jZjNjYTY5NGMzMGMiLCJwYXNzd29yZCI6ImFhQkIxMiRkYjBlNTM0Yi1hMWRiLTRmYzEtYjdjZC0wZGU0ZjE1ZWFmZjQiLCJvcmdJZCI6IjJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2YyIsImxvY2F0aW9uIjoiaHR0cHM6Ly9pZGVudGl0eS53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2Yy92MS9NYWNoaW5lcy81MDk1MGJjYi05Yzk3LTQ0OWQtYTI3Ni1hMDliNzI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53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2Yy92MS9NYWNoaW5lcy9jMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJpZCI6ImMyYzFiMDdhLWJiOGMtNDIwMy1iMTlhLTdjMTgwNjQ0ZTc1OSIsImNpc1V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJjbGllbnRJZCI6IkNkYWU5ZTJhYzViNmZiODAwYTU2Yjk3MGU4MzZjMGM1Y2E4NGNhOTZkMWEzZmE2ODFmOGI0YzdhZTM1ZTVhZmI4IiwiY2xpZW50U2VjcmV0IjoiYzEzOGJkNWJiZTkxM2FhYmE3MTViNGZhNDY2ZjEwZWEwZDUzZGU3YWVlNDBkODM0MWEyMjgxZjkyZDM4ZmYzZCJ9fQ==

2016-06-06 08:45:04 INFO  ConnectorFactory:219 - Current path :C:\Users\frdoyle\workspace\CSImport\.

2016-06-06 08:45:04 INFO  ConnectorFactory:317 - loadConfigurations path :C:\Users\frdoyle\workspace\CSImport\connector.property

2016-06-06 08:45:05 INFO  ConnectorFactory:254 - Loading extensions from jarPath :C:\Users\frdoyle\workspace\CSImport\plugin\context-service-sdk-extension-1.0.7.jar

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@26ca61bf

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:45:06 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@4dde8976

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@27443560

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 08:45:06 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 08:45:06 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 08:45:06 INFO  ConnectorFactory:289 - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown

2016-06-06 08:45:06 INFO  ConnectorFactory:291 - ConnectorFactory.resetPluginManager - done

ContextServiceClient version :  1.0.7-10011

2016-06-06 08:45:11 INFO  ContextServiceClientImpl:88 - Initializing system with params.  Timeouts: 10000 Retries: 2 Lab Mode: true

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;)Z

    at com.cisco.thunderhead.connector.impl.clientoauth.OAuthClient.<init>(OAuthClient.java:79)

    at com.cisco.thunderhead.connector.impl.clientoauth.OAuthClientFactory.getOAuthClient(OAuthClientFactory.java:40)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.initServices(ContextServiceClientImpl.java:103)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.startConnector(ContextServiceClientImpl.java:195)

    at com.cisco.thunderhead.connector.impl.ConnectorImpl.init(ConnectorImpl.java:166)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.cisco.thunderhead.plugin.ConnectorProxyInvocationHandler.invoke(ConnectorProxyInvocationHandler.java:110)

    at com.sun.proxy.$Proxy2.init(Unknown Source)

    at Import.initContextServiceClient(Import.java:294)

    at Import.main(Import.java:80)

Could you try commons-collection.jar v3.2.1 or newer. Context service code calls CollectionUtils.isNotEmpty() method, which is NOT available in v3.0

I have figure that one.

Can you give me ALL required dependency please, each time I add one library I get another dependency error.

the last one is this

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/client/apache4/ApacheHttpClient4Handler

    at com.cisco.thunderhead.RESTClient.setupWebResource(RESTClient.java:189)

    at com.cisco.thunderhead.RESTClient.<init>(RESTClient.java:121)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.initServices(ContextServiceClientImpl.java:114)

    at com.cisco.thunderhead.client.ContextServiceClientImpl.startConnector(ContextServiceClientImpl.java:195)

    at com.cisco.thunderhead.connector.impl.ConnectorImpl.init(ConnectorImpl.java:166)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at com.cisco.thunderhead.plugin.ConnectorProxyInvocationHandler.invoke(ConnectorProxyInvocationHandler.java:110)

    at com.sun.proxy.$Proxy2.init(Unknown Source)

    at Import.initContextServiceClient(Import.java:294)

    at Import.main(Import.java:80)

Caused by: java.lang.ClassNotFoundException: com.sun.jersey.client.apache4.ApacheHttpClient4Handler

    at java.net.URLClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at com.cisco.thunderhead.loader.JarClassLoader.findClass(JarClassLoader.java:348)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClassAndPutIntoLocalClassList(JarClassLoader.java:226)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:207)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:177)

    at com.cisco.thunderhead.loader.JarClassLoader.findClass(JarClassLoader.java:348)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClassAndPutIntoLocalClassList(JarClassLoader.java:226)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:207)

    at com.cisco.thunderhead.loader.JarClassLoader.loadClass(JarClassLoader.java:177)

    ... 13 more

ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2

JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):  [util.c:840]

Hi There,

Have you followed "Step 6" under getting started (https://developer.cisco.com/site/context-service/discover/getting-started/)

Wade

Hi Wade,

yes I did that already

Fred

Hi Wade,

I did copy all the dependency into my own pom.xml and now it looks like it goes further but here is a new error :

2016-06-06 12:13:40 INFO  Import$Arguments:353 - Arguments- Flush: false, Directory: C:\Users\frdoyle\pods, Connection String: eyJhcHBsaWNhdGlvblR5cGUiOiJjdXN0b20iLCJkaXNjb3ZlcnlVcmwiOiJkaXNjb3ZlcnkucmNpYWQuY2lzY29jY3NlcnZpY2UuY29tIiwiaWRl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kMWEzZmE2ODFmOGI0YzdhZTM1ZTVhZmI4IiwiY2xpZW50U2VjcmV0IjoiYzEzOGJkNWJiZTkxM2FhYmE3MTViNGZhNDY2ZjEwZWEwZDUzZGU3YWVlNDBkODM0MWEyMjgxZjkyZDM4ZmYzZCJ9fQ==

2016-06-06 12:13:43 INFO  ConnectorFactory:219 - Current path :C:\Users\frdoyle\workspace\CSImport\.

2016-06-06 12:13:43 INFO  ConnectorFactory:317 - loadConfigurations path :C:\Users\frdoyle\workspace\CSImport\connector.property

2016-06-06 12:13:45 INFO  ConnectorFactory:254 - Loading extensions from jarPath :C:\Users\frdoyle\workspace\CSImport\plugin\context-service-sdk-extension-1.0.7.jar

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@e95595b

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@25a7fedf

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@7c281eb8

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorFactory:289 - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown

2016-06-06 12:13:46 INFO  ConnectorFactory:291 - ConnectorFactory.resetPluginManager - done

ContextServiceClient version :  1.0.7-10011

2016-06-06 12:13:48 INFO  ContextServiceClientImpl:88 - Initializing system with params.  Timeouts: 10000 Retries: 2 Lab Mode: true

2016-06-06 12:13:49 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:13:50 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:269 - Fetcher:getAccessTokenResponse <main>: new token retrieved CIS time: 1705 mlSec. Response: expiresIn=7199 tokenType=Bearer accessToken=eyJhbGciOiJSUzI1NiJ9.eyJleHBpcnlfdGltZSI6MTQ2NTIzNjgzMDA3OSwidXNlcl90eXBlIjoibWFjaGluZSIsInJlYWxtIjoiMmVkOGJhNTktNjQ3OS00YTE0LTg5YTYtOGU4YjIyNmRiNDZjIiwiY2lzX3V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtY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z9N72uP1yshX0p2Af-l8EUjWOn2CXE9X7vFJN7BCfy0XYHQYb7KQu0VOVowAsLE3DsEJccgYfSQ73rpOQRVmeTNjiKL1cNvOi5HaotvI9KKjG_ZRxR7gbAPCkYKI2QHviiXveauTlWOwgp5wEmzOt1v-M66CLmQS_e6zWf87tikttYcRJRBoYx--1yiymu7WqDcPY3KYOL367J5YJ62Eov3V2iXwwQKasrV70uox3-YqApL2Fu8kTqYKeRGzzd5Qsi9gNQK5JkOGg refreshToken=MjRlMGM1NjAtYWYxMS00NGRiLWExNDctNTVlMmY5NmNmMzk2MDI2MGRiNDQtZjc5 refreshTokenExpiresIn=5183922 accountExpiration=272

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: contact-center-context:pod_read contact-center-context:pod_write> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: contact-center-context:pod_read contact-center-context:pod_write,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:126 - Found Endpoints:

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - context: 1:https://context-service.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - dictionary: 1:https://dictionary.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - eventing: 1:https://eventing.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - kms: 1:https://encryption-a.wbx2.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - management: 1:https://management.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: management host found management.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  Utils:173 - Found feature: KMS_ENCRYPTION_KEY

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: dictionary host found dictionary.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: eventing host found eventing.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: kms host found encryption-a.wbx2.com

2016-06-06 12:13:53 INFO  KmsManager:166 - Feature KMS_ENCRYPTION_KEY is enabled.

2016-06-06 12:13:53 INFO  KmsSecureChannel:169 - Attempting to establish KMS secure channel with device ID 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:13:53 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:13:53 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:269 - Fetcher:getAccessTokenResponse <main>: new token retrieved CIS time: 350 mlSec. Response: expiresIn=7199 tokenType=Bearer accessToken=eyJhbGciOiJSUzI1NiJ9.eyJleHBpcnlfdGltZSI6MTQ2NTIzNjgzMjgzOSwidXNlcl90eXBlIjoibWFjaGluZSIsInJlYWxtIjoiMmVkOGJhNTktNjQ3OS00YTE0LTg5YTYtOGU4YjIyNmRiNDZjIiwiY2lzX3V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJyZWZlcmVuY2VfaWQiOiIyNjAzM2RkYy05YWJkLTQ1NjctYWZkNy01YzBiMDY4NjBhM2IiLCJpc3MiOiJodHRwczpcL1wvaWRicm9rZXIud2ViZXguY29tXC9pZGIiLCJ0b2tlbl90eXBlIjoiQmVhcmVyIiwiY2xpZW50X2lkIjoiQ2RhZTllMmFjNWI2ZmI4MDBhNTZiOTcwZTgzNmMwYzVjYTg0Y2E5NmQxYTNmYTY4MWY4YjRjN2FlMzVlNWFmYjgiLCJ0b2tlbl9pZ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IxNjAtMjkwZGQ1OTc4ZTNhMWUxZGRlMzEtMjdm refreshTokenExpiresIn=5183999 accountExpiration=272

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: webex-squared:kms_read webex-squared:kms_write webex-squared:kms_bind> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: webex-squared:kms_read webex-squared:kms_write webex-squared:kms_bind,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:55 INFO  KmsSecureChannel:499 - Successfully retrieved public key from KMS

2016-06-06 12:13:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:07 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:07 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:07 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:07 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request d07bfcb4-c9f6-4b4c-b34e-1e2555d45c98

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:07 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:13 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:25 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:25 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:25 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:25 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request fbed4837-fba8-48ec-9e94-452b7829ac35

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:25 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:28 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:33 WARN  KmsManager:229 - After 20000 milliseconds, kmsManager is still not initialized!

2016-06-06 12:14:33 INFO  ContextServiceClientImpl:180 - **** Context Service Client Initialization Complete. ****

2016-06-06 12:14:34 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:14:35 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:35 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:269 - Fetcher:getAccessTokenResponse <main>: new token retrieved CIS time: 1009 mlSec. Response: expiresIn=7199 tokenType=Bearer accessToken=eyJhbGciOiJSUzI1NiJ9.eyJleHBpcnlfdGltZSI6MTQ2NTIzNjg3NDQ5MiwidXNlcl90eXBlIjoibWFjaGluZSIsInJlYWxtIjoiMmVkOGJhNTktNjQ3OS00YTE0LTg5YTYtOGU4YjIyNmRiNDZjIiwiY2lzX3V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJyZWZlcmVuY2VfaWQiOiIxMGMzODk5Zi0wNDM4LTQ1ZGEtOWE2ZC1lMjU1ZDk5YjgyMzIiLCJpc3MiOiJodHRwczpcL1wvaWRicm9rZXIud2ViZXguY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FYbVK7ZPZ_LRUgPDRi8T27JIbYcn0En4fNBFH3-Ed5-AzFFH4lM3maIkBw9iBd3Wkpz4e_aqt0PEGqHbxR-OQ refreshToken=NWQxZjY3MjItMjE3NC00ODQxLWIzN2UtOWYwZWVmMzE0ZjBkYzczODNiMDItYjFi refreshTokenExpiresIn=5183999 accountExpiration=272

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: squared-fusion-mgmt:management> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: squared-fusion-mgmt:management,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:14:35 INFO  ConnectorImpl:520 - Connector[cs_context]: state change from UNREGISTERED to REGISTERED

2016-06-06 12:14:43 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:45 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:45 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:45 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:45 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 1b7c59c0-25c6-4985-883a-a97fc29a8e23

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:45 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:58 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:05 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:05 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:05 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:05 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 7fd309cf-fe06-46fc-ae73-d8919150c54a

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:05 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:05 INFO  HeartBeatDaemon:116 - HeartBeatTask Sending: {"id":"cs_context@b46bc400-4c9b-407a-a6ec-3ed5ced33249","serial":"b46bc400-4c9b-407a-a6ec-3ed5ced33249","host_name":"FRDOYLE-WS02/10.98.109.166","connector_type":"cs_context","cluster_id":"3ec9e881-1ac8-4398-af24-db4228b8813c","cluster_name":"custom-context-15525A8BE53","version":"1.0.7-10011","status":{"state":"running","startTimestamp":0}}

2016-06-06 12:15:13 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:25 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:25 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:25 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:25 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request aa2435f7-3995-4649-842c-60cbaceba80f

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:25 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:28 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:35 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:39 INFO  RetryExec:96 - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://discovery.rciad.ciscoccservice.com:443: The target server failed to respond

2016-06-06 12:15:39 INFO  RetryExec:112 - Retrying request to {s}->https://discovery.rciad.ciscoccservice.com:443

2016-06-06 12:15:44 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:45 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:45 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:45 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:45 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 7ab3b5c7-b3bc-4f19-bc5f-e967fe5badb4

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:45 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:59 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:05 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:16:05 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:16:05 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:16:05 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request b79a9089-35c0-445d-a364-328823612fbe

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:16:05 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:14 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.Schedul

2016-06-06 12:13:40 INFO  Import$Arguments:353 - Arguments- Flush: false, Directory: C:\Users\frdoyle\pods, Connection String: eyJhcHBsaWNhdGlvblR5cGUiOiJjdXN0b20iLCJkaXNjb3ZlcnlVcmwiOiJkaXNjb3ZlcnkucmNpYWQuY2lzY29jY3NlcnZpY2UuY29tIiwiaWRlbnRpdHlCcm9rZXJVcmwiOiJpZGJyb2tlci53ZWJleC5jb20iLCJmbXNVcmwiOiJoZXJjdWxlcy1hLndieDIuY29tIiwiY29sbGFiTWFuYWdlbWVudFVybCI6Imh0dHBzOi8vYWRtaW4uY2lzY29zcGFyay5jb20iLCJjbHVzdGVyIjp7ImNsdXN0ZXJJZCI6IjNlYzllODgxLTFhYzgtNDM5OC1hZjI0LWRiNDIyOGI4ODEzYyIsImNsdXN0ZXJOYW1lIjoiY3VzdG9tLWNvbnRleHQtMTU1MjVBOEJFNTMifSwiY3JlZGVudGlhbHMiOnsibmFtZSI6ImZ1c2lvbi1tZ21udC0wNTIyYzRmOC1lMjM5LTRjZmEtYTc5OS1jZjNjYTY5NGMzMGMiLCJwYXNzd29yZCI6ImFhQkIxMiRkYjBlNTM0Yi1hMWRiLTRmYzEtYjdjZC0wZGU0ZjE1ZWFmZjQiLCJvcmdJZCI6IjJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2YyIsImxvY2F0aW9uIjoiaHR0cHM6Ly9pZGVudGl0eS53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2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kiLCJtYWNoaW5lQWNjb3VudExvY2F0aW9uIjoiaHR0cHM6Ly9pZGVudGl0eS53ZWJleC5jb20vb3JnYW5pemF0aW9uLzJlZDhiYTU5LTY0NzktNGExNC04OWE2LThlOGIyMjZkYjQ2Yy92MS9NYWNoaW5lcy9jMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJpZCI6ImMyYzFiMDdhLWJiOGMtNDIwMy1iMTlhLTdjMTgwNjQ0ZTc1OSIsImNpc1V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJjbGllbnRJZCI6IkNkYWU5ZTJhYzViNmZiODAwYTU2Yjk3MGU4MzZjMGM1Y2E4NGNhOTZkMWEzZmE2ODFmOGI0YzdhZTM1ZTVhZmI4IiwiY2xpZW50U2VjcmV0IjoiYzEzOGJkNWJiZTkxM2FhYmE3MTViNGZhNDY2ZjEwZWEwZDUzZGU3YWVlNDBkODM0MWEyMjgxZjkyZDM4ZmYzZCJ9fQ==

2016-06-06 12:13:43 INFO  ConnectorFactory:219 - Current path :C:\Users\frdoyle\workspace\CSImport\.

2016-06-06 12:13:43 INFO  ConnectorFactory:317 - loadConfigurations path :C:\Users\frdoyle\workspace\CSImport\connector.property

2016-06-06 12:13:45 INFO  ConnectorFactory:254 - Loading extensions from jarPath :C:\Users\frdoyle\workspace\CSImport\plugin\context-service-sdk-extension-1.0.7.jar

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.ManagementConnectorImpl@e95595b

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.connector.impl.RegisteringApplicationImpl@25a7fedf

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:62 - loading new implClass in ConnectorProxyInvocationHandler = com.cisco.thunderhead.client.ContextServiceClientImpl@7c281eb8

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:67 - Getting cached init params and connector state

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:76 - Getting attaching update listener and setting connector state

2016-06-06 12:13:46 INFO  SoftwareUpdateImpl:57 - Setting connector state from previous version

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:121 - Ignoring initializing new connector because cached parameters are empty

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:88 - Swapping versions

2016-06-06 12:13:46 INFO  ConnectorProxyInvocationHandler:91 - Versions are swapped

2016-06-06 12:13:46 INFO  ConnectorFactory:289 - ConnectorFactory.resetPluginManager - completed oldPluginManager shutdown

2016-06-06 12:13:46 INFO  ConnectorFactory:291 - ConnectorFactory.resetPluginManager - done

ContextServiceClient version :  1.0.7-10011

2016-06-06 12:13:48 INFO  ContextServiceClientImpl:88 - Initializing system with params.  Timeouts: 10000 Retries: 2 Lab Mode: true

2016-06-06 12:13:49 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:13:50 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:269 - Fetcher:getAccessTokenResponse <main>: new token retrieved CIS time: 1705 mlSec. Response: expiresIn=7199 tokenType=Bearer accessToken=eyJhbGciOiJSUzI1NiJ9.eyJleHBpcnlfdGltZSI6MTQ2NTIzNjgzMDA3OSwidXNlcl90eXBlIjoibWFjaGluZSIsInJlYWxtIjoiMmVkOGJhNTktNjQ3OS00YTE0LTg5YTYtOGU4YjIyNmRiNDZjIiwiY2lzX3V1aWQiOiJjMmMxYjA3YS1iYjhjLTQyMDMtYjE5YS03YzE4MDY0NGU3NTkiLCJyZWZlcmVuY2VfaWQiOiJjYTBiOTBjMS02OGRlLTRjNzYtYjQ3OC1kZDQwZTg3ZTU3NGIiLCJpc3MiOiJodHRwczpcL1wvaWRicm9rZXIud2ViZXguY29tXC9pZGIiLCJ0b2tlbl90eXBlIjoiQmVhcmVyIiwiY2xpZW50X2lkIjoiQ2RhZTllMmFjNWI2ZmI4MDBhNTZiOTcwZTgzNmMwYzVjYTg0Y2E5NmQxYTNmYTY4MWY4YjRjN2FlMzVlNWFmYjgiLCJ0b2tlbl9pZCI6IllqazFNbUUxTmpJdFlUTmlaQzAwWTJKakxXRmtNR0l0TTJNNVlqRTJNamt4TkRKaU9URm1aV000TWpRdE5ESTIiLCJwcml2YXRlIjoiZXlKaGJHY2lPaUprYVhJaUxDSmpkSGtpT2lKS1YxUWlMQ0psYm1NaU9pSkJNVEk0UTBKRExVaFRNalUySW4wLi5ycWl5UVBlMzd2Q0FGSGhpbzRLaWxBLlZ0ZUkxcjVldEs1U1Vzc2M2OGpkeGtUNHJwTlNsQWFheWxQXzVVRkV0UzllY3VfblBudWdqaXhsbXdOZ0RBUFB3bzRKN3YxQ2pIZ0JSWUhrWEgySjhfSFl6dHB3NWt3SS10dWVYakZQYzA5cTduQl9XbDRkWnNxdjFGMndKck9kQWxoMENiTlpVSXdGWjRTS01zc2QyQS1SSFZHZUtOQ1BfS2ZwcHZDMTQxb3Izc1J6c09DV2ZCRkxPNmpoQ04yWTUxa2NTalJnUmpFV0JMd3Z5NzFOZEt4YUVJX1hIaldERG92MHQwc0kyampZclZLLWowdTZWV1pKREVGNDZFdDdZSE1hZXBUVF8yRURYdEhoTmllb09RLnBqVUQ1VVJiQ0VHeXZrLWJybTV5a1EiLCJ1c2VyX21vZGlmeV90aW1lc3RhbXAiOiIyMDE2MDYwNjEyMjEwNS4yNjJaIn0.eAZLricn3M034Jz677akhqklJ4LZN4bnAXeK1fwgBCxtIptT55E1iqGr7TDAEwMmUxISIGfGhz9N72uP1yshX0p2Af-l8EUjWOn2CXE9X7vFJN7BCfy0XYHQYb7KQu0VOVowAsLE3DsEJccgYfSQ73rpOQRVmeTNjiKL1cNvOi5HaotvI9KKjG_ZRxR7gbAPCkYKI2QHviiXveauTlWOwgp5wEmzOt1v-M66CLmQS_e6zWf87tikttYcRJRBoYx--1yiymu7WqDcPY3KYOL367J5YJ62Eov3V2iXwwQKasrV70uox3-YqApL2Fu8kTqYKeRGzzd5Qsi9gNQK5JkOGg refreshToken=MjRlMGM1NjAtYWYxMS00NGRiLWExNDctNTVlMmY5NmNmMzk2MDI2MGRiNDQtZjc5 refreshTokenExpiresIn=5183922 accountExpiration=272

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: contact-center-context:pod_read contact-center-context:pod_write> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:51 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: contact-center-context:pod_read contact-center-context:pod_write,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:126 - Found Endpoints:

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - context: 1:https://context-service.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - dictionary: 1:https://dictionary.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - eventing: 1:https://eventing.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - kms: 1:https://encryption-a.wbx2.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:129 - management: 1:https://management.rciad.ciscoccservice.com

2016-06-06 12:13:51 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: management host found management.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  Utils:173 - Found feature: KMS_ENCRYPTION_KEY

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: dictionary host found dictionary.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: eventing host found eventing.rciad.ciscoccservice.com

2016-06-06 12:13:52 INFO  ContextServiceClientImpl:262 - ContextServiceEncryptionClient: kms host found encryption-a.wbx2.com

2016-06-06 12:13:53 INFO  KmsManager:166 - Feature KMS_ENCRYPTION_KEY is enabled.

2016-06-06 12:13:53 INFO  KmsSecureChannel:169 - Attempting to establish KMS secure channel with device ID 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:13:53 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:13:53 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:269 - Fetcher:getAccessTokenResponse <main>: new token retrieved CIS time: 350 mlSec. Response: expiresIn=7199 tokenType=Bearer accessToken=eyJhbGciOiJSUzI1NiJ9.eyJleHBpcnlfdGltZSI6MTQ2NTIzNjgzMjgzOSwidXNlcl90eXBlIjoibWFjaGluZSIsInJlY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2MDYwNjEyMjEwNS4yNjJaIn0.FVHfTuqw0RbD-CYTWBr1VObm6s5Ccz0fQ_xa-hHUm_Y6VlWi60t9OVHkI7Zw2hqBbzJWJDIHDgwTPW8dpLwi36iVs3rXOZQtAcqwFtl6uJyRJtjUJ-MhkSGH0AgcwTG4sjtcX6zx9MZxtsc1JMkNfy4nND-gqBD0zWoe_3RwsPOY6PTDLhMZy6aF_YPF2cEGwACHapDHNNsMF6A02jD58SK4q34EbqlRmuqRxl3kFZe-iM9uCZJW1S2mcU0W4QiO9tp6xE3QFjn5fueZC4n0cp6pa16NuH_7ar1hx6_K7Ey7agkM8159OqjFwQ8GhmoEG-WTW-xxuHUNfk77yEnvCQ refreshToken=NmExMzc3ZGEtNzgwMC00ZDk0LWIxNjAtMjkwZGQ1OTc4ZTNhMWUxZGRlMzEtMjdm refreshTokenExpiresIn=5183999 accountExpiration=272

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: webex-squared:kms_read webex-squared:kms_write webex-squared:kms_bind> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:53 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: webex-squared:kms_read webex-squared:kms_write webex-squared:kms_bind,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:13:55 INFO  KmsSecureChannel:499 - Successfully retrieved public key from KMS

2016-06-06 12:13:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:07 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:07 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:07 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:07 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request d07bfcb4-c9f6-4b4c-b34e-1e2555d45c98

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:07 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:13 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:25 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:25 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:25 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:25 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request fbed4837-fba8-48ec-9e94-452b7829ac35

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:25 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:28 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:33 WARN  KmsManager:229 - After 20000 milliseconds, kmsManager is still not initialized!

2016-06-06 12:14:33 INFO  ContextServiceClientImpl:180 - **** Context Service Client Initialization Complete. ****

2016-06-06 12:14:34 INFO  OAuthTokenFetcherUtils:135 - Retrieving SAML Bearer Assertion

2016-06-06 12:14:35 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:35 INFO  OAuthTokenFetcherUtils:166 - Exchanging SAML Bearer Assertion for access token.

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:269 -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ByZ2FJeFdVd1pjcVJ6LXlZZ1FUamd2RWV3bXA0d0h3eDljWmsuSUo0OUN1Rlg3Y3JtWDVrQmQwU1ByQSIsInVzZXJfbW9kaWZ5X3RpbWVzdGFtcCI6IjIwMTYwNjA2MTIyMTA1LjI2MloifQ.ez3T2d4UTZokqPMo16vUkxg8vFAbA2i6fgB5YUlVnSHyslLKtk_fdFSkBN6b3PwKmUnK_a5NbjoXcFiVvhZNIcSWAlGnbMbRYZhVQXbUa5vOgwYyiOuAyU_zFj2jsoX8ucyF79miQAvvvDq2CU6V7dq9ywOD-F-Gkk_Y708kdjF61VDQlMjUu2AzgrD6LR65TWEfqAVOJyDQYLg7W1pDHusoOZXQiXRUtsUknXlLfLJKZk3joNuknsOeDvCzF7G8AFYbVK7ZPZ_LRUgPDRi8T27JIbYcn0En4fNBFH3-Ed5-AzFFH4lM3maIkBw9iBd3Wkpz4e_aqt0PEGqHbxR-OQ refreshToken=NWQxZjY3MjItMjE3NC00ODQxLWIzN2UtOWYwZWVmMzE0ZjBkYzczODNiMDItYjFi refreshTokenExpiresIn=5183999 accountExpiration=272

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:405 - Starting refresh token <scopes: squared-fusion-mgmt:management> task for clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:14:35 INFO  OAuthTokenFetcher:415 - Token refresh task successfully started for scopes: squared-fusion-mgmt:management,  clientID: Cdae9e2ac5b6fb800a56b970e836c0c5ca84ca96d1a3fa681f8b4c7ae35e5afb8

2016-06-06 12:14:35 INFO  ConnectorImpl:520 - Connector[cs_context]: state change from UNREGISTERED to REGISTERED

2016-06-06 12:14:43 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:45 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:14:45 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:45 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:14:45 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 1b7c59c0-25c6-4985-883a-a97fc29a8e23

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:14:45 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:14:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:14:58 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:05 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:05 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:05 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:05 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 7fd309cf-fe06-46fc-ae73-d8919150c54a

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:05 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:05 INFO  HeartBeatDaemon:116 - HeartBeatTask Sending: {"id":"cs_context@b46bc400-4c9b-407a-a6ec-3ed5ced33249","serial":"b46bc400-4c9b-407a-a6ec-3ed5ced33249","host_name":"FRDOYLE-WS02/10.98.109.166","connector_type":"cs_context","cluster_id":"3ec9e881-1ac8-4398-af24-db4228b8813c","cluster_name":"custom-context-15525A8BE53","version":"1.0.7-10011","status":{"state":"running","startTimestamp":0}}

2016-06-06 12:15:13 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:25 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:25 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:25 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:25 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request aa2435f7-3995-4649-842c-60cbaceba80f

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:25 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:28 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:35 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:39 INFO  RetryExec:96 - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://discovery.rciad.ciscoccservice.com:443: The target server failed to respond

2016-06-06 12:15:39 INFO  RetryExec:112 - Retrying request to {s}->https://discovery.rciad.ciscoccservice.com:443

2016-06-06 12:15:44 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:45 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:15:45 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:45 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:15:45 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request 7ab3b5c7-b3bc-4f19-bc5f-e967fe5badb4

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:15:45 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:15:55 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

2016-06-06 12:15:59 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:05 INFO  RESTClient:1133 - Error on CREATE: https://encryption-a.wbx2.com/encryption/api/v1/kms/messages?synchronous=true

2016-06-06 12:16:05 ERROR RESTClient:940 - Error:  try #2: Exception trying to connect=com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:16:05 WARN  RESTClient:944 - Retrying to connect. Previous attempt (try #2 failed: java.net.SocketTimeoutException: Read timed out

2016-06-06 12:16:05 ERROR KmsSecureChannel:312 - Unexpected exception submitting KMS request b79a9089-35c0-445d-a364-328823612fbe

ApiError with errorType: timeoutRequest, errorData: 2, errorMessage: Request timed out

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.RESTClient.handleClientException(RESTClient.java:951)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:499)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:278)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0(Native Method)

    at java.net.SocketInputStream.socketRead(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at java.net.SocketInputStream.read(Unknown Source)

    at sun.security.ssl.InputRecord.readFully(Unknown Source)

    at sun.security.ssl.InputRecord.read(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

    at sun.security.ssl.AppInputStream.read(Unknown Source)

    at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)

    at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)

    at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

    at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)

    at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)

    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)

    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:117)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)

    at com.sun.jersey.api.client.Client.handle(Client.java:652)

    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)

    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)

    at com.cisco.thunderhead.RESTClient.create(RESTClient.java:484)

    ... 10 more

2016-06-06 12:16:05 ERROR KmsSecureChannel:562 - Failure establishing KMS ephemeral key

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS request failed

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.transmitRequest(KmsSecureChannel.java:314)

    at com.cisco.thunderhead.kms.KmsSecureChannel.access$900(KmsSecureChannel.java:49)

    at com.cisco.thunderhead.kms.KmsSecureChannel$NegotiateEphemeralKey.run(KmsSecureChannel.java:533)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:14 WARN  KmsManager:325 - Unable to load hashing salt key https://encryption-a.wbx2.com/encryption/api/v1/keys/ac9a1fcb-e323-4249-91fe-d9b390784493

ApiError with errorType: kmsError.failedRequest, errorData: , errorMessage: KMS secure channel has not been established.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.getApiException(ApiExceptionFactory.java:78)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:113)

    at com.cisco.thunderhead.errors.ApiExceptionFactory.generateApiException(ApiExceptionFactory.java:95)

    at com.cisco.thunderhead.kms.KmsSecureChannel.submitRequest(KmsSecureChannel.java:230)

    at com.cisco.thunderhead.kms.KmsActor.getKey(KmsActor.java:203)

    at com.cisco.thunderhead.kms.KmsManager.loadSaltValue(KmsManager.java:320)

    at com.cisco.thunderhead.kms.KmsManager.tryInitialize(KmsManager.java:290)

    at com.cisco.thunderhead.kms.KmsManager$InitializeCache.run(KmsManager.java:272)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

edThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

2016-06-06 12:16:15 INFO  KmsSecureChannel:532 - Submitting request to establish KMS ephemeral key for device 04790885-28c4-4223-8a83-e05aa2619045

Make sure you have the static pom dependencies in place.  All the needed jar files are specified in that pom file.  Which version of context-service SDK extension jar are you using (context-service-sdk-extension-x.x.x.jar) ?

I just saw your new reply. You got a lot of KMS errors. Now, could you restart your app? Cisco Spark KMS server seemed down a few minutes ago. We cannot connect to KMS as well for a little while.

Ok, in the meantime, do you have example of customer.json, request.json and pod.json that I can use to test?

thanks,

Fred

Hi Fred,

We don't really have sample json files that you can use to test your app. A lot of fields of a pod/customer/request are encrypted using a specific KMS key. And each org has its own keys. The best way is to use CC SDK API calls (e.g. to create a pod). You may need to review SDK GUIDE (https://context-service-downloads.rciad.ciscoccservice.com/doc/latest/SDKGuide/) where you can find the sample code.

Wade