No onlain synchronization with the controller!

101 views
Skip to first unread message

Tehnoinstyle Aleksey

unread,
Oct 17, 2016, 3:22:00 AM10/17/16
to OpenRemote
Can not synchronize with the controller onlain. I get this error:

Could not initialize class javax.crypto.JceSecurityManager

Only offlain through export .zip file from the designer.

How to fix?

In log:

DEBUG 2016-10-17 10:20:42,905 : Error in releasing connection: Could not initialize class javax.crypto.JceSecurityManager
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2587)
at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2611)
at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:548)
at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:527)
at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:194)
at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:346)
at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:304)
at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:626)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:537)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:72)
at sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:405)
at sun.net.NetworkClient.doConnect(NetworkClient.java:162)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.release(BeehiveCommandCheckService.java:761)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(BeehiveCommandCheckService.java:684)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpRequest(BeehiveCommandCheckService.java:445)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpPost(BeehiveCommandCheckService.java:409)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getControllerIdentity(BeehiveCommandCheckService.java:1265)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getRemoteCommandService(BeehiveCommandCheckService.java:1162)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.run(BeehiveCommandCheckService.java:239)
at java.lang.Thread.run(Thread.java:745)
TRACE 2016-10-17 10:20:42,906 : Unable to retrieve controller identity
org.openremote.controller.exception.ConnectionException: The required password for user '' was not found. Password manager error : User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(BeehiveCommandCheckService.java:689)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpRequest(BeehiveCommandCheckService.java:445)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpPost(BeehiveCommandCheckService.java:409)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getControllerIdentity(BeehiveCommandCheckService.java:1265)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getRemoteCommandService(BeehiveCommandCheckService.java:1162)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.run(BeehiveCommandCheckService.java:239)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openremote.controller.service.Deployer$PasswordException: User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.Deployer.getPassword(Deployer.java:915)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(BeehiveCommandCheckService.java:627)
... 6 more
TRACE 2016-10-17 10:20:42,906 : Unable to retrieve controller identity
org.openremote.controller.exception.ConnectionException: The required password for user '' was not found. Password manager error : User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(BeehiveCommandCheckService.java:689)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpRequest(BeehiveCommandCheckService.java:445)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.httpPost(BeehiveCommandCheckService.java:409)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getControllerIdentity(BeehiveCommandCheckService.java:1265)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.getRemoteCommandService(BeehiveCommandCheckService.java:1162)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.run(BeehiveCommandCheckService.java:239)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openremote.controller.service.Deployer$PasswordException: User credentials were not present, please synchronize the controller with your OpenRemote Designer/Beehive account first.
at org.openremote.controller.service.Deployer.getPassword(Deployer.java:915)
at org.openremote.controller.service.BeehiveCommandCheckService$BeehiveCommandChecker.connect(BeehiveCommandCheckService.java:627)
... 6 more
INFO 2016-10-17 10:20:42,907 : Unable to retrieve controller identity, retrying in 1,000 milliseconds...
INFO 2016-10-17 10:20:42,907 : Unable to retrieve controller identity, retrying in 1,000 milliseconds...



or dis no sinc.png

Tehnoinstyle Aleksey

unread,
Oct 19, 2016, 8:44:40 AM10/19/16
to OpenRemote
I keep getting the same error, and can not synchronize with the controller designer online.

I temporarily removed javax.mail.jar file and all rules associated with it. Then I removed the rule in Designer and saved. Then I tried to synchronize with the Designer online and get the error again (screenshot in the first post).

Earlier all worked well, and the rules with javax.mail.jar also worked. When you have ended the certificate, and I synchronized with a controller offline.

Now I can not synchronize online even without javax.mail.jar file.  I tried to sync with different browsers, does not work.

How to fix it?

понедельник, 17 октября 2016 г., 10:22:00 UTC+3 пользователь Tehnoinstyle Aleksey написал:

Tehnoinstyle Aleksey

unread,
Oct 28, 2016, 6:39:44 AM10/28/16
to OpenRemote
Up

Help me to solve this problem.
I can not synchronize my controller with the designer online.

I can normally go into my account in the designer; I normally make changes in the project; I normally save changes to the project. But I can not synchronize online only through the export file .zip.

Why is this happening? And why does not work sending mail, if it worked properly before?

среда, 19 октября 2016 г., 15:44:40 UTC+3 пользователь Tehnoinstyle Aleksey написал:

Tehnoinstyle Aleksey

unread,
Nov 1, 2016, 6:33:08 AM11/1/16
to OpenRemote
Hi.

When trying to sync the controller I receive this message:

Could not initialize class javax.crypto.JceSecurityManager

How to fix it?
or dis no sinc1.png

Tehnoinstyle Aleksey

unread,
Nov 10, 2016, 9:35:27 AM11/10/16
to OpenRemote
The problem is solved by installing Java7 from repository synocommunity (instead of pcloadletter Java8 package).

If i install Java8 from repository synocommunity, when synchronizing with Designer get an error like this topic:

https://groups.google.com/forum/#!topic/openremotecommunity/rWKJzfNuycY
Reply all
Reply to author
Forward
0 new messages