DueUI Version 3.2.0-beta stopped working after RR3 V3.2 upgrade
-
I was working with DueUI V3.2.0-beta with RRF V3.1.1 since late Nov without issue.
I just upgraded to RRF 3.2 (Jan). The printer works fine but DueUI stopped working with this error.
After pressing OK - DueUI goes to the settings screen - populated with the correct settings from the calling url (see below). Save and refresh results in the same error message.
This occurred simultaneously on two machines running DueUI (one WIN10 and the other Raspberry Pi)
Seems like something changed in RRF 3.2. I took a quick look but did not see anything obvious (to me).
For clarity - I start DueUI from the browser with this url:
http://localhost:8080/dueui.html?dueui_config_url=http://localhost:8080/config_pi_panel_sofmt_V4.json&theme=Darkly&duet_host=192.168.86.235&duet_polling_enabled=1
Any suggestions?
-
@stuartofmt Could the printer have changed IP addresses?
Can you get to the DWC at http://192.168.86.235 -
No - the IP address of the printer is static.
Using browser debug mode - I saw a lot of connection refusals.
It looks like the default for CORS changed in the firmware and that was the problem.
I'm running DueUI on a separate computer to the printer.Putting this in config.sys has got everything working again - not the most secure but then again ....
M586 C"*"
-
@stuartofmt Gotcha. It's not really insecure since you control both resources.