Multipeer Connectivity Not Working Across iOS 9 and 10

Originator:clarence
Number:rdar://27243227 Date Originated:08-Jul-2016 12:03 PM
Status:Closed Resolved:No
Product:iOS Product Version:iOS 10 (14A5297c) and iOS 9.3.1 (13E238)
Classification: Reproducible:Yes
 
Area:
Something not on this list

Summary:
- Two devices, one running iOS 9 and the other running iOS 10.
- Devices can find each other under bluetooth, but cannot connect to each other.
- Devices can connect each other using Wi-Fi but not Bluetooth.
- Bluetooth: From MCSessionDelegate.session(:peer:didChange:), the state goes to 1(connecting) after calling invitationHandler(true, session) but then goes back to 0(not connected).

Steps to Reproduce:
As illustrated above.

Expected Results:
Devices should be able to connect each other after the invitationHandler(true, session), session state should be 2 (connected).

Actual Results:
Devices not be able to connect each other after the invitationHandler(true, session), session state falls back to 0 (not connected).

Version:
 iOS 10 (14A5297c) and iOS 9.3.1 (13E238)

Notes:


Configuration:
iPhone 6s Plus 64GB w/ iOS 10 (14A5297c) and iPhone 6 64GB w/ iOS 9.3.1 (13E238)

Attachments:
'blucomm-log.pdf' was successfully uploaded.

Comments

Apple Developer Relations

Engineering has determined that your bug report is a duplicate of another issue and will be closed.

The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.

If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.

Using Xcode Version 10.1 (10B61) and issue still continues.

Keep getting logs like these: 2018-12-03 14:41:34.196061-0700 ARMultiuser[7495:2332388] [ERROR] ProcessEvent:1199 Send BINDING_REQUEST failed(C01A0041). 2018-12-03 14:41:35.253387-0700 ARMultiuser[7495:2332242] [Technique] World tracking performance is being affected by resource constraints [1] 2018-12-03 14:41:35.576271-0700 ARMultiuser[7495:2332388] [ERROR] ProcessEvent:1199 Send BINDING_REQUEST failed(C01A0041). 2018-12-03 14:41:35.592925-0700 ARMultiuser[7495:2332388] [ERROR] ProcessEvent:1199 Send BINDING_REQUEST failed(C01A0041). 2018-12-03 14:41:35.658575-0700 ARMultiuser[7495:2332388] [ERROR] ProcessEvent:1199 Send BINDING_REQUEST failed(C01A0041). 2018-12-03 14:41:35.717461-0700 ARMultiuser[7495:2332388] [ERROR] ProcessEvent:1199 Send BINDING_REQUEST failed(C01A0041). 2018-12-03 14:41:36.364909-0700 ARMultiuser[7495:2332183] [GCKSession] Not in connected state, so giving up for participant [66BBE300] on channel [0]. 2018-12-03 14:41:36.375585-0700 ARMultiuser[7495:2332183] [GCKSession] Not in connected state, so giving up for participant [66BBE300] on channel [1]. 2018-12-03 14:41:36.380080-0700 ARMultiuser[7495:2332183] [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1723589376) 2018-12-03 14:41:36.380144-0700 ARMultiuser[7495:2332183] [GCKSession] Not in connected state, so giving up for participant [66BBE300] on channel [2]. 2018-12-03 14:41:

By thedcode2010 at Dec. 3, 2018, 11:36 p.m. (reply...)

Clarence Ji 02-Sep-2016 03:40 PM

Finished logging the Bluetooth activity. Please check the attached file.

App name: BluComm Time: start: 11:40:38 (GMT+1) end: 11:40:58 (GMT+1)

'sysdiag-iphone-6s-plus-ios-10.0-14A5346a.zip' was successfully uploaded.

Apple Developer Relations 24-Aug-2016 06:47 PM

Please provide Bluetooth logging and a timestamp when the issue occurred.

Directions: https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/Bluetooth_Logging_Instructions__iPhone_and_Apple_Watch.pdf

Profile: https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/bluetoothwirelessproximity.mobileconfig

Clarence Ji 12-Aug-2016 10:40 AM

After testing with the latest iOS 10 beta build (14A5335b), I could not see the sign that the issue had been solved. The issue is about establishing multipeer connectivity connection between two devices that only have Bluetooth turned on. Here's the console log from the iPhone running iOS 10 beta:

Found Peer: Clarence A1457 Peer Clarence A1457 status changed: 1 2016-08-12 10:23:23.269661 BluComm[4528:828289] [ViceroyTrace] [ICE][ERROR] ICEStopConnectivityCheck() found no ICE check with call id (1324042314) 2016-08-12 10:23:23.365691 BluComm[4528:828287] [MCNearbyServiceBrowser] Browser got invite response with nil connectionData. Invitation Received from Peer: Clarence A1457 2016-08-12 10:23:23.961609 BluComm[4528:828289] [ViceroyTrace] [ICE][ERROR] ICEStopConnectivityCheck() found no ICE check with call id (1324042314) 2016-08-12 10:23:24.057171 BluComm[4528:828289] [MCNearbyServiceAdvertiser] Advertiser got invite with nil connectionData. 2016-08-12 10:23:33.404197 BluComm[4528:828341] [GCKSession] Not in connected state, so giving up for participant [4EEB484A] on channel [0]. 2016-08-12 10:23:33.404945 BluComm[4528:828341] [ViceroyTrace] [ICE][ERROR] ICEStopConnectivityCheck() found no ICE check with call id (1324042314) 2016-08-12 10:23:33.405198 BluComm[4528:828341] [GCKSession] Not in connected state, so giving up for participant [4EEB484A] on channel [1]. 2016-08-12 10:23:33.405286 BluComm[4528:828341] [ViceroyTrace] [ICE][ERROR] ICEStopConnectivityCheck() found no ICE check with call id (1324042314) 2016-08-12 10:23:33.405411 BluComm[4528:828341] [GCKSession] Not in connected state, so giving up for participant [4EEB484A] on channel [2]. 2016-08-12 10:23:33.406595 BluComm[4528:828341] [ViceroyTrace] [ICE][ERROR] ICEStopConnectivityCheck() found no ICE check with call id (1324042314) Peer Clarence A1457 status changed: 0 2016-08-12 10:23:34.098040 BluComm[4528:828289] [MCNearbyServiceAdvertiser] Data from peer [Clarence A1457,4EEB484A] received with error Connection closed.

Apple Developer Relations

Please verify this issue with the latest iOS 10 beta build and update your bug report at https://bugreport.apple.com/ with your results.

iOS 10 beta 5 (Build: 14A5335b) https://developer.apple.com/download/ Posted Date: August 9th, 2016


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!