Skip to content

OSConfigAgent error: unexpected end of JSON input #448

@Kamui123

Description

@Kamui123

Hi,

Error from OSConfigAgent apears in gcp kubernetes cluster logs. It dosen't seem to have any consequances but i would like to know what it means and how to fix it.

{
  "insertId": "1trnnuben6xjv",
  "jsonPayload": {
    "localTimestamp": "2022-11-09T08:08:03.5535Z",
    "message": "unexpected end of JSON input",
    "omitempty": null
  },
  "resource": {
    "type": "gce_instance",
    "labels": {
      "instance_id": "1817953333370559090",
      "zone": "europe-west3-c",
      "project_id": "<project_id>"
    }
  },
  "timestamp": "2022-11-09T08:08:03.567235217Z",
  "severity": "ERROR",
  "labels": {
    "instance_name": "<instance_name>",
    "agent_version": "20210607.00"
  },
  "logName": "projects/<project_id>/logs/OSConfigAgent",
  "sourceLocation": {
    "file": "main.go",
    "line": "196",
    "function": "main.runTaskLoop"
  },
  "receiveTimestamp": "2022-11-09T08:08:04.913015193Z"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions