Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

tcp readed data has other bytes than expected #257

@eschgi

Description

@eschgi

Hello,

in our company we use your library in our python services to manage our tcp connections. Actually we have a very strange problem and we do not know exactly from which layer the problem is caused.

From our analytics the problem could be produced by our code or the pyuv library or the libuv library.

We receive following piece of data from the tcp socket:

{"LM":0,"FTT":0.515,"TU1":0.515,"TU2":\xd8\xee\x8c\x03"ENTNAHME":null,"WT":0,"ARTICLEID":172,"NET":0.524,"TO2":0.0,"TO1":0.545,"TARE":0.018,"QN":0.515}

This payload should be a json document, but the value of TU2 was replaced by this value: \xd8\xee\x8c\x03. This value was logged with repr(). The real value is 4 Bytes long.

What we have found out that every time when this error occurs 4 Bytes are replaced with a wrong value. The big problem is that we can't reproduce the error.

So my question is if it is possible to update the pyuv library to the latest libuv version.
So we could test the new version and check if the error still exists.

Our used os is WINDOWS!

Thank you and kind regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions