首页 > 解决方案 > React Native IOS - 接收失败,错误“软件导致连接中止”

问题描述

这是我第一次弹出在 Expo 中构建的应用程序,但是当我从应用程序的后台返回时,我得到了一些奇怪的日志,有时它给了我网络错误。我也使用 Socket.IO,因此我也断开了与它的连接

知道它可能是什么以及应该如何解决吗?

2021-01-28 15:44:21.919753+0000 client[15322:3152792] BackgroundSession <4FD896C2-975D-48B7-A148-99A86AF85CD1> connection to background transfer daemon interrupted
2021-01-28 15:44:21.922110+0000 client[15322:3152745] BackgroundSession <B895AD11-0ABE-42C6-B1C3-201FE16EE801> connection to background transfer daemon interrupted
2021-01-28 15:44:21.924908+0000 client[15322:3152787] BackgroundSession <4FD896C2-975D-48B7-A148-99A86AF85CD1> connection to background transfer daemon invalidated
2021-01-28 15:44:21.927499+0000 client[15322:3152745] BackgroundSession <B895AD11-0ABE-42C6-B1C3-201FE16EE801> connection to background transfer daemon invalidated
2021-01-28 15:44:21.927135+0000 client[15322:3152694] [connection] nw_read_request_report [C18] Receive failed with error "Software caused connection abort"
2021-01-28 15:44:21.931216+0000 client[15322:3152694] [connection] nw_read_request_report [C21] Receive failed with error "Software caused connection abort"
2021-01-28 15:44:21.934258+0000 client[15322:3152694] [connection] nw_read_request_report [C1] Receive failed with error "Software caused connection abort"

标签: iosreact-nativesocket.io

解决方案


推荐阅读