Jump to content

PortMapper: Error parsing upnp xml


gtvu

Recommended Posts

I enabled DLNA server, and while music plays fine, I found these frequent errors in the logs:

2020-10-14 14:50:28.165 Error PortMapper: Error parsing upnp xml
    *** Error Report ***
    Version: 4.5.2.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Linux version 5.4.0-48-generic (buildd@lcy01-amd64-010) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020
    Framework: .NET Core 3.1.7
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 4
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    System.Xml.XmlException: System.Xml.XmlException: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 2, position 46.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ParseAttributesAsync()
       at System.Xml.AsyncHelper.ReturnTrueTaskWhenFinishCoreAsync(Task task)
       at System.Xml.XmlReader.MoveToContentAsync()
       at Mono.Nat.Upnp.UpnpNatDevice.ParseRootXml(XmlReader reader, List`1 services)
       at Mono.Nat.Upnp.UpnpNatDevice.OnServicesReceived(HttpResponseInfo response)
       at Mono.Nat.Upnp.UpnpNatDevice.GetServicesList(CancellationToken cancellationToken)
       at Emby.PortMapper.ExternalPortForwarding._deviceDiscovery_DeviceDiscovered(Object sender, GenericEventArgs`1 e)
    Source: System.Private.Xml
    TargetSite: Void Throw(System.Exception)

It'd be nice to have a specific file name. I ran xmllint against all xml files that I found under the /var/lib/emby/config but no found errors.

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