netdata-cloud icon indicating copy to clipboard operation
netdata-cloud copied to clipboard

[Bug]: Login to v1 interface breaks login page

Open Pingger opened this issue 2 years ago • 4 comments

Bug description

When trying to log in to the v1 interface using netdata cloud, the login page breaks after a successful login, endlessly trying to redirect back to the instance, but so fast, that, even for a localhost instance, the page can't load (about 200 attempts per second to redirect)

Expected behavior

a singular redirect, that then goes through and works

Steps to reproduce

  1. open v1 interface of an instance
  2. try to login to netdata
  3. authenticate
  4. be stuck in a redirect loop

Screenshots

No response

Error Logs

console-export-2023-11-9_12-43-14.txt

Desktop

OS: Linux Manjaro / Windows 10 Browser: Firefox Browser Version: 119.0

Additional context

No response

Pingger avatar Nov 09 '23 11:11 Pingger

wasn't able to reproduce, this seems fixed

hugovalente-pm avatar Mar 23 '24 17:03 hugovalente-pm

issue still persists

Video: https://iskariot.info/owhighlights/bugs/2024-03-23_22-37-00.mp4

Pingger avatar Mar 23 '24 21:03 Pingger

wasn't able to reproduce that, unless I didn't exactly understand the flow you were trying to accomplish

https://github.com/netdata/netdata-cloud/assets/82235632/0c77b040-a25d-461d-94a3-83ee5bbaf836

hugovalente-pm avatar Mar 26 '24 17:03 hugovalente-pm

potentially related to github oauth? I use github to login and not google. But otherwise I have no idea what the cause could be for that weird behaviour and as you can see, the network-tab breaks under the load of some many immediately aborted (by the login javascript) requests

Pingger avatar Mar 26 '24 19:03 Pingger