Unable to print from local area network

7 views
Skip to first unread message

Louise Mendoza

unread,
Apr 14, 2026, 10:36:00 PM (9 days ago) Apr 14
to qz-print
Hi QZ,

We have been using QZ Tray for quite some time without any issues; however, today we encountered a problem. Our system is now experiencing an issue where the local IP address used in our code is being blocked by Chrome. When attempting to print from our web application, it indicates that the connection is not secure and prompts us to allow access to local area network devices. We have already granted this permission, but printing still does not work.

Upon checking the Chrome console, we found the following message:
“Connecting to a non-secure WebSocket server from a secure origin is deprecated.”

To be honest, I am not experienced with this issue, and your guidance would be highly appreciated.

We have attached screenshots for your reference.

Thank you

--
Kind Regards
Louise Fernan Mendoza
IT Specialist
Small Lalaguna Sabang beach, Puerto Galera
Oriental Mindoro 5203 Philippines
Web:       www.llv.ph
Mobile:    +63 917 570-3415
Screenshot 2026-04-15 103247.png
Screenshot 2026-04-15 103217.png

Tres Finocchiaro

unread,
Apr 14, 2026, 11:08:56 PM (9 days ago) Apr 14
to Louise Mendoza, qz-print
Yeah.... in short, you'll need to access the site using HTTPS.  Until you can have that switched, you'll have to trick Chrome into thinking it's secure... This is done with the chrome://flags/#unsafely-treat-insecure-origin-as-secure

Add your website there you can get it switched to HTTPS.

Why HTTPS?  Well, starting with Chrome 147 and higher we can FINALLY connect a secure page to the insecure WebSocket port.... This requires ANOTHER change and that's to specify `usingSecure: false`.  https://qz.io/api/qz.websocket#.connect (yeah we've had this around for a while but it was historically blocked).

Hopefully that helps... add the exception for now, fix the website when everyone's on Chrome 147+.

Note, Edge 147 seems to be the same.


--
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 visit https://groups.google.com/d/msgid/qz-print/CAH5s9%3Daf8_A9uEyydKe7v%3DcfHKBBu8FDLGP_tnWjST5DCz%3DsxA%40mail.gmail.com.

Louise Mendoza

unread,
Apr 15, 2026, 4:41:52 AM (9 days ago) Apr 15
to Tres Finocchiaro, qz-print

Hi Tres,

Thank you for the advice. We were able to get the printing working again by adding our website to the allowed list.

Cheers!

Reply all
Reply to author
Forward
0 new messages