NSURLConnection finished with error - code -1002 : <p>Friends i have simple audio player (MPMoviePlayerController) which can play audio stream. On iOS 11 i have very interessing trouble, thousand time i have error and my stream was stopped:</p>

<pre><code>NSURLConnection finished with error - code -1002
</code></pre>

<p>I paste this code (this code i saw on stackowerflow) but it's not help to me:</p>

<pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;NSExceptionDomains&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;cast.mysite.com&lt;/key&gt;
            &lt;dict&gt;
                &lt;key&gt;NSExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
                &lt;true/&gt;
                &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
                &lt;true/&gt;
            &lt;/dict&gt;
        &lt;/dict&gt;
    &lt;/dict&gt;
</code></pre>

<p>Maybe you know best solution?</p>
