Skip to content

Failed to connect to Hub #3

@5MarsR

Description

@5MarsR

Hi,

I'm using python 3.9
on Linux

I tried using the async_device_key example and it seems there is a problem with the client.connect() every time i start the code i get:
Device connected Current twin: {'desired': {'prop': 50, '$version': 7}, 'reported': {'writeableProp': 50, '$version': 10}} ERROR: Failed to connect to Hub

it seems the problems comes from this line:

  • twin_patch = self._sync_twin()

if i comment it the code runs normaly

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