[BUG] Advanced Monitoring showing "login.OAuthLogin(missing saved state)"

Follow

Comments

21 comments

  • Avatar
    Alex Gorokhov

    Does not work, restart integration.

    I will assume that the grafana service has a problem with Google API.

    I Have same problem in different server based on Plesk.

    0
    Comment actions Permalink
  • Avatar
    Gabor Lippert

    Hi,

    No exclamation mark, but reloading the status didn't solve this issue for me.

    Practically I can't use advanced monitoring at all.

    And the tabs Services/Memory/CPU display an almost-blank section with the only error  saying my IP "redirected you too many times." 

     

    Any suggestions on how to investigate this further?

     

    Thanks,

    Gabor Lippert

    0
    Comment actions Permalink
  • Avatar
    Denis Gomes Franco

    I'm currently experiencing this bug in one of my servers and restarting the integration hasn't helped. Uninstalling both Grafana and Advanced Monitoring didn't help either. What should I do?

    0
    Comment actions Permalink
  • Avatar
    Brad T

    This did not work for me. After restarting the integration I get a green checkmark, but when going to Advance Monitoring I'm getting the error. 

    domain.com redirected you too many times.

    I've uninstalled re-installed and modified the panel.ini with required added params. Even rebooted the server, it's not working.

    0
    Comment actions Permalink
  • Avatar
    Brendon Mills

    Log in to Plesk and reload Grafana status in Extensions > Grafana > Reload status.
    If an exclamation mark symbol is shown, click Restart integration.

    Have tried this and end up getting a The page isn't redirecting properly error afterwards.

    Presumably this is a bug caused by the updates released in the last 24 hours?

    0
    Comment actions Permalink
  • Avatar
    Joan Albert

    Plesk Obsidian 18.0.27

    I restart integration and the green but Advanced monitoring don't work.

     

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Everyone,

    Quite recently we've had a bug caused by Grapana packages update: https://support.plesk.com/hc/en-us/articles/360013841400

    The fix is already released. Please, make sure that you have Grafana 1.1.5 installed. For instructions see the "Updating" section: https://support.plesk.com/hc/en-us/articles/115000180213

     

    In case the issue will remain after Grafana update and restarting the integration, there's a possibility that Advanced Monitoring installation is corrupted.

    To resolve this issue:

    1. Connect to the server via SSH

    2. Remove Grafana and Advanced Monitoring extensions

      plesk bin extension -u grafana
      # plesk bin extension -u monitoring

    3. Install Advanced Monitoring:

      plesk bin extension -i monitoring

      Note: Grafana will be installed alongside with Advanced Monitoring.

    -1
    Comment actions Permalink
  • Avatar
    Alexander Ihrig (Edited )

    I had the same error messages mentioned. ("OAuth Login error" and "redirected too many times").

    The advises to reintegrate the extension and/or uninstall and reinstall the extensions doesn't help at all.

    The only working solution for me (after Plesks Grafana 7.0 and Grafana extension 1.1.5 update) is clearing the browser cookies! After clearing the cookies, the OAuth login error is gone and the Advanced Monitoring ist working again.

    There should be a note, that local browsers cache/cookies is involved in the login/integration process between grafana and the advance monitoring extension in Plesk. I would never have thought that this would not take place entirely on the server.

    0
    Comment actions Permalink
  • Avatar
    Denis Gomes Franco

    Hey Ivan Postnikov, I posted two comments about how I was still having issues even after updating to the latest version of everything, and removing and reinstalling things several times, which didn't work either.

    But it was this thread https://talk.plesk.com/threads/advanced-monitoring-stopped-working-after-grafana-7-0-0-update-ubuntu-centos.356694/ that gave me the correct solution: clearing the browser cookies.

    So I deleted my comments, but the solution in my case was simply this, after seeing Grafana's logs about user token not found or something.

    0
    Comment actions Permalink
  • Avatar
    Joan Albert (Edited )

    Hello.

     

    I remove Grafana and Advanced Monitoring extensions an reinstall monitoring.

     

    After restart integration the server response is the same. 

    I didn't see Grafana update in extensions update. 

     

    Grafana version: 1.1.5-163

    Plesk Obsidian 18.0.27 (Wordpress edition)

     

    For us is important to monitor the server, could you find other solution?

     

    Thanks in advance. 

     

    0
    Comment actions Permalink
  • Avatar
    Brad T

    I ran the above suggestion of uninstalling & reinstalling from the command line and still ran into the same problem.

     

    login.OAuthLogin(missing saved state)

    0
    Comment actions Permalink
  • Avatar
    Brendon Mills

    Hi Ivan,

    I have 2 servers out of four affected by this bug. They are both patched. I just tried uninstalling Grafana and Advanced Monitoring on the Windows server that's affected. The same issue occurs when they are reinstalled. Advanced Monitoring just doesn't load, and if I try and open the Grafana extension I get a message "The page isn't redirecting properly

    An error occurred during a connection to xxx.xxx.xxx.xxx:8443.

    This problem can sometimes be caused by disabling or refusing to accept cookies."

    This doesn't look like a fixed bug, I'm afraid to say.

    0
    Comment actions Permalink
  • Avatar
    Brendon Mills

    To be absolutely sure, I tried the workaround here too: https://support.plesk.com/hc/en-us/articles/360013841400

    Same result. Grafana broken and no server monitoring.

    Grafana may be lovely, but I never had any issues with Plesk's old monitoring.

    0
    Comment actions Permalink
  • Avatar
    Dennis Rahmen

    That´s not working either.

    0
    Comment actions Permalink
  • Avatar
    Scott

    Ivan: your suggestion does nothing. Same error

    0
    Comment actions Permalink
  • Avatar
    Pandy Legend

    Ivan Postnikov I tried your resolution, removing and reinstalling, but still have the same issue.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov (Edited )

    Hello everyone,

    Judging by the fact that previous suggestions didn't help, try deleting browser cookies. 

    This is bug EXTPLESK-1868

    It already helped to Denis Gomes Franco, Alexander Ihrig and to couple of other clients in support requests.

    Joan Albert Brad T Brendon Mills Dennis Rahmen Pandy Legend  Scott please, try this solution.

     

     

    1
    Comment actions Permalink
  • Avatar
    Pandy Legend

    Removing cookies worked for me. Thanks.

    0
    Comment actions Permalink
  • Avatar
    Brendon Mills

    Yep - removing cookies has sorted the problem. Thanks Ivan.

    0
    Comment actions Permalink
  • Avatar
    Dennis Rahmen

    Yes, working again! Thanks.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    The public article about this issue was prepared: https://support.plesk.com/hc/en-us/articles/360014005659

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request