WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
198499
Network connection fails with error 53 just after NetworkProcess resumes
https://bugs.webkit.org/show_bug.cgi?id=198499
Summary
Network connection fails with error 53 just after NetworkProcess resumes
Ali Juma
Reported
2019-06-03 14:42:42 PDT
Created
attachment 371215
[details]
Test app that reproduces the bug Steps to reproduce on an iOS device: 1) Create a WKWebView and load some content into that view 2) Hide that view, triggering its NetworkProcess to get suspended 3) Wait 10-20 seconds 4) Create another WKWebView using the same WKWebViewConfiguration (and hence the same WKProcessPool and NetworkProcess) and call loadRequest Sometimes, the load at (4) will fail and an error will be logged: “com.apple.WebKit.Networking 27551 nw_protocol_boringssl_error(1584) <private>[0x109155030] Lower protocol stack error: 53” This only happens on-device. To reproduce this, it seems to be critical that: -both WKWebViews use the same WKProcessPool -the first WKWebView is hidden and its processes suspended -the second WKWebView starts a loadRequest around the same time that the NetworkProcess resumes
Attachments
Test app that reproduces the bug
(58.84 KB, application/zip)
2019-06-03 14:42 PDT
,
Ali Juma
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
John Wu
Comment 1
2019-06-03 16:21:57 PDT
GitHub issue that points to a related issue where firing network requests as the process if coming back into the foreground would produce the same error code 53:
https://github.com/AFNetworking/AFNetworking/issues/4279
John Wu
Comment 2
2019-06-03 17:01:25 PDT
I have no idea why this may be, but it is infinitely easier to reproduce this when you have the Console.app connected to the iOS device.
Radar WebKit Bug Importer
Comment 3
2019-06-05 22:13:31 PDT
<
rdar://problem/51469591
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug