# Syncmanager getting crash in aeroplane mode

**URL:** <https://community.sendbird.com/t/syncmanager-getting-crash-in-aeroplane-mode/1557>\
**Category:** iOS\
**Tags:** syncmanager, chatsdk\
**Created:** [January 10, 2021, 7:44pm UTC](https://community.sendbird.com/t/syncmanager-getting-crash-in-aeroplane-mode/1557 "2021-01-10T19:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav02712](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/gaurav02712/32/809_2.png) [@gaurav02712](https://community.sendbird.com/u/gaurav02712)\
**Post date:** [January 10, 2021, 7:44pm UTC](https://community.sendbird.com/t/syncmanager-getting-crash-in-aeroplane-mode/1557/1 "2021-01-10T19:44:03Z")

</div>

Getting crash every time when I try to test syncmanager in offline mode, for offline mode whenever I just turn off data and wifi option or to switch on aeroplane mode, device automatically become detached with below mention details.  
**Version I am using**

> ```
> SendBirdSDK (3.0.193)
> SendBirdSyncManager (1.1.26)
> 
> ```

**Error message**

> Lost connection to the debugger on “iPhone”.

**On opening error detail**

> Lost connection to the debugger on “iPhone”.  
> Domain: IDEDebugSessionErrorDomain

**Error on debugger**

> \*\*2021-01-11 00:58:25.911262+0530 SendBird-iOS[2346:424963] Connection 6: received failure notification  
> \*\*2021-01-11 00:58:25.911374+0530 SendBird-iOS[2346:424963] Connection 6: failed to connect 12:8, reason -1  
> \*\*2021-01-11 00:58:25.911426+0530 SendBird-iOS[2346:424963] Connection 6: encountered error(12:8)  
> \*\*2021-01-11 00:58:25.911225+0530 SendBird-iOS[2346:425207] [connection] nw\_connection\_get\_connected\_socket [C5] Client called nw\_connection\_get\_connected\_socket on unconnected nw\_connection  
> \*\*2021-01-11 00:58:25.911645+0530 SendBird-iOS[2346:425207] TCP Conn 0x28228e890 Failed : error 0:-65554 [-65554]  
> \*\*2021-01-11 00:58:25.927569+0530 SendBird-iOS[2346:425206] Task .\<8\> HTTP load failed, 0/0 bytes (error code: -1009 [12:8])  
> \*\*2021-01-11 00:58:25.935435+0530 SendBird-iOS[2346:425206] Task .\<8\> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 “The Internet connection appears to be offline.” UserInfo={\_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x281b40870 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 “(null)” UserInfo={\_kCFStreamErrorCodeKey=8, \_kCFStreamErrorDomainKey=12}}, \_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .\<8\>, \_NSURLErrorRelatedURLSessionTaskErrorKey=(  
> \*\*“LocalDataTask .\<8\>”  
> \*\*), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://api-\<Application\_ID\>.sendbird.com/, NSErrorFailingURLKey=https://api-\<Application\_ID\>.sendbird.com/, \_kCFStreamErrorDomainKey=12}

Getting this issue in SyncManager sample project but not in UIKIT sample.

---

<div class="post-metadata">

**Author:** ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)\
**Post date:** [January 19, 2021, 11:53pm UTC](https://community.sendbird.com/t/syncmanager-getting-crash-in-aeroplane-mode/1557/2 "2021-01-19T23:53:05Z")

</div>

Hey @gaurav02712 sorry for the late response. Would you mind to update both SendbirdSDK and SyncManager to latest version (3.0.213 and 1.1.36) and see if the issue still occurs?
