dryark / stf_ios_support

Central repo to connect and document components/repos needed for IOS stf support
Other
153 stars 65 forks source link

Not able to see iOS devices ( IPHONE 11) on the stf dashboard #99

Open asmiou opened 3 years ago

asmiou commented 3 years ago

Hi, I have followed the procedure to install STF and STF_IOS_SUPPORT. Everything worked fine, but on the STF dashboard, I can't see the IOS device.

I've found that the stf_device_iosprocess is stopped frequently. Here are the logs from stf_ios_suport when I run ./run

WARN[0160] Process end - stf_device_ios proc=stf_device_ios type=proc_end uuid="***802E" INFO[0170] Process start - stf_device_ios binary=/usr/local/opt/node@12/bin/node clickHeight=896 clickScale=1000 clickWidth=414 client_ip=192.168.X.X device_name="iPhone 11" frame_server="ws://192.168.X.X:8000/echo" node_port=9240 proc=stf_device_ios server_host=192.168.X.X server_ip=192.168.X.X stream_height=0 stream_width=0 type=proc_start uuid="***802E" video_port=8000 vnc_scale=2

And when I check the wdaproxy on 127.0.0.1:8100, I see that the device is recognized and I can manage it.

Capture d’écran 2021-04-29 à 19 39 52

On the STF dashboard, only the android device displayed.

image

@nanoscopic help please.

APOSHAml commented 1 year ago

Hello, did you manage to solve this problem? Everything is exactly the same for me, only I can control the "Home" button

KostyaSha commented 1 year ago

First of all you need to check coordinator/proc_device_unit.go sources and point to dev pub/sub adresses. Then the issue may be related to missing socat, but this info will be in a logs under logs/* directory. coordinator spawns node stf-ios-device process that spawns socat.

Jitu1888 commented 8 months ago

@KostyaSha how to check if web socket is running or not ?