Email Traffic Blocked by Automatic Proxy Settings in iOS and iPadOS 13
After upgrading to iOS and iPadOS 13, all internet email accounts (Gmail, ISP, all port 993 IMAP accounts) are unable to sync when the Settings>Wi-Fi> HTTP PROXY > Automatic Proxy is set to any proxy.pac file that uses a proxy.
All other traffic works and is routed correctly through the proxy, and all email and web traffic on all iOS 12 devices works correctly.
Does anyone else see this and know of a workaround?
I have created a minimum working example of the bug. Here is a sample proxy.pac file that shows the problem:
function FindProxyForURL(url, host)
{
// return "DIRECT";
return "PROXY 10.0.1.3:3129";
}
I have confirmed the issue with my own deployed proxy, and a standalone "mitmproxy" proxy to debug this issue. Here's a fast way to stand up a proxy:
sudo port install python37 py37-pip
sudo pip-3.7 install mitmproxy ruamel.yaml ruamel.yaml.clib
mitmproxy-3.7 --listen-host servername --listen-port 3129 --set flow_detail=2 --set termlog_verbosity=debug --verbose
iPad Pro 12.9-inch, 2nd Gen, Wi-Fi