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

Can't retrieve layer progress #1304

Closed
JohanB55 opened this issue Jan 13, 2021 · 19 comments · Fixed by #1438
Closed

Can't retrieve layer progress #1304

JohanB55 opened this issue Jan 13, 2021 · 19 comments · Fixed by #1438
Assignees
Labels
bug Something isn't working

Comments

@JohanB55
Copy link

Hi,
I have installed octoDash on my raspberry but now I get a Warnig

Http failure response for http://octopi.local/plugin/DisplayLayerProgress/values: 404 not found

I have looked at the internet but i can not find a solution.
Can you help me?

image

@JohanB55 JohanB55 added the bug Something isn't working label Jan 13, 2021
@jonnalexander
Copy link

Im wracking my brain to figure this out too. Tried looking through other reports and nothing ive seen solves my problem, ive tried reinstalling too.

@Sekisback
Copy link

same issue on my side

@Silentee
Copy link

Are you sure you have the DisplayLayerProgress plugin installed? Without additional info such as version numbers (octoprint, octopi, octodash), slicer used, and what settings you have setup in the DisplayLayerProgress plugin then it'll be hard for anyone to help you.

@Sekisback
Copy link

In my case, I update to 2.1.2 and had an issue with the sleepfunction, so i downgraded back to 2.0.
Octoprint Version 1.5.2
Octopi 0.17.0
Raspberry Pi 3 Model B Rev 1.2
DisplayLayerProgress 1.24.0
SlicerCura 4.8

@AtomicRas
Copy link

I tried switching my port in OctoDash from 80 to 500 like someone said they did to get working. Now it wont connect just hangs. How can i switch the port now?

I uninstalled and reinstalled but i think it is still keeping the port 500 from before.

@ammas09
Copy link

ammas09 commented Jan 17, 2021

I also see this occasionally when the printer is connected but not printing. I definitely have the DisplayLayerProgress plugin installed. If I can help by providing more info or testing anything let me know.

@JohanB55
Copy link
Author

I have the DisplayLayerProgress plugin installed and it works great now!
Everybody thanks fot the help!!

@ammas09
Copy link

ammas09 commented Jan 17, 2021

I have the DisplayLayerProgress plugin installed and it works great now!
Everybody thanks fot the help!!

How did you get it working? I still get the error and I have the plugin installed already (I installed it during the OctoDash install propmts)

@UnchartedBull
Copy link
Owner

Reopening since the error does seem to pop up again. The workaround for now is to use @jneilliii's custom fork with DisplayLayerProgress disabled: https://github.com/jneilliii/OctoDash.

If anyone who has the problem could please reply with the following information:

  • DLP version
  • OctoDash version
  • Did you print a file that was uploaded BEFORE the installation of DLP
  • Does the OctoPrint WebUI correctly show the Layer Progress?

@Cyberbastler
Copy link

Cyberbastler commented Jan 23, 2021

What doesn't work?
I often get the "Can't retrieve layer progress!" / "Http failure response for ... values: 0 Unknown Error"
Would guess approx. every 30 minutes. (But today I got it only once..)

What did you already try?
Updated everything, checked configuration. I even updated the OS directly; executed "apt update/upgrade", etc.

General Information:
Raspberry Pi 4 (4 GB variant)
OctoPi 0.17.0
OctoPrint 1.5.3
Latest OctoDash-version (installed using the script)

@Cyberbastler
Copy link

Changed from octopi.local to localhost in config. May have solved the issue.

@Cyberbastler
Copy link

Cyberbastler commented Jan 24, 2021

As of right now I would say that's it in my case: Use "localhost" and the problem seems to be gone!

@UnchartedBull
Copy link
Owner

There seems to be something really fishy with octoprints mdns atm. Lots of people reporting problems which go away once localhost is used.

@jneilliii
Copy link
Contributor

It might have something to do with IPv6. I do know that there were some changes to mdns in one of the recent releases.

@tubbybtch
Copy link

I'm persistently having the same error: "Can't retrieve layer progress - Http failure response for http://localhost/plugin/DisplayLayerProgress/value - 404 NOT FOUND"

I've tried changing url in ~/.config/octodash/config.json. Either I get no connection or the above error. I have tried network alias, url and localhost.

Three weeks getting this far...really frustrated! (and I still don't have touchscreen working)

General Information:
Raspberry Pi 4 (4 GB variant)
OctoPi 0.18.0
OctoPrint 1.5.3
Latest OctoDash-version (installed using the script)
Hyperpixel4

@Mattch788
Copy link

i an getting the same error but on the octoprint screen rather than on octodash, i also am unable to update octoprint now that octodash is installed for some reason, has anyone had this same iisue?

@UnchartedBull
Copy link
Owner

Ok I still really don't know whats going on here, but here are a few things to try so we can narrow this down:

  • Please check if you're also getting an error in the WebUI as @Mattch788 mentioned
  • Did you get the low voltage warning in OctoPrint / how is the load on the Pi (screenshot of htop or average percentage)
  • Does the error go away if you change the polling interval?
    • nano ~/.config/octodash/config.json
    • Go all the way down to pollingInterval and change that to 5000
    • Reboot

After this change OctoDash will only ask OctoPrint for new data every 5 seconds, if this error is somehow load related this should get rid of the error.

@Cyberbastler
Copy link

As of right now I would say that's it in my case: Use "localhost" and the problem seems to be gone!

It came again when I cahnged to octopi.local and went when I cahnged back. So this it was for me.

@jkuusama
Copy link

Latest everything, Pi 3B+. I had the same, on Octodash screen only, and only when idle. Yes, I did print some files before installing Octodash and DLP. When printing, everything works as expected. Seems to have gone away after switching to localhost. (Fingers crossed, but I haven't seen it after I made the change about 30 mins ago). Thank you @Cyberbastler !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.