-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to specify custom websocket ports #1071
Comments
My initial strategy was to tackle this as part of
|
The strategy I took instead was to do a look-ahead into the provisioning file so that this information would be availble at install time before hte For usage, see https://qz.io/docs/command-line#system-properties, specifically:
... which can be set directly in websocket.secure.ports=9191,9292
websocket.insecure.ports=9192,9293 ... or via environment: setx QZ_OPTS "-Dwebsocket.secure.ports=9191,9292 -Dwebsocket.insecure.ports=9192,9293" Start QZ Tray and ensure that you can access the new about page at https://localhost:9191 Note: Any calls to qz.websocket.connect({port: {secure: [9191,9292], insecure: [9192,9293]}}); WARNING: If a firewall is active, you may need to whitelist the ports. This feature will be available starting with QZ Tray 2.2.4. |
Excellent news!
What would the simplest method for shipping company-branded installers (to
customers, not devs) that use a custom set of ports be? Roughly when is
2.2.4, and therefore this feature expected to be available on the
company-branded portal?
I appreciate you fast-tracking this feature greatly. Thanks.
…On Mon, May 6, 2024 at 7:16 PM Tres Finocchiaro ***@***.***> wrote:
An alternative option is to provide the ability for a property to be
picked up during installation (similar to Provisioning support #1190
<#1190>). This is possible, but will
require some additional thoughts/planning.
The strategy I took instead was to do a look-ahead into the provisioning
file so that this information would be availble at install time before hte
qz-tray.properties file is created.
For usage, see
https://github.com/qzind/tray/wiki/Command-Line#system-properties
—
Reply to this email directly, view it on GitHub
<#1071 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKKGKZ4MSBWMZ6TL44ROV4DZBAFNBAVCNFSM6AAAAAATYIJQ2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGA4DCMJRGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Company-Branded has access to features immediately, however baking custom ports directly into the installer is currently held behind a backlogged feature of provisioning to be written for our portal: https://qz.io/docs/provisioning Mockup here, if curious. |
Probably using provisioning, once ready. Otherwise customers would have to edit the properties manually, which most end users would not be comfortable doing. |
Currently QZ Tray has its ports hard-coded (e.g. 8181), but certain use-cases (such as embedding it into another application) may prefer this to be changed to allow it to co-exist with QZ Tray proper.
tray/src/qz/common/Constants.java
Lines 108 to 110 in 0e151fb
Note: JavaScript already allows this:
tray/js/qz-tray.js
Lines 1085 to 1088 in b6849b2
The text was updated successfully, but these errors were encountered: