Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Fix tcp output byte conversion #16

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

ExaneServerTeam
Copy link
Contributor

While running tcp output you encouter the following trace.

::

tcp_writer.write( b"%s%s" % (msg, output_cfg["delimiter"]) )
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'

Parsing of sent messages looks good on a splunk server (Same parser used for
pdns-protobuf-receiver)

While running tcp output you encouter the following trace.

::

    tcp_writer.write( b"%s%s" % (msg, output_cfg["delimiter"]) )
    TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'

Parsing of sent messages looks good on a splunk server (Same parser used for
pdns-protobuf-receiver)
@dmachard dmachard merged commit e788f9c into dmachard:master Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants