Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ip detection for modern 4.10.12 wda is broken #144

Closed
vdelendik opened this issue Dec 14, 2022 · 2 comments
Closed

ip detection for modern 4.10.12 wda is broken #144

vdelendik opened this issue Dec 14, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@vdelendik
Copy link
Contributor

we know that for 4.1.4 we could parse wda host/ip from log message during wda startup.
but in the modern wda releases log message format was changed:
{"fields.msg":"2022-12-13 16:56:20.796411+0300 WebDriverAgentRunner-Runner[27575:4609350] ServerURLHere-\u003ehttp://192.168.89.19:8100\u003c-ServerURLHere\n","fields.time":28890969122592,"level":"info","msg":"outputReceived:fromProcess:atTime:","pid":27575,"time":"2022-12-13T05:56:20-08:00"}

as result we can't detect ip address anymore and can't register iOS device in STF.
let's adjust parser steps to support both, old and new wda versions.

zebrunner/appium#147

@vdelendik vdelendik added the bug Something isn't working label Dec 14, 2022
@vdelendik vdelendik added this to the 2.4 milestone Dec 14, 2022
vdelendik pushed a commit that referenced this issue Dec 14, 2022
@vdelendik
Copy link
Contributor Author

fixed by removing this code completely. after using port forwarding for WDA we don't need anymore it's ip address.

@dhreben
Copy link

dhreben commented Jan 6, 2023

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants