Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web interface not visible #1473

Closed
T9Air opened this issue Aug 9, 2024 · 13 comments · Fixed by #1484
Closed

Web interface not visible #1473

T9Air opened this issue Aug 9, 2024 · 13 comments · Fixed by #1484
Assignees
Labels
GH - Bug Something isn't working
Milestone

Comments

@T9Air
Copy link

T9Air commented Aug 9, 2024

Fluidd Version

v1.30.1

Browser

Chrome

Device

Laptop

Operating System

Windows

What happened

If I try to go to fluidd in my browser, it looks like it is fully loaded, with the logo at the top of the tab, etc. but the browser page is blank, with no UI visible. I even tried reinstalling Fluidd, and it did not help

What did you expect to happen

I expect to be able to see and be able to interact with the Fluidd web interface

How to reproduce

I think I changed the trusted_clients option in the moonraker.conf to my laptops IP address, but it did work after that. I also installed Sonar. Then it randomly stopped working. When I tried to reinstall it, it still did not work. Even removing Sonar did not help.

Additional information

No response

@T9Air T9Air added GH - Bug Something isn't working GH - Evaluation Needed This topic needs to be discussed to evaluate it's aspects and feasability labels Aug 9, 2024
@franco443
Copy link

try to clear your browser cache. That did the trick for me on browser. I am still trying to figure orcaslicer out its doing that to me there for fluidd interface. That should work for you though on browser. I have chrome too. Hope that works for you.

@T9Air
Copy link
Author

T9Air commented Aug 11, 2024

I tried that, didn't work.

@pedrolamas pedrolamas added ?? - Help Wanted AAAAAAAH help! Extra attention is needed! and removed GH - Bug Something isn't working GH - Evaluation Needed This topic needs to be discussed to evaluate it's aspects and feasability labels Aug 12, 2024
@pedrolamas
Copy link
Member

Hi @T9Air, ideally trusted_clients should be left to defaults (local network IPs only):

trusted_clients:
  10.0.0.0/8
  127.0.0.0/8
  169.254.0.0/16
  172.16.0.0/12
  192.168.0.0/16
  FE80::/10
  ::1/128

Do be aware that any change to the moonraker.conf will require restarting Moonraker to pick and use the changed settings.

You can check some of the recommended defaults for moonraker.conf here: https://docs.fluidd.xyz/configuration/moonraker_conf

@T9Air
Copy link
Author

T9Air commented Aug 12, 2024

@pedrolamas I reset all of my changes, and it was still showing nothing.

@pedrolamas
Copy link
Member

In that case, you might want to press F12 to open the in-browser dev tools and check the console there for errors

@T9Air
Copy link
Author

T9Air commented Aug 12, 2024

I get this error: index-DmW-YI4h.js:254 WebSocket connection to 'ws://3dprintermanager:7125/websocket' failed: WebSocket is closed before the connection is established. Do you know how I could fix it?

@T9Air
Copy link
Author

T9Air commented Aug 12, 2024

Mainsail does work if that would change anything.

@pedrolamas
Copy link
Member

Please upload your moonraker.log here, that might help to understand what is going on.

@T9Air
Copy link
Author

T9Air commented Aug 12, 2024

moonraker.log

@grilparto
Copy link

Wanted to add another datapoint. I'm having the same issue. It occurred after trying to adjust my layout. I experienced some odd behavior upon exiting the layout adjustment mode. Each column on the UI was showing a mix of the actual UI element and also the layout adjustment behavior. After refreshing the page, blank (white) page as described above. Also seeing the same "failed: WebSocket is closed before the connection is established." in my Chrome console (given that we're both having the same blank page issue and websocket failure, it seemed like both our issues could be related).

Tried clearing website data, tried a different browser, tried a browser on a different PC also. Removed and reinstalled fluidd, then removed fluidd, removed moonraker, and then reinstalled both of those as well. Also tried removing/reinstalling fluidd and moonraker again, but also deleting the moonraker.conf to make sure a new one would be created after the reinstall.

Also attaching my moonraker.log

moonraker.log

@pedrolamas
Copy link
Member

Can I ask that you access http://moonraker-ip-or-host:7125/server/database/item?namespace=fluidd (replacing moonraker-ip-or-host with the correct IP or hostname for the moonraker instance) and paste the results here?

We've previously had reports of similar issues with the dashboard causing the page to go blank, and this might help to get to the bottom of this issue.

@T9Air
Copy link
Author

T9Air commented Aug 15, 2024

fluidd.txt

@pedrolamas
Copy link
Member

Thank you @T9Air, I can see the problem clearly on that and I will provide a fix for next release!

@pedrolamas pedrolamas added GH - Bug Something isn't working and removed ?? - Help Wanted AAAAAAAH help! Extra attention is needed! labels Aug 15, 2024
@pedrolamas pedrolamas self-assigned this Aug 15, 2024
@pedrolamas pedrolamas added this to the 1.30.4 milestone Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants