dryark / stf_ios_support

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

FATA[0000] 2 invalid character '/' looking for beginning of object key string #114

Closed Immanuel-Codoid closed 1 year ago

Immanuel-Codoid commented 2 years ago

I've done all the other setup, but when I run using "./run" from"stf_ios_support" folder the "FATA[0000] 2 invalid character '/' looking for beginning of object key string " error is thrown, I don't know why this issue is caused. Can someone help me out with this?. If some more details are needed I'm ready to share.

Thanks in advance

Immanuel-Codoid commented 2 years ago

Also, I don't see my device in the STF server running in my local host.

Immanuel-Codoid commented 2 years ago

I have solved the issue that I mentioned above, I had made a mistake in the config.json file. But now once I ran "./run" the process is stuck in the "Process start - wdaproxy", and "WDA Running" is not getting started.

mac@macs-MacBook-Pro stf_ios_support % ./run INFO[0000] auto network interface set; using en0 interface_name=en0 type=default_iface WARN[0000] Leftover Proc - Sending SIGTERM pid=5498 proc=stf_provider type=proc_cleanup INFO[0001] Process start - device_trigger binary=bin/ios-deploy proc=device_trigger type=proc_start INFO[0001] Process start - stf_ios_provider binary=/usr/local/opt/node@12/bin/node client_hostname=macs-MacBook-Pro.local client_ip=192.168.29.236 location=macmini/macs-MacBook-Pro.local proc=stf_ios_provider server_hostname=192.168.29.236 server_ip=192.168.29.236 type=proc_start INFO[0004] Device object created dev_ios_port=9240 dev_name="Codoid’s iPhone" dev_uuid="001E" type=devd_create usbmuxd_port=9920 vid_port=8000 vnc_port=5901 wda_port=8100 INFO[0004] Device connected dev_name="Codoid’s iPhone" dev_uuid="001E" type=dev_connect trying to get ios version INFO[0006] Duplicate Device connect... dev_uuid="001E" type=dev_connect INFO[0006] Process start - wdaproxy --iosDeploy=bin/ios-deploy binary=../wdaproxy iosVersion=15.2.1 proc=wdaproxy type=proc_start uuid="001E" wdaPort=8100

This is were it gets stuck and not moving further

linhvv12 commented 2 years ago

HI @Immanuel-Codoid. Have you run successful IOS on STF yet?. You can show image web stf to mange devices STF. thanks

Immanuel-Codoid commented 1 year ago

I'm still stuck with the same issue @linhvv12 , did you sort the issue out?, able to run ios on STF?

nanoscopic commented 1 year ago

Was this ever resolved?

nanoscopic commented 1 year ago

I'm closing this issue as it was opened titled with the error you get when config.json has a typo in in and is not proper JSON. Please open a new issue for any additional issue if you still have it.