Skip to content

bug: Docker based plugins log streaming is broken #86

@erezrokah

Description

@erezrokah

This is from the Typeform Python plugin:

2023-08-17T13:47:03Z INF Loading spec(s) args=["examples/typeform-postgres.yml"] module=cli
2023-08-17T13:47:16Z ERR failed to unmarshal log line from plugin error="invalid character '\\x01' looking for beginning of value" line="\x01\x00\x00\x00\x00\x00\x00n{\"address\": \"0.0.0.0:7777\", \"event\": \"Starting server\", \"level\": \"info\", \"timestamp\": \"2023-08-17T13:47:16Z\"}" module=cli

and from the Airtable JavaScript plugin:

2023-08-17T13:52:50Z INF Loading spec(s) args=["examples/airtable-postgres-docker.yml"] module=cli
2023-08-17T13:52:52Z ERR failed to unmarshal log line from plugin error="invalid character '\\x01' looking for beginning of value" line="\x01\x00\x00\x00\x00\x00\x00a{\"level\":\"info\",\"message\":\"server running on port: 7777\",\"timestamp\":\"2023-08-17T13:52:52.055Z\"}" module=cli

See the added \x01\x00\x00\x00\x00\x00\x00a on each log line? That breaks JSON parsing

Metadata

Metadata

Assignees

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