• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access Container is binding to incorrect subnet and ignoring network.xml

     
    • 0 Vote(s) - 0 Average

    Container is binding to incorrect subnet and ignoring network.xml

    docker container is binding to 192.168.0.0/16 instead of 192.168.1.0/24 and ignoring network.xml
    ghostkjb
    Offline

    Junior Member

    Posts: 14
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #10
    2024-04-03, 06:50 PM (This post was last modified: 2024-04-03, 06:54 PM by ghostkjb.)
    (2024-04-03, 06:46 PM)TheDreadPirate Wrote:
    (2024-04-03, 06:40 PM)ghostkjb Wrote: <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets/>
    <LocalNetworkAddresses>
    <KnownProxies/>
    <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
    </NetworkConfiguration>

    Is this a copy and paste?

    Some of the syntax is wrong.

    This

    <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets/>
    <LocalNetworkAddresses>

    Should be

    <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
    <LocalNetworkAddresses />

    I typed it out, it's currently:
    <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
    <LocalNetworkAddresses />

    (2024-04-03, 06:48 PM)TheDreadPirate Wrote:
    (2024-04-03, 06:44 PM)ghostkjb Wrote: [18:41:08] [ERR] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Error loading configuration file: /config/config/network.xml
    System.InvalidOperationException: There is an error in XML document (2, 1).
    ---> System.Xml.XmlException: Data at the root level is invalid. Line 2, position 1.
      at System.Xml.XmlTextReaderImpl.Throw(Exception e)
      at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
      at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
      at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
      at System.Xml.XmlTextReaderImpl.Read()
      at System.Xml.XmlReader.MoveToContent()
      at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderNetworkConfiguration.Read3_NetworkConfiguration()
      --- End of inner exception stack trace ---
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
      at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromStream(Type type, Stream stream)
      at Emby.Server.Implementations.Serialization.MyXmlSerializer.DeserializeFromFile(Type type, String file)
      at Emby.Server.Implementations.AppBase.BaseConfigurationManager.LoadConfiguration(String path, Type configurationType)

    This confirms my last post.  Fix the XML as suggested in my last post.

    I don't see my error now so I'm going to grab the current full network.xml:


    <?xml version="1.0" encoding="utf-8"?>
    NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <RequireHttps>false</RequireHttps>
      <CertificatePath />
      <CertificatePassword />
      <BaseUrl />
      <PublicHttpsPort>8920</PublicHttpsPort>
      <HttpServerPortNumber>8096</HttpServerPortNumber>
      <HttpsPortNumber>8920</HttpsPortNumber>
      <EnableHttps>false</EnableHttps>
      <PublicPort>8096</PublicPort>
      <UPnPCreateHttpPortMap>false</UPnPCreateHttpPortMap>
      <UDPPortRange />
      <EnableIPV6>false</EnableIPV6>
      <EnableIPV4>true</EnableIPV4>
      <EnableSSDPTracing>false</EnableSSDPTracing>
      <SSDPTracingFilter />
      <UDPSendCount>2</UDPSendCount>
      <UDPSendDelay>100</UDPSendDelay>
      <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
      <VirtualInterfaceNames>vEthernet*</VirtualInterfaceNames>
      <GatewayMonitorPeriod>60</GatewayMonitorPeriod>
      <TrustAllIP6Interfaces>false</TrustAllIP6Interfaces>
      <HDHomerunPortRange />
      <PublishedServerUriBySubnet />
      <AutoDiscoveryTracing>false</AutoDiscoveryTracing>
      <AutoDiscovery>true</AutoDiscovery>
      <RemoteIPFilter />
      <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
      <EnableUPnP>false</EnableUPnP>
      <EnableRemoteAccess>true</EnableRemoteAccess>
      <LocalNetworkSubnets>192.168.1.0/24</LocalNetworkSubnets>
      <LocalNetworkAddresses />
      <KnownProxies />
      <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
    </NetworkConfiguration>
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:12 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:27 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:33 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:40 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:46 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:50 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:43 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:44 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:48 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 06:48 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 06:55 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:08 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:02 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:10 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:19 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:21 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 07:55 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-03, 07:59 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-03, 10:59 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 01:47 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:08 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by gnattu - 2024-04-04, 02:04 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:11 AM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:26 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:43 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by TheDreadPirate - 2024-04-04, 02:45 PM
    RE: Container is binding to incorrect subnet and ignoring network.xml - by ghostkjb - 2024-04-04, 02:59 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode