Skip to content

blackfire connection errors in the log file #57

@come-nc

Description

@come-nc

My log file is polluted with these errors:

{
  "reqId": "ErAZBSfz8BcrItdKUwe0",
  "level": 3,
  "time": "2022-02-08T10:07:41+00:00",
  "remoteAddr": "192.168.21.2",
  "user": "admin",
  "app": "PHP",
  "method": "PUT",
  "url": "/index.php/apps/user_status/heartbeat",
  "message": "Unknown: php_network_getaddresses: getaddrinfo for blackfire failed: Temporary failure in name resolution at Unknown#0",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/3.2.0 Chrome/87.0.4280.144 Safari/537.36",
  "version": "24.0.0.4",
  "exception": {
    "Exception": "Error",
    "Message": "Unknown: php_network_getaddresses: getaddrinfo for blackfire failed: Temporary failure in name resolution at Unknown#0",
    "Code": 0,
    "Trace": [
      {
        "function": "onAll",
        "class": "OC\\Log\\ErrorHandler",
        "type": "::",
        "args": [
          2,
          "Unknown: php_network_getaddresses: getaddrinfo for blackfire failed: Temporary failure in name resolution",
          "Unknown",
          0
        ]
      }
    ],
    "File": "/var/www/html/lib/private/Log/ErrorHandler.php",
    "Line": 99,
    "CustomMessage": "--"
  }
}

I do not use blackfire so I do not pass it to docker-compose up, but it should not be mandatory (or if it is it should be setup by default).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions