500 error while open dashboard

Hello,

I have Rancher 2.4.11 from docker image running on AWS with EKS created from Rancher.
I installed monitoring and logging and Rancher gets metrics from EKS.
However, when I click “Try Dashboard” I get:
# HTTP Error 500:
from /k8s/clusters/c-9vdks/v1/schemas
In webconsole I see 500 request for:
https://rancher.elocker.com/k8s/clusters/c-9vdks/v1/schemas
with answer: invalid upgrade response: status code 200

Rancher docker generates this once the error happens:
E0403 17:07:13.915828 7 upgradeaware.go:306] Proxy upgrade error: invalid upgrade response: status code 200

I check cluster agent logs and it looks like it successfully connected to Rancher.

Also I noticed that Grafana can’t be opened:
If you’re seeing this Grafana has failed to load its application files
1. This could be caused by your reverse proxy settings.
2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath
3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
4. Sometimes restarting grafana-server can help

However, Grafana works if I connect directly to access-grafana service.

My guess is that Rancher can’t connect to cluster-agent for some reason, but I don’t know what else to check.

Thanks in advance