-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Can't connect via Wifi to iOS10.x devices in China #288
Comments
the same |
Doy you have any error? |
sure!both at the same wifi |
I just checked iOS 10.x device and it works fine. Make sure you don't have any networking issues. Your router might be blocking connections etc. |
I make sure networking is fine, because it works fine at iOS 9.3.5 iPhone 6 Plus,so i was confused why my iPhone 6s 10.0.1 was not fine, |
The Runner could be build into iPhone ,but could not inspect through the url |
i try to telnet iPhone's IP with port 8100,is not fine. |
I am not sure how I can help you here. Can you try different device on different network? |
XCode Version 8.0 (8A218a) |
@sencho did you try maybe using usb proxy to talk to device? |
@drptbl Wait, this issue is about WDA not working on devices. Your query shows that it is definitely working. You just hit unhandled endpoint. Mark that "/" is not handled as expected. You should try e.g. "/inspector" instead. |
@marekcirkos you're totally right. I'm sorry for bothering you. |
same issue: |
@BigWavelet make sure you are on the same Wi-Fi network and that network does not block your connections. |
yes. i am sure they are on the same network. and i can ping the ip successfully |
I am sorry, but I don't know how I can help you. I checked few times and devices work for us on iOS 10. Only thing I can come up with is your's network configuration may block certain ports or maybe device settings. |
update my issue info, in my network, the pc ip is 192.168.241.195,my ios10 device ip is 172.18.156.69,but they are in the same network. I can ping the ip foreach.my ios9 device ip is 172.18.149.114,when my ios 9 device run wda, it work normal. 172.18.149.114:8100/inspector can be connect. but in ios10 device when I run wda,it can be run ,but 172.18.156.69:8100/inspector cant be connect....is there any different for wda run in different ip section in the same network to ios 10 device? |
@marekcrkos I found a relationship with the iPhone model, the problem is licensed machine in China to support TD-LTE models, such as the A1700 6s,I have tried iPhone 6s/6s Plus/6 Plus all are iOS 10.0.x. please re-verify. |
i have got this error....help me! |
can i communicate with WD server use socket but http?now there is a bug in communicate between server with client. |
I am also having an issue with an iPhone 6 running iOS 10.0.1. Appium establishes connection, WDA app is launched but then minimized and then it just sits waiting. I do not see any errors in the Appium output. Device is accessible at port 8100 and gives this response:
The latest output from Appium is:
Any ideas what might be going wrong? |
there is a framework called GCDWebServer(https://github.com/swisspol/GCDWebServer), maybe can instead RoutingHTTPServer.with RoutingHTTPServer, i cannot access, but use GCDWebServer i can access.so i suggest using GCDWebServer instead of RoutingHTTPServer. |
@nspassov This is unrelated issues, you definitely can reach device, but use bad endpoint. This is expected as we do not handle pain |
@sixleaves You should give it a try, and let us know. |
@marekcirkos Yes, initially Appium establishes connection, but then it just stops and my test does not run. |
@nspassov You should talk to Appium |
i found there is a same error in CocoaAsyncSocket framework.but i don't no how to modify.and the error only happend when u use the iphone that licensed machine in China to support TD-LTE models..... @marekcirkos |
i have the same problem.... |
i test it at iOS9+iphone6、6plus,it can work。 |
Any updates about this issue? I tested 4 real devices. |
use |
Is this all China iPhones? It is a bit interesting. |
Yes, only China iPhones have this problem. I tried iPhones from other countries, they work fine. |
@codeskyblue can u give me more details about using iproxy or a web link? |
Added this issues to know issues https://github.com/facebook/WebDriverAgent/wiki/Common-Issues |
@Royshcn see my blog https://testerhome.com/topics/6331 |
@codeskyblue Thanks for your information. |
Closing in favour of Wiki - Known issue |
@marekcirkos In China iOS 10.x, apple has a new feature, "Apps Using WLAN & Cellular". If app not in this list, it cannot use WLAN. But webdriveragent is XCUITest, not an app. So WDA would not be allowed to use WLAN. |
@noshuai Actually all XCUITests are wrapped in separate applications, so you should be able to add it to the list. |
@sencho Is solved? I have a same problem, and I don't know how to do?Can u help me ? |
@lijiarui12 ,not yet,we through USB. |
@sencho ,Thanks for your help, but I have another question.
|
You need to update WDA. master version does not use them anymore |
@marekcirkos yeah,u'r right.Thank u. |
@marekcirkos Sorry my English is bad.I use usb proxy to talk to device,The url which talk to device is "localhost:8100",not "DeviceIP:8100".Maybe you can descript it in the page https://github.com/facebook/WebDriverAgent/wiki/USB-support |
@milkcandylmt You need set "capabilities.setCapability("usePrebuiltWDA", true);"in your Java Project. Then use usb proxy to talk to device. |
@lijiarui12 OK,I'll try it.Thank u. |
Its not relevant to add my question. I think you guys can help me out. |
if i connect lightning connector which has 2's lightening port. That connector has the below specification. |
I don't know. Maybe try? |
Remove ios-webviewapp dep and use uicatalog
@marekcirkos @noshuai Is there any way to solve it? Our team have to automate over wifi. |
iOS10.0.1 iPhone 6s Device is not work,Xcode Run test is OK,but when i visit the inspector through the url is not work.but in iOS 9.3.5 Device is OK.
2016-09-18 18:23:04.222588 XCTRunner[1568:332260] [Accessibility] ****************** Loading GAX Client Bundle **************** 2016-09-18 18:23:04.311613 XCTRunner[1568:332260] Running tests... 2016-09-18 18:23:05.215474 XCTRunner[1568:332260] Continuing to run tests in the background with task ID 1 Test Suite 'All tests' started at 2016-09-18 18:23:06.075 Test Suite 'WebDriverAgentRunner.xctest' started at 2016-09-18 18:23:06.076 Test Suite 'UITestingUITests' started at 2016-09-18 18:23:06.076 Test Case '-[UITestingUITests testRunner]' started. t = 0.00s Start Test at 2016-09-18 18:23:06.078 t = 0.00s Set Up 2016-09-18 18:23:06.082197 XCTRunner[1568:332291] [User Defaults] Failed to write value for key AutomationDisableFauxCollectionCells in CFPrefsPlistSource<0x1740e9b00> (Domain: com.apple.Accessibility, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null)): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access, switching to read-only 2016-09-18 18:23:06.085160 XCTRunner[1568:332260] Built at Sep 18 2016 18:22:55 2016-09-18 18:23:06.113981 XCTRunner[1568:332260] ServerURLHere->http://192.168.0.115:8100<-ServerURLHere 2016-09-18 18:23:06.114477 XCTRunner[1568:332260] Listening on USB
The text was updated successfully, but these errors were encountered: