Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on June 25, 2025, 05:44:57 am



Title: Ask Reuben 271 - httpsdispatch
Post by: Reuben B. on June 25, 2025, 05:44:57 am
When using httpdispatch, your test URL will be of the form http://localhost:6394/demos.html which leads to the demo Genero application http://localhost:6394/ua/r/demo. If you are connecting to that from another device e.g. testing a mobile device, by replacing localhost with the IP address of the machine running httpdispatch, then you will be in degraded mode as it is not a Secure Context.  You will see a red badge on the Settings icon, and a message will appear in the Settings screen about the degraded functionality.
 
As per the GAS documentation on httpdispatch, you will see that to run using https, you need to start httpdispatch with two additional arguments –cert-file and –cert-key.

Read more at https://4js.com/ask-reuben/ig-271/