#WebUI seems broken after installing OC

1 messages · Page 1 of 1 (latest)

timber warren
#

Hello,

I recently purchased my CC and have been printing with it for a couple weeks. I use Orca Slicer, and the "Device" tab shows print status, camera feed, temperatures, etc. Going to the printer ip address in a browser displays the same page. After installing OpenCentauri, this page still displays, but no real information shows up. The camera, history, sensors, etc. are all blank. I've tried restarting things and messing with the printer ip/url settings in Orca Slicer. I looked through the docs site but didn't see anything about using orca with OC. Has anyone else experienced this?

woeful sigil
upper yoke
#

I get this errors:

#

WebSocket connection to 'ws://xxx.xxx.xxx.xxx:3030/websocket' failed: Could not decode a text frame as UTF-8

#

WebSocket is already in CLOSING or CLOSED state

woeful sigil
#

The internal gcode metadata registry is corrupt. Would you mind upgrading to a developer build of opencentauri? @upper yoke

woeful sigil
#

Put the update.swu file at usb:/update/update.swu and go to the update menu on the cc

#

Accept the local update

upper yoke
#

ok

upper yoke
timber warren
# woeful sigil can you open your browser debugger (F12) and go to the console tab, and tell me ...

Sorry for the slow reply;
I see lots of errors similar to this:

ERROR TypeError: can't access property "VideoUrl", this.printerService.printerDetail.Data is undefined

The throughline in most of them is the this.printerService.printerDetail.<some printer detail> is undefined. Clicking UI elements raises this error for each element.

I'll try the nightly build and let you know if it changes anything

woeful sigil
#

oh, that's not the same issue

#

still don't quite understand what causes that

timber warren
#

I can confirm the update above doesn't change the behavior.
I'm happy to try and help diagnose, are you able to reproduce the behavior?

#

Okay, I have a fix that I don't understand totally. I generally keep IoT devices on a separate guest subnet without access to my LAN. LAN devices are able to access the guest subnet. I just moved the printer to my main wifi network and the web ui works as expected.

I will switch back to the factory firmware to confirm that the problem is with Open Centauri on my guest network, and not something in my network settings. I don't think I changed anything about the network setup when I switched firmware but it is possible it's all on my end.

timber warren
#

Yeah, okay!

  • The printer, running the factory firmware, works correctly from my guest network.
  • Running OC on my primary network, the printer seems to work as expected.
  • Running OC on my guest network, the printer behaves abnormally. It can receive prints from Orca Slicer, but not start prints that way. I can command set points for things like the nozzle temperature through the web ui, but can't see any information there: this.printerService ... is undefined TypeErrors appear in the browser console.
woeful sigil
timber warren
#

The official firmware I'm running is 1.1.46; are you specifically asking if official firmware 1.1.40 has the same problem? If so I'm happy to install that and try

timber warren
# woeful sigil Yes

Official Firmware 1.1.40 also works fine on my guest network, I don't see any errors.

woeful sigil
#

Hm

#

Very interesting

timber warren
#

Let me know if I can help in any way if this is something you intend to work on. Is there a formal issue system I can submit to, for example?

sullen girder
#

Hello, I recently also installed OC and have been getting the same issue. When I open the console in the browser I get the error "The connection to ws://192.168.6.20:3030/websocket was interrupted while the page was loading." How can I fix this cause I would love to monitor the camera from inside of the printer. The only way I can actually see the camera is if I use the CC tool app on my phone. The actual website on my phone also doesn't work, only cc tool.

solemn coral
#

Not sure if this is the right place, but I'm seeing the same issue as Sam, though I'm on the same LAN and the same subnet as my printers.

#

I've got 5 Centauri Carbons. I left 2 on the Elegoo firmware, and installed the latest OpenCentauri on 3 of them. All 3 have 'connection failed' showing when viewing them in the webUI in Elegoo Slicer or via webpage.

#

in the console tab in my browser, all 3 printers with the OC firmware show the same error: ERROR TypeError: Cannot set properties of undefined (setting 'VideoUrl')

#

while I can connect to the WebUI, I cannot see any printer details. In Elegoo Slicer, all 3 printers are showing as offline. Those printers have been restarted, had their network connections reset (forget wifi network, then set up again via the printer touchscreen). All printers have IP reservations on the DHCP server.

#

Any thoughts?

#

I've updated one of the 3 printers to the nightly build, with no change. Same behavior, same error.

woeful sigil
#

i think this is a bug in the base firmware (1.1.40) triggered via specific network conditions, like for example blocking access to internet or part of the network

#

i genuinely have no idea how they messed this up

solemn coral
#

Gotcha. Let me fully open up one of the printers to the internet and see what happens.

woeful sigil
#

OC blocks any rogue network requests anyway

#

or rather, patches them out of the software entirely

solemn coral
#

no joy. No outbound port blocking, no DNS/siteblocks, same issue. Let me switch to a completely different network with a different internet connection and different ISP.

#

ok, that worked. There are too many variables for me to unpick here though. I'll switch a couple printers back to the Elegoo FW but leave 1 on the OC FW and see if I can identify the issue. It'll likely take some time, but if I find anything I'll post it here.

woeful sigil
#

then it will never work through the ethernet ip

south prairie
woeful sigil
#

should be fine

south prairie
#

Awesome!!! Thanks so much!!!!

valid cloak
#

Worked for me too. Thanks!

night wasp
#

I just installed 0.3.0, Looks like the WebUI is still broken when using Ethernet. Still getting the ERROR TypeError: Cannot set properties of undefined (setting 'VideoUrl') error