GoogleCloudPlatform / GoogleCloudPlatform/osconfig

OSConfigAgent error: unexpected end of JSON input

Open
#448 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
99
Forks
113
Avg merge
2d 10h
Merged PRs (30d)
5

Description

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": ""
}
},
"timestamp": "2022-11-09T08:08:03.567235217Z",
"severity": "ERROR",
"labels": {
"instance_name": "",
"agent_version": "20210607.00"
},
"logName": "projects//logs/OSConfigAgent",
"sourceLocation": {
"file": "main.go",
"line": "196",
"function": "main.runTaskLoop"
},
"receiveTimestamp": "2022-11-09T08:08:04.913015193Z"
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.