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

OctoDash keeps scrolling through 404 errors on the screen #518

Closed
J4CKT opened this issue Mar 25, 2020 · 7 comments
Closed

OctoDash keeps scrolling through 404 errors on the screen #518

J4CKT opened this issue Mar 25, 2020 · 7 comments
Labels
support Something isn't working with the users setup

Comments

@J4CKT
Copy link

J4CKT commented Mar 25, 2020

What doesn't work?
Error 404 for everything in octodash

What did you already try?
Followed install instructions, octodash starts automatically on every second reboot (that's another issue), I went through the startup wizard and came up with error 403 for everything.

I generated an API key in octoprint, input that key into here:
nano ~/.config/octodash/config.json
in the section "accessToken"
then did sudo reboot now

Now it gives error 404 for everything.

General Information:

  • Hardware [e.g. Raspberry Pi 3b+, 800x480 screen]
  • OS Info [octoprint image from their website]
  • OctoDash Version [e.g. v1.4.0]
  • OctoPrint Version [e.g. v0.17.0]
@J4CKT J4CKT added the support Something isn't working with the users setup label Mar 25, 2020
@J4CKT
Copy link
Author

J4CKT commented Mar 25, 2020

My config:

image

@UnchartedBull
Copy link
Owner

From what I can see you‘re missing the „//„ behind http:, as well as the /api/ Part. So your URL should be http://localhost:5000/api/

@UnchartedBull
Copy link
Owner

Did you create the config manually or change that somehow? DisplayLayprogress.enabled should be always true currently

@J4CKT
Copy link
Author

J4CKT commented Mar 25, 2020

Thank you for the fast response. I just updated displaylayer progress and the url. This is my config now:

image

I have also tried using the api key from:

User settings in top right of octoprint aswell as from settings -> API. I have also tried ticking the box for Allow Cross Origin Resource Sharing. Still getting the Error 404 in bottom right of screen. The errors at the top now display:

Failed to execute "open" on xmlHTTPrequest invalid url

@J4CKT
Copy link
Author

J4CKT commented Mar 25, 2020

Oh wow, i just saw the the last / after api. Just updated that and no more errors. Thank you so much.

@UnchartedBull
Copy link
Owner

I think your best shot probably is to delete the file (copy the API Key first) and just go through the setup again ... This will ensure a valid config. Otherwise I'm seeing that you're missing the / behind api

@UnchartedBull
Copy link
Owner

Just hit send when I saw this. Great this is working for you now!

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

No branches or pull requests

2 participants