Wanted to report a possible bug: Running AltUI v0.100.930 and FW 1.7.690 (7.11 for veralite), on local lan, with only one vera and getting this error when I try to save a new lua start up code.
I checked the controller drop down list and it only shows one entry (local IP of my vera box)
I ended up using the MCV UI7 GUI to update my start up script and it worked fine.
[quote=“LV999, post:1, topic:189884”]Wanted to report a possible bug: Running AltUI v0.100.930 and FW 1.7.690 (7.11 for veralite), on local lan, with only one vera and getting this error when I try to save a new lua start up code.
I checked the controller drop down list and it only shows one entry (local IP of my vera box)
I ended up using the MCV UI7 GUI to update my start up script and it worked fine.
Thanks[/quote]
just tested and works for me, so we need more information :
exact lua startup code ( could be a lenght or character issue )
enabling ALTUI in debug mode
capturing the network traffic ( using chrome & dev tools, network page ) so we see the exchange between ALTUI & VERA box
data_request?id=lr_ALTUI_Handler&command=home&lang=en:1
XMLHttpRequest cannot load http://192.168.1.51/port_49451/upnp/control/hag. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Origin ‘http://192.168.1.51:3480’ is therefore not allowed access. The response had HTTP status code 501.
data_request?id=lr_ALTUI_Handler&command=home&lang=en:1
XMLHttpRequest cannot load http://192.168.1.51/port_49451/upnp/control/hag. Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Origin ‘http://192.168.1.51:3480’ is therefore not allowed access. The response had HTTP status code 501.
[/quote]
I do confirm the issue on remote mode.
but in local mode, to me this is a CORS problem. meaning you are probably using a url like that to access ALTUI
http://192.168.1.16:3480/xx
but you should use
http://192.168.1.16/port_3480/xx
looks the same, but in fact it is not for the browser, as the HAG api ( which is needed to change lua startup ) is on a different port. we will have the issue until VERA accepts CORS request