I use a PAC file to provide a network auto proxy.
But the same PAC file works fine in windows/android platform and doesn’t work in MacOS/IOS.
I tested the protocol of the web server for the PAC file(http/https), tested MIME, tested the filename and IP.
Eventually I found out that the alert method in my PAC script would cause this.
So remove it.
test tool: https://thorsen.pm/proxyforurl