Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    DueUI Version 3.2.0-beta stopped working after RR3 V3.2 upgrade

    DueUI
    2
    4
    52
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stuartofmt
      stuartofmt last edited by

      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.

      Capture.PNG

      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?

      gtj0 1 Reply Last reply Reply Quote 0
      • gtj0
        gtj0 @stuartofmt last edited by

        @stuartofmt Could the printer have changed IP addresses?
        Can you get to the DWC at http://192.168.86.235

        stuartofmt 1 Reply Last reply Reply Quote 0
        • stuartofmt
          stuartofmt @gtj0 last edited by stuartofmt

          @gtj0

          No - the IP address of the printer is static.

          Using browser debug mode - I saw a lot of connection refusals.

          Capture.PNG

          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"*"
          
          gtj0 1 Reply Last reply Reply Quote 0
          • gtj0
            gtj0 @stuartofmt last edited by

            @stuartofmt Gotcha. It's not really insecure since you control both resources.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA