Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.42k stars 1.07k forks source link

The new Graylog login page does not appear on the TV in the built-in browser #14677

Closed tojeroman closed 1 year ago

tojeroman commented 1 year ago

After upgrading from Graylog 4 to Graylog 5, the login screen has changed. I use an LG TV to display web pages for a surveillance system (Librenms, Zabbix, GLPI and others). Unfortunately, after upgrading to Graylog 5, the dashboard stopped showing and the TV can't even display the login page (probably the integrated browser is bothered by one of the JAVASCRIPTs). Unfortunately, if I share the dashboard to everyone, I see in the log that instead of opening the dashboard, the TV wants to open the Graylog login page for me to enter data. It would be appropriate if the login page was modified to be compatible with other browsers, or if there was an option to display the dashboard on the TV without having to enter login data into Graylog.

dennisoelkers commented 1 year ago

Hey @tojeroman,

many thanks for reporting this. We will take a look into this and try to fix it as soon as possible. Which LG TV (model) are you using?

tojeroman commented 1 year ago

Hi @dennisoelkers

Thanks for the quick response, this is the LG 55UP75003LF

dennisoelkers commented 1 year ago

Thanks! What do you use on the TV for browsing?

tojeroman commented 1 year ago

Integrated web browser

dennisoelkers commented 1 year ago

I just tried it on webOS 22 and while it takes a while to load, it works. Can you verify that it's not just taking longer now?

dennisoelkers commented 1 year ago

And: Are you running the latest webOS-version for your model? Are there any updates for the browser available by any chance?

tojeroman commented 1 year ago

I have now tried clearing cookies and browsing history in the browser. The page loads according to the indicator, but the white screen remains. I look and the browser version is 23.166.65. The firmware update is current. All other sites work except Graylog 5. I still suspect some problem with the Javascript code rendering in the login. If there was an option to open the dashboard even without logging in (saving cookies), it would be enough for me for now, but it is not possible. It keeps asking for a login screen that doesn't show up.

dennisoelkers commented 1 year ago

I guess you are right, I think we are too restrictive when it comes to the browser versions we are building for. Can you check which webOS-version you are using exactly? You find instruction on how to do this here.

From then on, it is a matter of supporting more older browser versions in our build. Once we have done this, we can include the change in our next 5.0.x release and you should be good to go afterwards.

tojeroman commented 1 year ago

Mozilla/5.0 (Linux; NetCast; U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36 SmartTV/10.0 Colt/2.0 WebOS: 6.3.2-423 (kisscurl-kinglake)

dennisoelkers commented 1 year ago

@tojeroman: We are releasing 5.0.4 today, which should fix the issue you are seeing. It would be great to get some feedback from you if it resolves the issue for you! If it does not, you should reopen this issue.

tojeroman commented 1 year ago

@dennisoelkers Thanks a lot, I'm using the apt repository on ubuntu, I'll have to wait for version 5.0.4 to appear in the repository and upgrade. I'll be sure to let you know right away. Thank you

tojeroman commented 1 year ago

@dennisoelkers Perfect, it works now! I already see the login screen and the dashboard. I just have a question, can the dashboard be displayed even without logging in?

dennisoelkers commented 1 year ago

Hey @tojeroman! Great to hear it is working again now. Thanks for all your help finding and fixing this.

Right now the dashboard cannot be displayed without being logged in, we do not want to expose any information without proper authentication. We have a feature request in our backlog for generating a URL that also includes authentication information, but this is currently not planned for the near future.