archangelz 13 Posted October 14, 2015 Posted October 14, 2015 Hi Hamstercat, Hockey season has started up again and I finally fired up my hockeystreams, there seems to be an issue where I'm getting constant disconnects. I can only watch about 3-4 minutes at any given time before I'm booted back out of the stream to the main menu. Looking at the logs I'm getting some kind of service exception during the view constantly that's kicking me out. Do you know what's going on here?? I've attached the logs for the problem below. Using 3.0.5724.6. 2015-10-13 19:51:10.4773 Error - DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. System.NullReferenceException at MediaBrowser.Api.Playback.BaseStreamingService.AttachMediaSourceInfo(StreamState state, MediaSourceInfo mediaSource, VideoStreamRequest videoRequest, String requestedUrl) at MediaBrowser.Api.Playback.BaseStreamingService.<GetState>d__2d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at MediaBrowser.Api.Playback.Hls.BaseHlsService.<ProcessRequestAsync>d__3f.MoveNext() 2015-10-13 19:51:10.4773 Error - HttpServer: Error processing request for /videos/04a947098d5883b107491ebbf23665aa/live.m3u8?DeviceId=464bc4be3eb21149fa42e093b4526107c16cff04&MediaSourceId=8ab650bcca03cb3907404a1335cba741&VideoCodec=h264&AudioCodec=aac&VideoBitrate=1372000&AudioBitrate=128000&MaxAudioChannels=2&MaxWidth=1920&MaxHeight=1080&Level=50&ClientTime=635803840341133146&Profile=high&PlaySessionId=6518c20064964de7a3a03e7d2deedc07&api_key=d048901f95dc4057a9999c7b8f6791fc *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\Raymond Chan\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\Raymond Chan\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\Raymond Chan\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. ServiceStack.HttpError No Stack Trace Available 2015-10-13 20:04:08.5653 Error - App: Error getting response from https://api.hockeystreams.com/GetLiveStream?id=41109&token=L3F6ZkxhUjVkdDZjU3ZGbWs1V0xKL3JhNmFPbmw5WGdZdmc4Z0xyQ05uK0NuZEc2NkdGWkJucEdUb2t4V1I0dXgwRURReDBjRy9vRkNpWEcrU2kwdGo1Z3NneG5MM3VMcUZpMTUrY014djQ9 *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe The request was aborted: Could not create SSL/TLS secure channel. System.Net.WebException at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) 2015-10-13 20:04:08.5653 Error - MediaSourceManager: Error getting media sources *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe The request was aborted: Could not create SSL/TLS secure channel. MediaBrowser.Model.Net.HttpException at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<Get>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Channels.HockeyStreams.StreamsApi.ApiService.<GetRequest>d__0`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Channels.HockeyStreams.StreamsApi.BaseStreamsService.<GetLiveStream>d__e.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Channels.HockeyStreams.Media.VideoProvider.LiveVideoProvider.<GetVideoUrl>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Channels.HockeyStreams.HockeyStreamsChannel.<GetChannelItemMediaInfo>d__c.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Server.Implementations.Channels.ChannelManager.<GetChannelItemMediaSourcesInternal>d__3c.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Server.Implementations.Channels.ChannelManager.<GetDynamicMediaSources>d__30.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Server.Implementations.Library.MediaSourceManager.<GetDynamicMediaSources>d__1b.MoveNext() InnerException: System.Net.WebException The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) 2015-10-13 20:04:08.5653 Error - DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. System.NullReferenceException at MediaBrowser.Api.Playback.BaseStreamingService.AttachMediaSourceInfo(StreamState state, MediaSourceInfo mediaSource, VideoStreamRequest videoRequest, String requestedUrl) at MediaBrowser.Api.Playback.BaseStreamingService.<GetState>d__2d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at MediaBrowser.Api.Playback.Hls.BaseHlsService.<ProcessRequestAsync>d__3f.MoveNext() 2015-10-13 20:04:08.5653 Error - HttpServer: Error processing request for /videos/04a947098d5883b107491ebbf23665aa/live.m3u8?DeviceId=464bc4be3eb21149fa42e093b4526107c16cff04&MediaSourceId=576c28f3a94c0e8aa255a2665f43d741&VideoCodec=h264&AudioCodec=aac&VideoBitrate=1372000&AudioBitrate=128000&MaxAudioChannels=2&MaxWidth=1920&MaxHeight=1080&Level=50&ClientTime=635803847467764864&Profile=high&PlaySessionId=502f10b0eaf241e2925d765003475726&api_key=d048901f95dc4057a9999c7b8f6791fc *** Error Report *** Version: 3.0.5724.6 Command line: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.2.9200.0 Processor count: 4 64-Bit OS: True 64-Bit Process: False Program data path: C:\Users\\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Object reference not set to an instance of an object. ServiceStack.HttpError No Stack Trace Available Archive.zip
archangelz 13 Posted October 25, 2015 Author Posted October 25, 2015 Anyone have any idea on this? My connections are still dropping out when trying to play back.
Luke 42077 Posted October 25, 2015 Posted October 25, 2015 Your system is very busy during this time so maybe that's related. Try again when the next release is out, there will be less schedules direct image downloading in the background.
archangelz 13 Posted October 30, 2015 Author Posted October 30, 2015 (edited) Version 3.0.5781.0 is worse than before. Previously I could get about 2-3 minutes of play time out before it cut out, now it's down to a minute or two before I start getting errors and video cutout. It seems the server side is sending a 304 and the stream immediately quits after 2015-10-30 17:48:25.9993 Info - HttpServer: HTTP Response 304 to 192.168.0.125. Time: 0ms. http://XXXXX8096/mediabrowser/dashboard/thirdparty/viblast/viblast.remuxer.js 2015-10-30 17:48:27.5365 Info - App: Killing ffmpeg process for C:\Users\\AppData\Roaming\MediaBrowser-Server\transcoding-temp\28a3a3820dc7b175af819b9394593b25.m3u8 2015-10-30 17:48:27.6302 Info - App: FFMpeg exited with code 0 Archive.zip Edited October 31, 2015 by archangelz
Luke 42077 Posted October 31, 2015 Posted October 31, 2015 try going into the web client settings and specifying a max streaming bitrate. we added a new auto-detection feature that measures available bandwidth. then it compares the result to the bitrate of the content. since we don't know the bitrate of channel content ahead of time, it just took the bitrate from the measurement and fed that into ffmpeg, which turned out to be an extremely high value. Even still you got good encoding performance, but i imagine the client video player didn't like it. So try setting your own max bitrate. The previous default was 1.5mbps so you might start there.
archangelz 13 Posted October 31, 2015 Author Posted October 31, 2015 (edited) Changing the settings didn't fix the issue. Tried 2.0 mbps and 1.5. Still cuts out after a minute or so. Edited October 31, 2015 by archangelz
archangelz 13 Posted November 14, 2015 Author Posted November 14, 2015 (edited) Still a problem on 3.0.5781.1. Logs seem to be setting the -maxrate in ffmpeg to 548Mbps on a 2meg setting? I also thought that the playback limit was only for out of network clients? Or am I misunderstanding the help? 2015-11-14 09:19:29.9459 Info - App: C:\Users\\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150918\ffmpeg.exe -fflags +genpts -i "http://nlds150.cdnak.neulion.com/nlds_vod/nhl/vod/2015/11/13/243/2_243_cgy_wsh_1516_a_condensed_1_3000.mp4" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 548251429 -maxrate 548251429 -bufsize 1096502858 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(oh*a/2)*2:min(ih\,1080)" -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/5b41ef6f2adad984d188d02d52699cf6/" -y "C:\Users\\AppData\Roaming\MediaBrowser-Server\transcoding-temp\5b41ef6f2adad984d188d02d52699cf6.m3u8" Edited November 14, 2015 by archangelz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now