Closed wwlacy6 closed 7 years ago
There are 2 servers: DeviceAgent on port 27753 and the LPServer on 37265.
I had the same problem and solution was run it on iOS 9 emulator, fails on 10.2 (maybe some incompatibiles with iOS 10? hmm)
The issue was actually due to the phone and my laptop being on different wifi networks. Once I set both to the same network I no longer have this issue. Hopefully this works for you too @matopeto
I am setting the following device endpoint:
export DEVICE_ENDPOINT=http://F2LPJAYDG5QF.local:37265
However, when in calabash-ios console I attempt to run
start_test_server_in_background
with DEBUG=1 I get a runtime error:The thing that stands out to me is that it is using the url with the port 27753, which I did not specify. Where is it getting that from? And how can I make it use 37265?
Also, I noticed that issue #1233 also has this same error message and incorrect port.