Molecule not communicating with platform Logs contain error messages: Error setting up signature missing private key

Document created by mike_aronson Employee on Feb 27, 2014
Version 1Show Document
  • View in full screen mode
Molecule is not communicating with Boomi platform. Repeated errors appear in the container logs with large Attempt: #'s and include messages like: 

java.lang.IllegalStateException: Error setting up signature. 

and 

java.lang.IllegalStateException: missing private key

For example:


Mon DD, YYYY HH:MM:SS AM PST SEVERE [com.boomi.message.SendMessageTask sendMessages] [SendMultiSolrMessageTask[event;Account[account-id] Request: https://platform.boomi.com/container/container-id/account/account-id/track/event Attempt: 100]: Hit retry loop. Executing backoff strategy. 
java.lang.IllegalStateException: Error setting up signature. 
at com.boomi.container.config.ContainerCryptoUtil.sign(ContainerCryptoUtil.java:241) 
at com.boomi.container.config.ContainerCryptoUtil.access$700(ContainerCryptoUtil.java:31) 
at com.boomi.container.config.ContainerCryptoUtil$CryptoContext.sign(ContainerCryptoUtil.java:348) 
at com.boomi.container.config.RequestUtil$1.encode(RequestUtil.java:139) 
at com.boomi.restlet.auth.RestEncodingAuthorizationProvider.formatAuthorizationCredentials(RestEncodingAuthorizationProvider.java:52) 
at com.boomi.restlet.auth.RestEncodingAuthorizationProvider.getChallengeResponse(RestEncodingAuthorizationProvider.java:28) 
at com.boomi.restlet.client.RequestUtil.formatRequest(RequestUtil.java:335) 
at com.boomi.restlet.client.RequestUtil$3.createRequest(RequestUtil.java:244) 
at com.boomi.restlet.client.ClientUtil.handle(ClientUtil.java:40) 
at com.boomi.message.SendMessageTask.sendMessageBatch(SendMessageTask.java:331) 
at com.boomi.message.SendMessageTask.sendMessages(SendMessageTask.java:263) 
at com.boomi.message.SendMessageTask.run(SendMessageTask.java:178) 
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) 
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) 
at com.boomi.util.ExecutorUtil$TimerRepeatableScheduledFuture.run(ExecutorUtil.java:898) 
at com.boomi.util.ExecutorUtil$TimerScheduledTask.run(ExecutorUtil.java:829) 
at java.util.TimerThread.mainLoop(Unknown Source) 
at java.util.TimerThread.run(Unknown Source) 
Caused by: java.lang.IllegalStateException: missing private key 
at com.boomi.container.config.ContainerCryptoUtil$CryptoContext.getPrivateKey(ContainerCryptoUtil.java:312) 
at com.boomi.container.config.ContainerCryptoUtil$CryptoContext.access$200(ContainerCryptoUtil.java:296) 
at com.boomi.container.config.ContainerCryptoUtil.sign(ContainerCryptoUtil.java:238) 
... 18 more
This situation can occur if the molecule nodes are unable to access needed files on the fileshare to securely communicate with platform.boomi.com.

In the molecule installation directory, go to the conf/ folder and check the start.properties file. 

If the start.properties file contains a local machine path, it may need to be changed to a UNC path so that the nodes can access the fileshare across your network.

For example, if the start.properties file contains the first two lines like this:

com.boomi.container.trustStorePassword=C\:\\Program Files\\Boomi AtomSphere\\Atom - MY_ATOM\\conf\\truststore
com.boomi.container.keyStoreLocation=C\:\\Program Files\\Boomi AtomSphere\\Atom - MY_ATOM\\conf\\keystore

change them to something like this:

com.boomi.container.trustStorePassword=\\\\filesharehostpath\\Boomi AtomSphere\\Atom - MY_ATOM\\conf\\truststore
com.boomi.container.keyStoreLocation=\\\\filesharehostpath\\Boomi AtomSphere\\Atom - MY_ATOM\\conf\\keystore

where filesharehostpath is a UNC mounted path that is accessible from the nodes.

(the extra backslashes in the paths above are needed because the syntax for the backslash character needs to be escaped with a backslash in order for Java to interpret the path syntax correctly..  so 

Java interpets \\\\filesharehostpath\\Boomi AtomSphere\\Atom - MY_ATOM\\conf\\keystore as the real UNC path: \\filesharehostpath\Boomi AtomSphere\Atom - MY_ATOM\conf\keystore )

Be sure to Restart the atom nodes after making this change and verify that the molecule nodes are clustering per the guidance at these links:

http://help.boomi.com/atomsphere/GUID-AA6D2D0A-F689-4690-8964-17381F395C7D.html
http://help.boomi.com/atomsphere/GUID-1D2F16DA-E27E-42ED-B9A9-227E0139DA8F.html
http://help.boomi.com/atomsphere/GUID-798888B5-3B15-44A9-8700-FD7737A2461F.html


Also verify that the molecule is communicating with the platform by viewing the logs and by executing test processes on the molecule from Manage -> Process Reporting and verify the executions show up in Process Reporting.
2 people found this helpful

Attachments

    Outcomes