Jump to content

Crash on Quality change in Android mobile app.


djandrius

Recommended Posts

djandrius

Android app version 2.6.42

 

1. Select a file to play.

2. Click on Play. File successfully is playing.

3. Click on Change -> Quality and make a change. The following error is observed. Every time. Tried multiple MKV and MP4 files. The Quality change actually sticks, next time play same file, the new Quality setting is loaded.

4. No errors observed on the same Android phone when Chrome browser is used (nor on desktop webbrowser)

2016-04-14 12:26:49.4146 Error HttpAsyncTaskHandler: Error occured while Processing Request: Unable to bind request
    *** Error Report ***
    Version: 3.0.5913.0
    Command line: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\media\AppData\Roaming\Emby-Server
    Application Path: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Unable to bind request
    ServiceStack.Host.RequestBindingException
       at ServiceStack.Host.RestHandler.CreateRequest(IRequest httpReq, IRestPath restPath)
       at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)
    InnerException: System.Runtime.Serialization.SerializationException
    KeyValueDataContractDeserializer: Error converting to type: Input string was not in a correct format.
    propertyName: StartTimeTicks
    propertyValueString: 112750000,112750000
    propertyType: System.Nullable`1[System.Int64]
       at ServiceStack.Serialization.StringMapTypeDeserializer.PopulateFromMap(Object instance, IDictionary`2 keyValuePairs, List`1 ignoredWarningsOnPropertyNames)
       at ServiceStack.Host.RestPath.CreateRequest(String pathInfo, Dictionary`2 queryStringAndFormData, Object fromInstance)
       at ServiceStack.Host.RestHandler.CreateRequest(IRequest httpReq, IRestPath restPath, Dictionary`2 requestParams, Boolean createContentTypeRequest)
       at ServiceStack.Host.RestHandler.CreateRequest(IRequest httpReq, IRestPath restPath)
    InnerException: System.FormatException
    Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
       at ServiceStack.Text.Common.DeserializeBuiltin`1.<GetParseFn>b__19(String value)
       at ServiceStack.Serialization.StringMapTypeDeserializer.PopulateFromMap(Object instance, IDictionary`2 keyValuePairs, List`1 ignoredWarningsOnPropertyNames)
    
2016-04-14 12:26:49.5156 Error HttpAsyncTaskHandler: Failed to write error to response: {0}
    *** Error Report ***
    Version: 3.0.5913.0
    Command line: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\media\AppData\Roaming\Emby-Server
    Application Path: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    System.IO.IOException
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at SocketHttpListener.Net.ResponseStream.InternalWrite(Byte[] buffer, Int32 offset, Int32 count)
       at SocketHttpListener.Net.ResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at ServiceStack.Formats.HtmlFormat.SerializeToStream(IRequest request, Object response, IResponse httpRes)
       at ServiceStack.HttpResponseExtensionsInternal.WriteErrorToResponse(IResponse httpRes, IRequest httpReq, String contentType, String operationName, String errorMessage, Exception ex, Int32 statusCode)
       at ServiceStack.ServiceStackHost.OnUncaughtException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
       at ServiceStack.Host.Handlers.HttpAsyncTaskHandler.HandleException(IRequest httpReq, IResponse httpRes, String operationName, Exception ex)
    InnerException: System.Net.Sockets.SocketException
    An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    
2016-04-14 12:26:49.5156 Error HttpServer: Error in HttpListenerResponseWrapper: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    *** Error Report ***
    Version: 3.0.5913.0
    Command line: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: C:\Users\media\AppData\Roaming\Emby-Server
    Application Path: C:\Users\media\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    System.IO.IOException
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at SocketHttpListener.Net.ResponseStream.InternalWrite(Byte[] buffer, Int32 offset, Int32 count)
       at SocketHttpListener.Net.ResponseStream.Close()
       at MediaBrowser.Server.Implementations.HttpServer.SocketSharp.Extensions.CloseOutputStream(HttpListenerResponse response, ILogger logger)
    InnerException: System.Net.Sockets.SocketException
    An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)

Link to comment
Share on other sites

Lessaj

djandrius, out of curiosity, are you seeing the same (or close to the same) error when scrubbing through the same files that are erroring on quality changes? Reading through your error and mine they are very close even down to the stack dumps. I think the upcoming update will resolve that too.

Link to comment
Share on other sites

Lessaj

Actually I saw there was the app update available this morning and tested both quality changes and skipping forward on files that were having issues and both working just fine now. Cool!

Link to comment
Share on other sites

djandrius

I am traveling and had not had a chance to check back on this until now. The latest Android App update does indeed fix the crash. I'm amazed at the speed of the fix :)

 

Something I noticed, every time quality within the Android app is changed, video starts from the beginning. Is that by design or current implementation limitation?

 

Thank you

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...