Failed POSTs in Webkit

Hey All!

I am debugging an error that happens on my company's client's sites that run our Javascript. We initiate POST requests from Safari, and while the browser appears to acknowledge a response by showing headers, a 200 status code, etc, the request appears as failed, with no explanation as to what happened.

I have collected log output from the browser, which is showing me errors that suggest the request was prematurely cancelled, but I have no idea why that would happen.

I am hoping someone can help me parse this output and point me in the right direction to the cause of the error. Please help! Thank you!

Code Block text
2020-11-18 18:08:46.245389-0800 Safari[44565:4822005] [Process] 0x7f977c90c020 - [pageProxyID=8, webPageID=25, PID=44711] WebPageProxy::didFailProvisionalLoadForFrame: frameID = 1289, domain = NSURLErrorDomain, code = -999
2020-11-18 18:08:46.245477-0800 Safari[44565:4822005] [WebKit2Callbacks] Web view (pid: 44711) did fail provisional load in subframe with error Error Domain=NSURLErrorDomain Code=-999 "(null)"
2020-11-18 18:08:46.261321-0800 com.apple.WebKit.Networking[44693:4880834] Connection 349: unable to determine interface type without an established connection


I just had exactly the same issue and error message. After a while I realised that the problem was my internet and I had to restart the router :) Hope this helps
Failed POSTs in Webkit
 
 
Q