Rare JSON parsing error #3

Open
opened 2024-05-20 18:21:10 +02:00 by caniko · 0 comments
caniko commented 2024-05-20 18:21:10 +02:00 (Migrated from github.com)

The container has been running for about a week, and I am getting this weird error.

2024/05/14 20:33:13 Error parsing JSON: invalid character 'e' looking for beginning of value
panic: Error parsing JSON: invalid character 'e' looking for beginning of value

goroutine 2964 [running]:
log.Panic({0x40000abe98?, 0x247fe0?, 0x40001121c0?})
	/usr/local/go/src/log/log.go:432 +0x60
main.GetDNSRecord({0x400001a008?, 0x4ca020?}, {0x4000018025, 0xb}, {0x400001a038, 0x28})
	/usr/src/app/cloudflare.go:59 +0x2b8
main.getDNSRecords.func1()
	/usr/src/app/main.go:49 +0x40
created by main.getDNSRecords in goroutine 2963
	/usr/src/app/main.go:48 +0xc0

Fixed by just restarting... Just documenting

The container has been running for about a week, and I am getting this weird error. ``` 2024/05/14 20:33:13 Error parsing JSON: invalid character 'e' looking for beginning of value panic: Error parsing JSON: invalid character 'e' looking for beginning of value goroutine 2964 [running]: log.Panic({0x40000abe98?, 0x247fe0?, 0x40001121c0?}) /usr/local/go/src/log/log.go:432 +0x60 main.GetDNSRecord({0x400001a008?, 0x4ca020?}, {0x4000018025, 0xb}, {0x400001a038, 0x28}) /usr/src/app/cloudflare.go:59 +0x2b8 main.getDNSRecords.func1() /usr/src/app/main.go:49 +0x40 created by main.getDNSRecords in goroutine 2963 /usr/src/app/main.go:48 +0xc0 ``` Fixed by just restarting... Just documenting
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mxmlndml/cloudflare-dynamic-dns#3
No description provided.