react-native-audio-streaming
react-native-audio-streaming copied to clipboard
CFNetwork SSLHandshake failed (-9824)
Hello,
I keep getting the error CFNetwork SSLHandshake failed (-9824) in the Xcode console. I have googled already and my Info.plist looks like this:
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>my_domain.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
<key>NSTemporaryExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
But that didn't help. Has anyone experienced this also and found a solution?
Did you ever figure this out? I'm noticing this particularly on some HTTPS URLs, it almost seems like it's some sort of SSL error, though I can't figure out how to bypass it. Nothing in the info.plist helps. HTTP URLs work fine. I may just rewrite the URLs to use HTTP in the interim. The URLs in my case are arbitrary, I don't have control over the servers hosting the media files.