stf icon indicating copy to clipboard operation
stf copied to clipboard

stf api failed to authenticate to 192.168.187.109:7409

Open djcm75 opened this issue 8 years ago • 4 comments

Hi I use stf api inside a docker container to access devices connected on aother system. The same docker image and api code works on production environment but fails on local environment I get this response back from stf "success":true,"remoteConnectUrl":"192.168.187.109:7409" followed by this line failed to authenticate to 192.168.187.109:7409 The user account associated with the container is root. I suspect it is an adb permission problem, I verified that keys are copied to container root/.andorid folder

Please advise how to grant permissions

djcm75 avatar Nov 27 '18 07:11 djcm75

Hi Stf automatically generates a new key called "unknown" , inspite of deleting the key, it keeps getting added to the list of keys, when ever I use the adb connect command inside a docker container. I suspect stf isn't use the key provided in the container located in /root/.android folder

djcm75 avatar Nov 27 '18 11:11 djcm75

hello @djcm75 , have you got the answer for that ? i am facing the same issue currently. thx.

rugaba avatar Apr 19 '19 10:04 rugaba

Yes, the problem was with adb ver 40.0, If you downgrade to version 39.0, you wont experience the bug. There was an oldver version of adb lying on the system, I simply copyied the older adb file into the container , it solved the problem

djcm75 avatar Apr 19 '19 14:04 djcm75

thx @djcm75 , it worked !!

ghost avatar Apr 25 '19 10:04 ghost