Skip to content

json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 1021 (char 1020) #3

@rjsears

Description

@rjsears

Hello -

Just wanted to let you know that I was receiving this error while talking to a TP-Link HS300:

json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 1021 (char 1020)

I was able to correct the issue by changing line 211 from this:

data, server = client_socket.recvfrom(1024)

to this:

data, server = client_socket.recvfrom(2048)

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