Hi,
I have issue with zabbix webgui. I use HTTP authentication. After success login i see URL https://our_server/zabbix/jsrpc.php and message ERROR: Wrong RPC call to JS RPC.
If I manually rewrite the URL to https://our_server/zabbix/, dashboard displays normally. However, it is a bit annoying.
This problem is in 1.8.3 and 1.8.5.
Thank you in advance for advice how to fix it.
Hear is http headers from login process:
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/
HTTP/1.1 401 Authorization Required
Date: Fri, 20 May 2011 18:43:54 GMT
Server: Apache/2.2.16 (Debian)
WWW-Authenticate: Basic realm="Zabbix - monitoring a statistiky"
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 290
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
----------------------------------------------------------
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/
Authorization: Basic XXXXXXXXXXXXXXXXXXXX
HTTP/1.1 200 OK
Date: Fri, 20 May 2011 18:43:56 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze1
Set-Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 108
Keep-Alive: timeout=15, max=95
Connection: Keep-Alive
Content-Type: text/html
----------------------------------------------------------
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/jsrpc.php
Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Authorization: Basic XXXXXXXXXXXXXXXXXXXX
HTTP/1.1 200 OK
Date: Fri, 20 May 2011 18:43:56 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze1
Set-Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 201
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive
Content-Type: application/javascript; charset=UTF-8
----------------------------------------------------------
I have issue with zabbix webgui. I use HTTP authentication. After success login i see URL https://our_server/zabbix/jsrpc.php and message ERROR: Wrong RPC call to JS RPC.
If I manually rewrite the URL to https://our_server/zabbix/, dashboard displays normally. However, it is a bit annoying.
This problem is in 1.8.3 and 1.8.5.
Thank you in advance for advice how to fix it.
Hear is http headers from login process:
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/
HTTP/1.1 401 Authorization Required
Date: Fri, 20 May 2011 18:43:54 GMT
Server: Apache/2.2.16 (Debian)
WWW-Authenticate: Basic realm="Zabbix - monitoring a statistiky"
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 290
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
----------------------------------------------------------
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/
Authorization: Basic XXXXXXXXXXXXXXXXXXXX
HTTP/1.1 200 OK
Date: Fri, 20 May 2011 18:43:56 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze1
Set-Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 108
Keep-Alive: timeout=15, max=95
Connection: Keep-Alive
Content-Type: text/html
----------------------------------------------------------
https://our_server/zabbix/jsrpc.php
GET /zabbix/jsrpc.php HTTP/1.1
Host: our_server
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: cs,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: https://our_server/zabbix/jsrpc.php
Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Authorization: Basic XXXXXXXXXXXXXXXXXXXX
HTTP/1.1 200 OK
Date: Fri, 20 May 2011 18:43:56 GMT
Server: Apache/2.2.16 (Debian)
X-Powered-By: PHP/5.3.3-7+squeeze1
Set-Cookie: zbx_sessionid=27ebc3f9cd279b621bded8a877638fbc
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 201
Keep-Alive: timeout=15, max=94
Connection: Keep-Alive
Content-Type: application/javascript; charset=UTF-8
----------------------------------------------------------
Comment