Android webview CreatePlatformSocket() 失败:机器不在网络上

发布于 2025-01-11 23:01:12 字数 370 浏览 2 评论 0原文

第一次以编程方式连接到物联网设备的 wifi 网络时,物联网设备将在配置更改后手动断开连接到不同的 wifi 网络,同时加载 webview 总是抛出此错误

E/GPUAUX: [AUX]GuiExtAuxCheckAuxPath:663: Null anb

E/chromium: [错误:socket_posix.cc(96)] CreatePlatformSocket() 失败: 机器不在网络上 (64)

webview onerror回调返回

error.description -> net::ERR_INTERNET_DISCONNECTED

error.code ->; -1 / -2

但重新启动后工作正常

At first connecting to wifi network of iot device programmatically at one point iot device will disconnect that time manually connecting to different wifi network after this configuration change while loading the webview always throws this error

E/GPUAUX: [AUX]GuiExtAuxCheckAuxPath:663: Null anb

E/chromium: [ERROR:socket_posix.cc(96)] CreatePlatformSocket() failed: Machine is not on the network (64)

webview onerror callback returns

error.description -> net::ERR_INTERNET_DISCONNECTED

error.code -> -1 / -2

But after relaunching its working fine

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文