44

When I use AVPlayerItem(url: customUrl) from my app I get following runtime error:

CredStore - performQuery - Error copying matching creds.  Error=-25300, query={
    class = inet;
    "m_Limit" = "m_LimitAll";
    "r_Attributes" = 1;
    sync = syna;
}

The error is harmless, it just spams my console. The funny thing is I only get this error from main app, not from keyboard extension where the exact same code resides. It should be noted I'm accessing a https url with a .mp3 file. Any ideas how to silence the runtime error?

Warpzit
  • 27,966
  • 19
  • 103
  • 155
  • 6
    Possible duplicate of [Can't play mp3 file over HTTP via AVPlayer](https://stackoverflow.com/questions/46434004/cant-play-mp3-file-over-http-via-avplayer) – Illya Bakurov Nov 24 '17 at 17:15
  • 1
    @IllyaBakurov Finally had time to look at it. No even with Allow Arbitrary Loads set to true we still get the error. Also we're calling HTTPS and everything works except we get a warning. – Warpzit Dec 06 '17 at 12:11
  • I'm also getting the same error. I'm running http//doimain/playlist.m3u8 video url.. when project sample its working but not for my url #AVP player – siva Jan 24 '18 at 09:38
  • 3
    The error code corresponds with [`errSecItemNotFound`](https://developer.apple.com/documentation/security/1542001-security_framework_result_codes/errsecitemnotfound?language=objc), for what that's worth. – msbit Sep 24 '18 at 07:25
  • 2
    And so, this might be the same as https://stackoverflow.com/questions/46099940/credstore-perform-query-error, namely that the server may be requesting a client TLS certificate on connection. – msbit Sep 24 '18 at 07:29
  • 4
    Possible duplicate of [CredStore Perform Query error](https://stackoverflow.com/questions/46099940/credstore-perform-query-error) – Bram Nov 23 '18 at 10:19
  • 1
    You can check Error Code Here https://www.osstatus.com/search/results?platform=all&framework=all&search=-25300 – shtnkgm Feb 01 '19 at 14:11

1 Answers1

1

This is an error when system tries to access the keychain item and which is not found. Refer Link for more information

@constant errSecItemNotFound The item cannot be found.

errSecItemNotFound = -25300

So internally AVFoundation, Speech To Text like frameworks are using Keychain itself.

If you are getting this issue in your own codes:

Refer: Link

Community
  • 1
  • 1
Saranjith
  • 11,242
  • 5
  • 69
  • 122