Jump to content

Recommended Posts

braigo64
Posted

Quite often Emby will either fail to play a song or play part of a song and then move on.  In the log the same error comes up all the time.

2020-06-05 13:21:54.542 Error App: sonos error sending soap request
...
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at SonosController.Device.SoapClient(Envelope envelope, String controlURL, String action, Boolean debug)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

We use the android app to play songs from a playlist and stream them to our sonos speakers.  I don't know if this is an error with sonos having difficulty connecting or if emby is having an issue streaming the song to sonos.  But I have attached the log file for review.  Just trying to get some clarification on what is going wrong and how to fix it.

 

Sometimes all the songs play just fine and other times it seems to crap out more often then not. All things staying the same, I can't really pinpoint the issue. Hopefully some dev insight will help.

embyserver.txt

braigo64
Posted

Luke, any thoughts on these errors? They seem to happen much more often than before.

Posted

The Sonos is sending back an internal server error response, so I'm not quite sure. Have you tried restarting the Sonos device?

  • 1 month later...
  • 2 years later...
Posted

Hi,
I have the same error:
 

Error App: sonos error sending soap request
	*** Error Report ***
	Version: 4.7.11.0
	Command line: C:\Users\-----\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/-----/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\------\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\-----\AppData\Roaming\Emby-Server\system
	System.InvalidOperationException: System.InvalidOperationException: There is an error in XML document (1, 235).
	 ---> System.OverflowException: Value was either too large or too small for an unsigned byte.
	   at System.Number.ThrowOverflowException(TypeCode type)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read10_GetMediaInfoResponse(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read32_EnvelopeBody(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read33_Envelope(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read34_Envelope()
	   --- End of inner exception stack trace ---
	   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
	   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
	   at SonosController.Device.SoapClient(Envelope envelope, String controlURL, String action, Boolean debug)
	Source: System.Private.Xml
	TargetSite: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
	InnerException: System.OverflowException: Value was either too large or too small for an unsigned byte.
	Source: System.Private.CoreLib
	TargetSite: Void ThrowOverflowException(System.TypeCode)
	   at System.Number.ThrowOverflowException(TypeCode type)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read10_GetMediaInfoResponse(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read32_EnvelopeBody(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read33_Envelope(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read34_Envelope()
Posted
8 hours ago, vctrt said:

Hi,
I have the same error:
 

Error App: sonos error sending soap request
	*** Error Report ***
	Version: 4.7.11.0
	Command line: C:\Users\-----\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.10
	OS/Process: x64/x64
	Runtime: C:/Users/-----/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\------\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\-----\AppData\Roaming\Emby-Server\system
	System.InvalidOperationException: System.InvalidOperationException: There is an error in XML document (1, 235).
	 ---> System.OverflowException: Value was either too large or too small for an unsigned byte.
	   at System.Number.ThrowOverflowException(TypeCode type)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read10_GetMediaInfoResponse(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read32_EnvelopeBody(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read33_Envelope(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read34_Envelope()
	   --- End of inner exception stack trace ---
	   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
	   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
	   at SonosController.Device.SoapClient(Envelope envelope, String controlURL, String action, Boolean debug)
	Source: System.Private.Xml
	TargetSite: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
	InnerException: System.OverflowException: Value was either too large or too small for an unsigned byte.
	Source: System.Private.CoreLib
	TargetSite: Void ThrowOverflowException(System.TypeCode)
	   at System.Number.ThrowOverflowException(TypeCode type)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read10_GetMediaInfoResponse(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read32_EnvelopeBody(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read33_Envelope(Boolean isNullable, Boolean checkType)
	   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEnvelope.Read34_Envelope()

hi @vctrt please attach the complete emby server log. thanks.

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...