Article - CS345961

Vuforia Experience Service crashes randomly

Modified: 07-Sep-2021   


Applies To

  • Vuforia Experience Service 8.0.0 N/A to 9.0.4 F000

Description

  • Vuforia Experience Service crashes randomly
  • When installing Vuforia Experience Service, it fails
  • In Vuforia Experience Service log file, these exceptions can be found :
Roles synchronization is aborted due to the error: Error: write EPROTO 7856:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1544:SSL alert number 80

at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16) {
errno: 'EPROTO',
code: 'EPROTO',
syscall: 'write'
}
 

Roles synchronization is aborted due to the error: Error: Client network socket disconnected before secure TLS connection was established

at connResetException (internal/errors.js:609:14)
at TLSSocket.onConnectEnd (_tls_wrap.js:1547:19)
at Object.onceWrapper (events.js:420:28)
at TLSSocket.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1223:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'ECONNRESET',
path: null,
host: '<ThingWorx  server name>',
port: '<port number>',
localAddress: undefined
}

  • In Vuforia Experience Service installation log file, this exception can be found :
YYYY-MM-DDTHH:MM:SS.MSZ tac:public.access.cfg Fatal Error
FATAL Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (internal/errors.js:609:14)
    at TLSSocket.onConnectEnd (_tls_wrap.js:1549:19)
    at Object.onceWrapper (events.js:420:28)
    at TLSSocket.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1241:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  code: 'ECONNRESET',
  path: null,
  host: '<ThingWorx server name>',
  port: <port number>,
  localAddress: undefined
}
  • In Tomcat used by ThingWorx and linked to this Vuforia Experience Service, in catalina.log file, this exception without any callstack is reported :
SEVERE [https-jsse-nio-8443-exec-3] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun Error running socket processor java.lang.NullPointerException
  • In Tomcat, in tomcat-stderr.log file, this exception is reported :
XX-MM-YYYY HH:MM:SS.MS SEVERE [https-jsse-nio-8443-exec-1] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun Error running socket processor
               java.lang.NullPointerException
                              at java.base/sun.security.ssl.HKDF.extract(HKDF.java:93)
                              at java.base/sun.security.ssl.HKDF.extract(HKDF.java:119)
                              at java.base/sun.security.ssl.ServerHello.setUpPskKD(ServerHello.java:1169)
                              at java.base/sun.security.ssl.ServerHello$T13ServerHelloProducer.produce(ServerHello.java:547)
                              at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
                              at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.goServerHello(ClientHello.java:1234)
                              at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.consume(ClientHello.java:1170)
                              at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:852)
                              at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:813)
                              at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
                              at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
                              at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074)
                              at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061)
                              at java.base/java.security.AccessController.doPrivileged(Native Method)
                              at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008)
                              at org.apache.tomcat.util.net.SecureNioChannel.tasks(SecureNioChannel.java:443)
                              at org.apache.tomcat.util.net.SecureNioChannel.handshakeUnwrap(SecureNioChannel.java:507)
                              at org.apache.tomcat.util.net.SecureNioChannel.handshake(SecureNioChannel.java:238)
                              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1567)
                              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                              at java.base/java.lang.Thread.run(Thread.java:834)
  • Exceptions in Tomcat and in Vuforia Experience Service are occuring at the same time
  • OpenJDK is used to run Tomcat
This is a printer-friendly version of Article 345961 and may be out of date. For the latest version click CS345961