QZ tray not starting throwing PKIX path building failed error

264 views
Skip to first unread message

prath...@gmail.com

unread,
Nov 23, 2020, 8:03:37 PM11/23/20
to qz-print
Hi Tres,
We are trying to start Qz tray application using the following command.

java -Xms512M -Xmx1024M -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"


I am getting the follow error:

javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)

        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:350)

        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:293)

        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:288)

        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654)

        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)

        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)

        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.HandshakeContext.dispatch(HandshakeContext.java:422)

        at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:183)

        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171)

        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1408)

        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1314)

        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)

        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)

        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)

        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)

        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)

        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)

        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)

        at java.base/java.net.URL.openStream(URL.java:1140)

        at qz.common.AboutInfo.findLatestVersion(Unknown Source)

        at qz.ui.AboutDialog.checkForUpdate(Unknown Source)

        at qz.ui.AboutDialog.initComponents(Unknown Source)

        at qz.ui.AboutDialog.setServer(Unknown Source)

        at qz.common.TrayManager.setServer(Unknown Source)

        at qz.ws.PrintSocketServer.runServer(Unknown Source)

        at qz.ws.PrintSocketServer.main(Unknown Source)

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


The QZ tray  version is 2.1.2 + 11 and Java version is as follows

openjdk version "11.0.9" 2020-10-20

OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11)

OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+11, mixed mode)


Request you to let me know these versions are compatible, as we assume this certificate issue is due to java not able to read the certificate. 


Regards,

Pratap

Tres Finocchiaro

unread,
Nov 23, 2020, 9:42:01 PM11/23/20
to prath...@gmail.com, qz-print
Hi,

This should be a checked exception and shouldn't prevent the software from loading.


... however the subject implies that QZ Tray is not working at all.

> QZ tray not starting

Can you please provide the full logs?

In regards to AdoptOpenJDK11 and QZ Tray, yes they're compatible. 

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/97bac4c0-ef97-42f1-9290-65148bcb030bo%40googlegroups.com.

prath...@gmail.com

unread,
Nov 24, 2020, 11:22:16 AM11/24/20
to qz-print
Hi tres,
i have copied the full log with this mail.

