Ad Widget

Collapse

After update to Zabbix 5.0 custom script starts sent 503 error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gutsycat
    Member
    • Nov 2017
    • 72

    #1

    After update to Zabbix 5.0 custom script starts sent 503 error

    Zabbix 4.4 and script works fine.
    After update to Zabbix 5.0 I receive 503 Server Error: Service Unavailable for url: http://<zabbix-ip-address>/zabbix/api_jsonrpc.php

    I set request_terminate_timeout = 1d but this does not help.

    Any help, please.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Did you install frontend from packages?

    Comment

    • gcalenko
      Zabbix developer
      • Mar 2017
      • 27

      #3
      Can you please check does the frontend working? Looks like it is misconfiguration of web server.

      Comment

      • Gutsycat
        Member
        • Nov 2017
        • 72

        #4
        Originally posted by dimir
        Did you install frontend from packages?
        Yes.

        Originally posted by gcalenko
        Can you please check does the frontend working? Looks like it is misconfiguration of web server.
        Frontend works but sometimes when I try to view Latest data I have the same 503 Error code.
        Seems I need to configure some timeout variable but I do not know which one.

        Comment

        • gcalenko
          Zabbix developer
          • Mar 2017
          • 27

          #5
          Zabbix requires to php.ini variable "max_execution_time" to be set not less as 5 minutes, if you receive 503 error in less time then you probably should configure your web server timeout. What web server do you use?

          Comment

          • Gutsycat
            Member
            • Nov 2017
            • 72

            #6
            I'm using Apache2 with CentOS 7

            Comment

            Working...