Skip to content

Failed to connect to remote host: connect: Connection refused (61) #120

@KateWasHere001

Description

@KateWasHere001

Tested version: 8.45, 8.30
Simple code:
device = connect_device(device_ip, PORT)
settings = device.stub("Settings")
aaa = settings.get_system("screen_brightness") # <----

Error info:

<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:172.28.28.28:65000: Failed to connect to remote host: connect: Connection refused (61)"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-08-12T11:07:53.664403+08:00", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:172.28.28.28:65000: Failed to connect to remote host: connect: Connection refused (61)"}"

Metadata

Metadata

Assignees

No one assigned

    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