Hy everybody, I'm trying to connect to a remote streaming server by HTTPS but console keep telling me that ATS blocked a cleartext HTTP.
Since the remote server is a third party server, I connected with OpenSSL and saw this informations:
I played with the plist and tried different ways but still I can't connect (if I bypass ATS the URL open the stream flawlessy).
Here it's my actual configuration:
Any suggestion where I can be wrong?
I thank you in advance.
Fabrizio
Try removing all configuration an keep on
NSExceptionRequiresForwardSecrecy
toNO
According to Apple documentation here are supported Ciphers
You can find more details here ATS Configuration Basics
If this do not work for you, you should figure out the url that is being blocked by ATS to check if your server is redirecting your request to an other url.
If you are playing a Fairplay stream, try printing
yourPlayerItem.errorLog()
you will see if your stream keys server url is being blocked by ATS. In that case you must add the suitable exception.Hope this helps you, it is exactly what I made to solve the same problem.