msg="Failed to look up user based on cookie" logger=context error="Error 1040: Too many connections"

I installed and configured grafana authentication using google Oauth, but recently i started getting this error "msg=“Failed to look up user based on cookie” logger=context error=“Error 1040: Too many connections”.

on the GUI a popup notification displays unauthorized while the above is found in the logs.

Please help