2020-11-23 18:18:30,757 [DEBUG] Using qz.printer.action.PrintPDF to print
2020-11-23 18:18:30,768 [DEBUG] Searching for PrintService matching Zebra ZC300 USB Card Printer
2020-11-23 18:18:30,769 [DEBUG] Found 12 printers
2020-11-23 18:18:30,770 [DEBUG] Found match: Zebra ZC300 USB Card Printer
2020-11-23 18:18:48,606 [ERROR] Connection error
java.lang.RuntimeException: Cannot call method public void qz.ws.PrintSocketClient#onMessage(org.eclipse.jetty.websocket.api.Session, java.io.Reader) with args: [org.eclipse.jetty.websocket.common.WebSocketSession, org.eclipse.jetty.websocket.common.message.MessageReader]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntimeException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.pdfbox.io.ScratchFile.<init>(ScratchFile.java:128)
at org.apache.pdfbox.pdmodel.PDDocument.<init>(PDDocument.java:185)
at org.apache.pdfbox.pdmodel.PDDocument.<init>(PDDocument.java:171)
at org.apache.pdfbox.multipdf.Splitter.createNewDocument(Splitter.java:208)
at org.apache.pdfbox.multipdf.Splitter.createNewDocumentIfNecessary(Splitter.java:175)
at org.apache.pdfbox.multipdf.Splitter.processPage(Splitter.java:226)
at org.apache.pdfbox.multipdf.Splitter.processPages(Splitter.java:149)
at org.apache.pdfbox.multipdf.Splitter.split(Splitter.java:84)
at qz.printer.action.PrintPDF.parseData(Unknown Source)
at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source)
at qz.ws.PrintSocketClient.processMessage(Unknown Source)
at qz.ws.PrintSocketClient.onMessage(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
... 5 more
2020-11-23 18:18:48,609 [ERROR] Connection error
java.lang.RuntimeException: Cannot call method public void qz.ws.PrintSocketClient#onMessage(org.eclipse.jetty.websocket.api.Session, java.io.Reader) with args: [org.eclipse.jetty.websocket.common.WebSocketSession, org.eclipse.jetty.websocket.common.message.MessageReader]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntimeException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.desktop/java.awt.print.Paper.clone(Paper.java:110)
at java.desktop/java.awt.print.PageFormat.getPaper(PageFormat.java:281)
at java.desktop/sun.awt.windows.WPrinterJob.getDefaultPage(Native Method)
at java.desktop/sun.awt.windows.WPrinterJob.defaultPage(WPrinterJob.java:765)
at java.desktop/java.awt.print.PrinterJob.defaultPage(PrinterJob.java:390)
at java.desktop/java.awt.print.PrinterJob.getPageFormat(PrinterJob.java:413)
at qz.printer.action.PrintPDF.print(Unknown Source)
at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source)
at qz.ws.PrintSocketClient.processMessage(Unknown Source)
at qz.ws.PrintSocketClient.onMessage(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
... 5 more
2020-11-23 18:18:49,882 [INFO] Starting printing (1 copies)
2020-11-23 18:18:50,577 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:51,115 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:51,559 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:51,577 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:52,004 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:52,013 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:52,367 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,088 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,356 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,363 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,621 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,630 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,924 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:53,940 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:54,226 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:54,243 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,064 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,082 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,365 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,365 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,666 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,666 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:55,951 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:56,520 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:56,783 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:56,799 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:57,103 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:57,121 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:57,420 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:58,066 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:58,389 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:58,389 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:58,737 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:58,752 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:59,022 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:59,037 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:59,856 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:18:59,872 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:00,177 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:00,193 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:00,975 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:00,975 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:01,229 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:01,229 [DEBUG] Paper area: 0,0:468,288
2020-11-23 18:19:01,478 [INFO] Connection closed: 1005 - null
2020-11-23 18:19:01,478 [INFO] Closing all communication channels for Toyota
2020-11-23 18:19:31,529 [WARN] QueuedThreadPool[qtp1844334363]@6dee4f1b{STOPPING,8<=0<=200,i=10,r=-1,q=2}[NO_TRY] Couldn't stop Thread[qtp1844334363-86,5,main]
2020-11-23 18:19:31,529 [WARN] The web socket server is no longer running
2020-11-23 18:21:23,097 [INFO] Try to find SSL properties file...
2020-11-23 18:21:23,620 [INFO] Found C:\Program Files\QZ Tray/qz-tray.properties
2020-11-23 18:21:23,620 [DEBUG] Executing: [net, session]
2020-11-23 18:21:23,883 [INFO] Wrote Cert: "C:\Users\416660\AppData\Local\Temp\root-ca-14350885128045557768.crt"
2020-11-23 18:21:23,899 [INFO] Opening USER store using Crypt32...
2020-11-23 18:21:23,921 [DEBUG] Parsed hostNames: localhost, localhost.qz.io
2020-11-23 18:21:23,921 [INFO] Email address sup...@qz.io found, assuming CertProvider is INTERNAL
2020-11-23 18:21:23,921 [DEBUG] Executing: [CheckNetIsolation.exe, LoopbackExempt, -a, -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe]
2020-11-23 18:21:24,084 [INFO] Starting QZ Tray 2.1.2+11
2020-11-23 18:21:26,634 [DEBUG] Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
2020-11-23 18:21:26,634 [INFO] Loading CRL from https://crl.qz.io
2020-11-23 18:21:26,684 [DEBUG] Checking for .autostart preference in user directory C:\Users\416660\AppData\Roaming\qz...
2020-11-23 18:21:26,688 [DEBUG] Checking for .autostart preference in shared directory C:\ProgramData\qz...
2020-11-23 18:21:27,851 [WARN] Unable to access CRL from https://crl.qz.io, javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2020-11-23 18:21:28,360 [DEBUG] Checking for a running instance of QZ Tray on port 8283
2020-11-23 18:21:28,792 [DEBUG] Checking for a running instance of QZ Tray on port 8384
2020-11-23 18:21:29,245 [DEBUG] Checking for a running instance of QZ Tray on port 8485
2020-11-23 18:21:29,862 [ERROR] Failed to get latest version info
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
at java.base/sun.security.validator.Validator.validate(Validator.java:264)
at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
... 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 30 more
2020-11-23 18:21:30,094 [INFO] Server started on port(s) 8182, 8181
2020-11-23 18:22:23,950 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 18:23:13,143 [WARN] The web socket server is no longer running
2020-11-23 18:57:00,850 [INFO] Try to find SSL properties file...
2020-11-23 18:57:01,342 [INFO] Found C:\Program Files\QZ Tray/qz-tray.properties
2020-11-23 18:57:01,347 [DEBUG] Executing: [net, session]
2020-11-23 18:57:01,611 [INFO] Wrote Cert: "C:\Users\416660\AppData\Local\Temp\root-ca-3321745527630118998.crt"
2020-11-23 18:57:01,636 [INFO] Opening USER store using Crypt32...
2020-11-23 18:57:01,651 [DEBUG] Parsed hostNames: localhost, localhost.qz.io
2020-11-23 18:57:01,656 [INFO] Email address sup...@qz.io found, assuming CertProvider is INTERNAL
2020-11-23 18:57:01,657 [DEBUG] Executing: [CheckNetIsolation.exe, LoopbackExempt, -a, -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe]
2020-11-23 18:57:01,811 [INFO] Starting QZ Tray 2.1.2+11
2020-11-23 18:57:03,876 [DEBUG] Using trusted root certificate: CN=qzindustries.com, O=QZ Industries, LLC (8ef2c0b2fe3f75754245b3fb9d54c0caa1b46bb3)
2020-11-23 18:57:03,876 [INFO] Loading CRL from https://crl.qz.io
2020-11-23 18:57:03,913 [DEBUG] Checking for .autostart preference in user directory C:\Users\416660\AppData\Roaming\qz...
2020-11-23 18:57:03,913 [DEBUG] Checking for .autostart preference in shared directory C:\ProgramData\qz...
2020-11-23 18:57:04,603 [WARN] Unable to access CRL from https://crl.qz.io, javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2020-11-23 18:57:05,412 [DEBUG] Checking for a running instance of QZ Tray on port 8283
2020-11-23 18:57:05,846 [DEBUG] Checking for a running instance of QZ Tray on port 8384
2020-11-23 18:57:06,184 [DEBUG] Checking for a running instance of QZ Tray on port 8485
2020-11-23 18:57:06,977 [ERROR] Failed to get latest version info
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
at java.base/sun.security.validator.Validator.validate(Validator.java:264)
at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
... 24 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 30 more
2020-11-23 18:57:07,146 [INFO] Server started on port(s) 8182, 8181
2020-11-23 18:58:01,690 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 19:58:01,725 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 20:58:01,685 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 21:58:01,695 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 22:58:01,708 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-23 23:58:01,686 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 00:58:01,702 [INFO] SSL certificate is still valid for 819 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 01:58:01,686 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 02:58:01,685 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 03:58:01,685 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 04:58:01,688 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 05:58:01,693 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 06:58:01,686 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 07:58:01,709 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 08:58:01,686 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.
2020-11-24 09:58:01,711 [INFO] SSL certificate is still valid for 818 more days: 2023-02-20T19:18Z.  We'll make a new one automatically when needed.

Regards,
Pratap


On Monday, November 23, 2020 at 8:42:01 PM UTC-6, Tres Finocchiaro wrote:
Hi,

This should be a checked exception and shouldn't prevent the software from loading.


... however the subject implies that QZ Tray is not working at all.

> QZ tray not starting

Can you please provide the full logs?

In regards to AdoptOpenJDK11 and QZ Tray, yes they're compatible. 
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.

Tres Finocchiaro

unread,
Nov 24, 2020, 1:29:21 PM11/24/20
to prath...@gmail.com, qz-print
The actual error is Java running out of memory.  The PKIX stuff is benign and unrelated.

This out of memory can have several causes, some of which are low memory availability on the machine, others are a bugged or corrupt PDF file.

The logs don't have any information about what's being sent to the printer, so please provide some information:

  • OS
  • Java version (java -version).  Only 64-bit is supported.
  • Why are you providing -Xmx?  This will limit your upper Java memory limit.  Normally, we only set -Xms (lower limit).
  • Please provide the print command from the logs.  If possible, also the PDF.  If it contains sensitive information, you can remove the mailing list from copy and email it to sup...@qz.io.


2020-11-23 18:18:30,770 [DEBUG] Found match: Zebra ZC300 USB Card Printer
2020-11-23 18:18:48,606 [ERROR] Connection error
java.lang.RuntimeException: Cannot call method public void qz.ws.PrintSocketClient#onMessage(org.eclipse.jetty.websocket.api.Session, java.io.Reader) with args: [org.eclipse.jetty.websocket.common.WebSocketSession, org.eclipse.jetty.websocket.common.message.MessageReader]
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.unwrapRuntimeException(CallableMethod.java:93)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:75)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.OutOfMemoryError: Java heap space

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/316d37c5-8cfb-4ca1-9a57-c4327be3e297o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages