500 error when streaming to apple devicesRSS

7 replies

Last post Jun 10, 2014 07:23 AM by weichung

  • 500 error when streaming to apple devices

    Sep 13, 2012 11:48 AM|comporder1|LINK

    I am getting 500.0.5.31 error when ios devices request fragments. I have searched for iis media error codes but not found anything. can anyone provide some insight?

     

    2012-09-13 15:29:02 172.17.***.*** GET /**********/iphone/nwcc-m3u8-aapl.ism QualityLevels(464000)&Fragments(video=0,format=m3u8-aapl) 80 - ***.***.120.32 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 31 

     

     Thanks

    Carey

  • Re: 500 error when streaming to apple devices

    Sep 13, 2012 02:14 PM|comporder1|LINK

    I should have mentioned. This is a fresh 2012 server with IIS8 and media services 4.1. The same exact files work fine on a 2k8 server with IIS7.

    Thanks in advance for suggestions.

    Carey

  • Re: 500 error when streaming to apple devices

    Sep 13, 2012 02:57 PM|Bo Hong|LINK

    500 is a general error for server side issues. 

    So you can get the playlists successfully?

    Did you see any errors in event logs (Windows logs -> Application)?

  • Re: 500 error when streaming to apple devices

    Sep 13, 2012 04:35 PM|comporder1|LINK

    Thank you for the reply Bo. You have helped me in the past.

    There are no IIS related errors in the event logs. Below is a complete iis iphone request log. The result is the ios device displaying "The operation could not be completed" two times.

    2012-09-13 20:18:49 172.17.***.*** GET /******/iphone/ - 80 - ***.***.120.22 Mozilla/5.0+(iPhone;+CPU+iPhone+OS+5_0_1+like+Mac+OS+X)+AppleWebKit/534.46+(KHTML,+like+Gecko)+Version/5.1+Mobile/9A405+Safari/7534.48.3 http://*******.com/**********.html 200 0 0 46
    2012-09-13 20:18:52 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 100
    2012-09-13 20:18:57 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 31
    2012-09-13 20:18:58 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 46
    2012-09-13 20:18:58 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(164000)&manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 78
    2012-09-13 20:18:58 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(164000)&Fragments(video=0,format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 64
    2012-09-13 20:18:59 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(64000)&manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 180
    2012-09-13 20:18:59 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(64000)&Fragments(audio=0,format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 78
    2012-09-13 20:19:01 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(264000)&manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 174
    2012-09-13 20:19:01 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(264000)&Fragments(video=0,format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 78
    2012-09-13 20:19:01 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(464000)&manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 93
    2012-09-13 20:19:02 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(464000)&Fragments(video=0,format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 109
    2012-09-13 20:19:02 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(764000)&manifest(format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 200 0 0 158
    2012-09-13 20:19:03 172.17.***.*** GET /******/iphone/jcjc-m3u8-aapl.ism QualityLevels(764000)&Fragments(video=0,format=m3u8-aapl) 80 - ***.***.120.22 AppleCoreMedia/1.0.0.9A405+(iPhone;+U;+CPU+OS+5_0_1+like+Mac+OS+X;+en_us) - 500 0 5 156

    The folder contents are:

    • index.html
    • jcjc_Thumb.jpeg
    • jcjc-m3u8-aapl.ism
    • jcjc-m3u8-aapl.m3u8
    • jcjc-m3u8-aapl-64000.ismx
    • jcjc-m3u8-aapl-64000.m3u8
    • jcjc-m3u8-aapl-64000.ts
    • jcjc-m3u8-aapl-164000.ismx
    • jcjc-m3u8-aapl-164000.m3u8
    • jcjc-m3u8-aapl-164000.ts
    • jcjc-m3u8-aapl-264000.ismx
    • jcjc-m3u8-aapl-264000.m3u8
    • jcjc-m3u8-aapl-264000.ts
    • jcjc-m3u8-aapl-464000.ismx
    • jcjc-m3u8-aapl-464000.m3u8
    • jcjc-m3u8-aapl-464000.ts
    • jcjc-m3u8-aapl-764000.ismx
    • jcjc-m3u8-aapl-764000.m3u8
    • jcjc-m3u8-aapl-764000.ts

    We have many videos configured the same way and all are giving the same errors when playing on ios devices.

    Thanks again for your help,

    Carey

  • Re: 500 error when streaming to apple devices

    Sep 18, 2012 11:28 AM|comporder1|LINK

    Any ideas Bo?

  • Re: 500 error when streaming to apple devices

    Sep 19, 2012 02:46 PM|Bo Hong|LINK

    Can you help collect the debugging trace? I will send you the instructions through email.

  • Re: 500 error when streaming to apple devices

    Jun 09, 2014 07:39 AM|weichung|LINK

    Hi,

    Could someone please post the instructions or solutions if there are any, I met this issue too.

    I got 500 error upon requesting the first fragment: 2014-06-09 07:57:36 xxx.xxx.xxx.xxx GET xx/HLS/test/test-m3u8-aapl.ism QualityLevels(377718)&Fragments(Video=0,format=m3u8-aapl) 80 - xxx.xxx.xxx.xxx testplayer/3.1.0407+CFNetwork/548.1.4+Darwin/11.0.0 - 500 0 1326 274 31 

    After some googling, I found this,

    http://blogs.msdn.com/b/playready4/archive/2013/03/19/things-that-can-go-wrong-when-setting-up-hls-on-iis-media-services.aspx?CommentPosted=true#commentmessage

    It said that IIS Media Service 4.1.0938.455 or later version fixed the issue, but I couldn't find any version later than 4.1.0938.454.

    Please someone help

    weichung

  • Re: 500 error when streaming to apple devices

    Jun 10, 2014 07:23 AM|weichung|LINK

    I fixed this problem myself, just post here in case someone might need it.

    I changed the value of "Identity" in the DefaultAppPool to the account I used for current application, instead of default setting - AppPoolIdentity, then suddenly everything work like a charm.

    It seems for iOS devices that a proper identity is necessary for video fragment retrieving but not for manifest? On the other hand, smooth streaming is totally free from this chaos. 

    weichung