{ "error": { "description": "Fatal error: error in exception handling while reporting exception.", "message": "Another service invoked by this service using intra-service communication resulted in an error. See details for involved request and resulting error. HTTP status code is dynamically inherited, but defaults to 500.", "details": { "serviceName": "error-reporting", "serviceURI": "https:\/\/error-reporting.api.env32.katetest.com\/register", "error": { "code": "KATE-ErrorHandler", "description": "See error details", "details": { "fatal": { "level": 2, "type": "WARNING:PHP", "msg": "Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve", "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 103, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/ErrorReporting\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/app\/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getConnectedRedisInstance('[OBJECT]')\n \\-> Line 0090 in \/app\/Commons\/KateCache\/Cache.php", "04: Redis->connect('redis', '6379', '1')\n \\-> Line 0103 in \/app\/Commons\/KateCache\/Cache.php", "05: Error raised\n \\-> Line 0000 in \n(Skipped 2 internal calls)\n" ], "vars": [ "redis", 6379, 1 ], "code": { "98": " $redisConfig = array_merge(self::REDIS_DEFAULT_CONFIG, $config?->get('kate.cache.redis') ?? []);", "99": "", "100": " $timeout = 1.0;", "101": " $redis = new Redis();", "102": " try {", "103": " $redis->connect($redisConfig['host'], $redisConfig['port'], $timeout);", "104": " $redis->select($redisConfig['databaseIndex']); \/\/ We might want to make these parameters config settings later on. We'd like to delegate this to a Redis wrapper in that case though then, to prevent multiple connections per script; if Redis would be used outside of KateCache.", "105": " return $redis;", "106": " } catch (RedisException) {", "107": " throw new ConfigurationException(['description' => 'KateCache: Failed to connect to Redis on '.$redisConfig['host'].':'.$redisConfig['port']]);", "108": " }" }, "mark": { "0": "redis", "1": "redisConfig", "3": "timeout" } }, "preceding-non-fatal": [] } } }, "file": "\/app\/Commons\/KateIntraService\/Request.php", "line": 293, "trace": [ { "file": "\/app\/Commons\/KateAPI\/ErrorReporting\/ErrorReporting.php", "line": 247, "function": "execute", "class": "KATEv2\\Commons\\KateIntraService\\Request", "type": "->", "args": [] }, { "file": "\/app\/Commons\/KateAPI\/KateAPIRunner.php", "line": 271, "function": "reportException", "class": "KATEv2\\Commons\\KateAPI\\ErrorReporting\\ErrorReporting", "type": "::", "args": [ {}, {} ] }, { "function": "onKateErrorHandlerError", "class": "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "type": "::", "args": [ { "fatal": { "errLevel": 2, "level": 2, "type": "WARNING:PHP", "msg": "Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve", "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 103, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/SecureStaticBinary\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/app\/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getConnectedRedisInstance('[OBJECT]')\n \\-> Line 0090 in \/app\/Commons\/KateCache\/Cache.php", "04: Redis->connect('redis', '6379', '1')\n \\-> Line 0103 in \/app\/Commons\/KateCache\/Cache.php", "05: Error raised\n \\-> Line 0000 in \n(Skipped 2 internal calls)\n" ], "vars": [ "redis", 6379, 1 ], "code": { "98": " $redisConfig = array_merge(self::REDIS_DEFAULT_CONFIG, $config?->get('kate.cache.redis') ?? []);", "99": "", "100": " $timeout = 1.0;", "101": " $redis = new Redis();", "102": " try {", "103": " $redis->connect($redisConfig['host'], $redisConfig['port'], $timeout);", "104": " $redis->select($redisConfig['databaseIndex']); \/\/ We might want to make these parameters config settings later on. We'd like to delegate this to a Redis wrapper in that case though then, to prevent multiple connections per script; if Redis would be used outside of KateCache.", "105": " return $redis;", "106": " } catch (RedisException) {", "107": " throw new ConfigurationException(['description' => 'KateCache: Failed to connect to Redis on '.$redisConfig['host'].':'.$redisConfig['port']]);", "108": " }" }, "mark": { "0": "redis", "1": "redisConfig", "3": "timeout" } }, "preceding-non-fatal": [] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 338, "function": "call_user_func", "args": [ [ "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "onKateErrorHandlerError" ], { "fatal": { "errLevel": 2, "level": 2, "type": "WARNING:PHP", "msg": "Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve", "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 103, "trace": [ "01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/SecureStaticBinary\/bootstrapper.php", "02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/app\/Commons\/KateAPI\/KateAPIRunner.php", "03: KATEv2\\Commons\\KateCache\\Cache::getConnectedRedisInstance('[OBJECT]')\n \\-> Line 0090 in \/app\/Commons\/KateCache\/Cache.php", "04: Redis->connect('redis', '6379', '1')\n \\-> Line 0103 in \/app\/Commons\/KateCache\/Cache.php", "05: Error raised\n \\-> Line 0000 in \n(Skipped 2 internal calls)\n" ], "vars": [ "redis", 6379, 1 ], "code": { "98": " $redisConfig = array_merge(self::REDIS_DEFAULT_CONFIG, $config?->get('kate.cache.redis') ?? []);", "99": "", "100": " $timeout = 1.0;", "101": " $redis = new Redis();", "102": " try {", "103": " $redis->connect($redisConfig['host'], $redisConfig['port'], $timeout);", "104": " $redis->select($redisConfig['databaseIndex']); \/\/ We might want to make these parameters config settings later on. We'd like to delegate this to a Redis wrapper in that case though then, to prevent multiple connections per script; if Redis would be used outside of KateCache.", "105": " return $redis;", "106": " } catch (RedisException) {", "107": " throw new ConfigurationException(['description' => 'KateCache: Failed to connect to Redis on '.$redisConfig['host'].':'.$redisConfig['port']]);", "108": " }" }, "mark": { "0": "redis", "1": "redisConfig", "3": "timeout" } }, "preceding-non-fatal": [] } ] }, { "file": "\/app\/Commons\/KateErrorHandler\/ErrorHandler.php", "line": 189, "function": "presentErrors", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ { "errLevel": 2, "level": 2, "type": "WARNING:PHP", "msg": "Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve", "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 103, "trace": "#01: KATEv2\\Commons\\KateAPI\\KateAPIRunner->__construct('main', '[OBJECT]')\n \\-> Line 0032 in \/app\/SecureStaticBinary\/bootstrapper.php\n#02: KATEv2\\Commons\\KateCache\\Cache->__construct('[OBJECT]')\n \\-> Line 0057 in \/app\/Commons\/KateAPI\/KateAPIRunner.php\n#03: KATEv2\\Commons\\KateCache\\Cache::getConnectedRedisInstance('[OBJECT]')\n \\-> Line 0090 in \/app\/Commons\/KateCache\/Cache.php\n#04: Redis->connect('redis', '6379', '1')\n \\-> Line 0103 in \/app\/Commons\/KateCache\/Cache.php\n#05: Error raised\n \\-> Line 0000 in \n(Skipped 2 internal calls)\n", "vars": [ "redis", 6379, 1 ], "code": { "98": " $redisConfig = array_merge(self::REDIS_DEFAULT_CONFIG, $config?->get('kate.cache.redis') ?? []);", "99": "", "100": " $timeout = 1.0;", "101": " $redis = new Redis();", "102": " try {", "103": " $redis->connect($redisConfig['host'], $redisConfig['port'], $timeout);", "104": " $redis->select($redisConfig['databaseIndex']); \/\/ We might want to make these parameters config settings later on. We'd like to delegate this to a Redis wrapper in that case though then, to prevent multiple connections per script; if Redis would be used outside of KateCache.", "105": " return $redis;", "106": " } catch (RedisException) {", "107": " throw new ConfigurationException(['description' => 'KateCache: Failed to connect to Redis on '.$redisConfig['host'].':'.$redisConfig['port']]);", "108": " }" }, "mark": { "0": "redis", "1": "redisConfig", "3": "timeout" } } ] }, { "function": "onError", "class": "KATEv2\\Commons\\KateErrorHandler\\ErrorHandler", "type": "->", "args": [ 2, "Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve", "\/app\/Commons\/KateCache\/Cache.php", 103 ] }, { "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 103, "function": "connect", "class": "Redis", "type": "->", "args": [ "redis", 6379, 1 ] }, { "file": "\/app\/Commons\/KateCache\/Cache.php", "line": 90, "function": "getConnectedRedisInstance", "class": "KATEv2\\Commons\\KateCache\\Cache", "type": "::", "args": [ {} ] }, { "file": "\/app\/Commons\/KateAPI\/KateAPIRunner.php", "line": 57, "function": "__construct", "class": "KATEv2\\Commons\\KateCache\\Cache", "type": "->", "args": [ {} ] }, { "file": "\/app\/SecureStaticBinary\/bootstrapper.php", "line": 32, "function": "__construct", "class": "KATEv2\\Commons\\KateAPI\\KateAPIRunner", "type": "->", "args": [ "main", {} ] } ], "code": 0 } }