Skip to content

Problem with multiple clients use pyroon to connect with the same Roon server #84

@eventcatcher

Description

@eventcatcher

If i use multiple clients (in this case multiple raspberry zero 2w in same local network) to get a connection to a roon server, I get errors like this from roonapi:

ERROR Error while parsing message '<websocket._app.WebSocketApp object at 0x700e0b98>'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/roonapi/roonapisocket.py", line 127, in on_message
message = message.decode("utf-8")
AttributeError: 'WebSocketApp' object has no attribute 'decode'

With only one client it's working fine.

Is this a known bug?
Do you have a solution or any idea to fix this?

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