[ZBX-13044] Error message on all pages Created: 2017 Nov 15 Updated: 2024 Apr 10 Resolved: 2017 Nov 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.4.4 |
Fix Version/s: | 2.2.21rc1, 3.0.14rc1, 3.2.11rc1, 3.4.5rc1, 4.0.0alpha1, 4.0 (plan) |
Type: | Incident report | Priority: | Minor |
Reporter: | Erik Botta | Assignee: | Miks Kronkalns |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | Snímek obrazovky 2017-11-15 v 18.45.03.png | ||||
Issue Links: |
|
||||
Team: | Team A | ||||
Sprint: | Sprint 21 | ||||
Story Points: | 0.2 |
Description |
Steps to reproduce: Result: |
Comments |
Comment by Erik Botta [ 2017 Nov 15 ] |
Problem is a condition check: if ((array_key_exists('https', $_SERVER) && ($_SERVER['https'] == 1 || $_SERVER['https'] === 'on')) || $_SERVER['SERVER_PORT'] == 443) { $_SERVER['SERVER_PORT'] doesn't exist in this case. |
Comment by Miks Kronkalns [ 2017 Nov 16 ] |
Hello erikbotta! Please could you give us some details about environment under which you run Zabbix frontend? What server do you use (Apache, IIS, nginx)? Do you host Zabbix frontend in some cloud platform (like Google App Engine or AWS)? Do you have some custom configuration that could disable server port to be accessible by Zabbix? Maybe anything else specific? |
Comment by Jan Garaj [ 2017 Nov 19 ] |
Nginx. It was OK before 3.4.4 - https://github.com/monitoringartist/dockbix-xxl/issues/102 |
Comment by Nathan Neulinger [ 2017 Nov 21 ] |
Was this fixed, or just closed? |
Comment by Nathan Neulinger [ 2017 Nov 21 ] |
It looks like the fix should be trivial in both cases - just add another array_key_exists for SERVER_PORT before the 443 check. |
Comment by Alexander Vladishev [ 2017 Nov 23 ] |
Successfully tested. |
Comment by Miks Kronkalns [ 2017 Nov 24 ] |
Fixed:
|