gallipi
November 24, 2022, 11:00am
1
What Grafana version and what operating system are you using?
Grafana 9.2.5
Redhat 8.4
What are you trying to achieve?
Redirect to the home dashboard when pushing the Home button
How are you trying to achieve it?
Enable anonymous access (grafana.ini)
Select Home Dashboard for the Organization (UI β preferences)
What happened?
Every time a user push home button get redirected to login form (https://grafana.xxxxx/login )
What did you expect to happen?
A redirection to home dashboard
Can you copy/paste the configuration(s) that you are having problems with?
[auth.anonymous]
enabled = true
org_name = "myOrg"
org_role = Viewer
[auth]
disblable_login_form=true
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No
Did you follow any online instructions? If so, what is the URL?
No
We have recently updated from 8.4.4 to 9.2.5 and noticed that pushing the Grafana home icon redirects to /login instead of the Home dashboard.
Every time a user wants to return to the home dashboard they only have to push de Grafana home icon, but with the new version, this is not working.
What configuration are we missing?
Any help would be appreciated!
gallipi
November 25, 2022, 11:17am
2
The same thing happens in the Grafana Playground https://play.grafana.org/d/000000012/grafana-play-home?orgId=1 .
After clicking the Home button, redirect to the login form.
And itβs the same version we are using (9.2.5).
It was not the behavior in Grafana 8.4.x. Is there any configuration we could apply to avoid this redirection?
Thanks.
Summary
This text will be hidden
Hi @gallipi ,
Welcome to the community support forums !!
Is your Grafana server running behind a proxy server?
Hello,
The same problem here:
[auth.anonymous]
enabled = true
No proxy
home button get redirected to login.
http://127.0.0.1:8080/login
The problem exists since version 9.2.0
With version 9.1.8 is redirected to http://127.0.0.1:8080
(Configuration β Preferences β Home Dashboard)
gallipi
December 13, 2022, 8:49am
5
Hi @usman.ahmad ,
Yes, my Grafana is running behind a proxy server.
Iβve got this configuration in the grafana.ini file.
http_proxy = http://my_proxy:80
https_proxy = http://my_proxy:80
no_proxy = 127.0.0.1
skydev
January 13, 2023, 1:04am
6
Also happens for me since 9.2.0, just hovering over the Home button (icon) shows β¦/login in the url instead of β¦/
The page indeed means that destination.
@usman.ahmad the issue seems to be caused by this change in this line of code:
committed 08:57AM - 02 Aug 22 UTC
Looking at tags I see that it is included since v9.2.0-beta1 , so that is indeed the culprit.
skydev
January 13, 2023, 1:11am
7
It seems that this issue is already known but not too easy to fix right now:
opened 03:01PM - 16 Oct 22 UTC
type/bug
area/navigation
<!--
Please use this template to create your bug report. By providing as much i⦠nfo as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefore take a couple of extra minutes to make sure you have provided all info needed.
PROTIP: record your screen and attach it as a gif to showcase the issue.
- Questions should be posted to: https://community.grafana.com
- Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
- How to record and attach gif: https://bit.ly/2Mi8T6K
-->
**What happened**:
An unauthenticated user go to [play.grafana.org](https://play.grafana.org/) and click on the top left grafana icon, then it navigates to the login page.
An authenticated user would juste return to the home page, like in the previous versions of grafana.
**What you expected to happen**:
I would expect authenticated and unauthenticated to return to the home page.
**How to reproduce it (as minimally and precisely as possible)**:
go to [play.grafana.org](https://play.grafana.org/) click on grafana icon
**Anything else we need to know?**:
no
**Environment**:
- Grafana version: 9.2.0
- Data source type & version: none
- OS Grafana is installed on: none
- User OS & Browser: all
- Grafana plugins: none
- Others:
Hi all,
sorry for the inactivity as got some other pending tasks after the new year vacation.
@skydev Thanks for identifying this now will have to wait until this gets fixed.
I recommend to all affected users to subscribe to the GitHub issue so that you can get updates once it gets fixed.
1 Like
Same problem with Grafana v9.4.1.
Same problem with Grafana v9.4.3