Disconnect panel

I have a problem, since the grafana connection goes out, that is, I enter the username and the password works correctly, but after a while, it disconnects and asks me for username and password again… do you know why this could be ?