caprover / caprover

Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
https://CapRover.com
Other
13.02k stars 831 forks source link

NetData not work #213

Closed klinkov closed 6 years ago

klinkov commented 6 years ago

Hi

  1. Install captainduckduck
  2. setup apps
  3. turn on NetData
  4. press on Open NetData button (screenshot)
  5. Open /net-data-monitor/ page

See next text {"status":1106,"description":"Auth token corrupted"}

Current Version: 0.6.0

githubsaturn commented 6 years ago

You may have changed the password while you were logged in. To fix:

klinkov commented 6 years ago

@githubsaturn Thank you!

r-chris commented 4 years ago

I recently ran into the same issue when using one of the "Remember Me" options ("Use localStorage (Most Persistent)"). I can not reproduce it, but I assume the relevant token could have been expired? I was able to fix it by logging out and back in again as suggested.

AnandChowdhary commented 3 years ago

Perhaps we can re-open this issue. If you use the "Remember me" option with local storage, the netdata token still expires and you need to logout and login again to prevent the "auth data corrupted" error.

conradfr commented 3 years ago

FWIW I still get this error today on version 1.8.2 on a fresh install (on a Google Compute Engine instance if relevant). I did not use "remember me".

I even tried login from another browser with the same effect.

locvfx commented 3 years ago

Just logout Caprover, then re-login Caprover, reload your netdata. it will work

Cristy94 commented 1 year ago

You may have changed the password while you were logged in. To fix:

This also happened to be and I did not change the password, it was working fine, logged in the next day, I got this error.

I think this issue should be reopened.

minkbear commented 1 year ago

Got this error on this morning. so just log out from caprover and login again.

Cristy94 commented 10 months ago

Why is this still closed? This happens constantly if you have session localStorage remember me enabled. I always have to log-out and log-in again to access NetData otherwise I get Auth token corrupted.

codercodingthecode commented 7 months ago

Still an issue caprover netdata. It doesn't matter which way I select to log in. I still get this error.

zfcsoftware commented 3 months ago

The captainCookieAuth in the cookies is set to be active during the session. This seems to be the problem. If you change the duration of this cookie to a later date, it gets fixed.

image