dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.62k stars 345 forks source link

error using helper #318

Closed Anekkkk closed 1 year ago

Anekkkk commented 1 year ago

im getting this error when i run helper = ViewClient.view_client_helper()

⚠️ CulebraTester2 server should have been started and localport 9987 redirected to remote port 9987. 2023-01-06 01:56:02,452 WARNING Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000018EBC1D9460>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /v2/uiDevice/dumpWindowHierarchy?format=JSON 2023-01-06 01:56:06,501 WARNING Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000018EBC1D95E0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')': /v2/uiDevice/dumpWindowHierarchy?format=JSON

dtmilano commented 1 year ago

A connection to the service, running on the device, cannot be contacted.

Please follow the steps described at https://github.com/dtmilano/CulebraTester2-public.