Jump to content

Network Address Changed


grimsage
 Share

Recommended Posts

I started trying to diagnose why i have been unable to connect to Emby via my browser after a while so I turned on debug logging.  Within 10 minutes of starting Emby I have the following about 200 times in the logs

2015-04-19 07:38:39.3363 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 07:38:39.3363 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.

grep NetworkManager ~/.config/mediabrowser-server/logs/* | wc -l
     418
 
not sure what would be causing this as my machine is wired with a static ip address.
Link to comment
Share on other sites

it fires when any network interface changes on the system. it is a framework method so of course it is also subject to osx-specific quirks. i suppose i can remove the log message to try and reduce the spam

Link to comment
Share on other sites

I think I would rather have more information.  See what is actually causing it to change.  Also a debug log should be verbose it helps find things.  It also quite often redoes the port mapping on the router.

2015-04-19 15:54:59.0312 Debug - PortMapper: NAT device found: 192.168.1.1
2015-04-19 15:54:59.0312 Debug - PortMapper: Creating port map on port 8096
2015-04-19 15:54:59.5349 Debug - PortMapper: Creating port map on port 8920
2015-04-19 15:55:00.0497 Debug - PortMapper: NAT device found: 192.168.1.1

So if I could figure out what is causing it it might be able to be ignored or we can work around some of the osx-specific quirks.

 

Who knows if it is causing other issues, and like I said this is a wired connection with static ip address.

 

it also does it a lot within the same second

2015-04-19 15:49:54.5510 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5510 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5538 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5538 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5564 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5564 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5590 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5590 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5615 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5615 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5640 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5640 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5666 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5666 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5695 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5695 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5721 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5721 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5745 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5745 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5770 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.5770 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8029 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8029 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8056 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8056 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8084 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8084 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8115 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8115 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8141 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8141 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8166 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8166 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8191 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8191 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8215 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8215 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8240 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8240 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8266 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8266 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8290 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:54.8290 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:56.1298 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 15:49:56.1298 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.
2015-04-19 15:49:58.0026 Debug - PortMapper: NAT device found: 192.168.1.1
2015-04-19 15:49:58.0026 Debug - PortMapper: Creating port map on port 8096
2015-04-19 15:49:58.5038 Debug - PortMapper: Creating port map on port 8920
2015-04-19 15:49:59.0144 Debug - PortMapper: NAT device found: 192.168.1.1
Edited by grimsage
Link to comment
Share on other sites

i think the port mapping is happening on every operating system. the library we're using seems to keep rediscovering the same devices and over, although it could quite possibly be through no fault of it's own and is just relying on framework notifications of events. i just haven't had a chance to dig deeper because it isn't really causing any harm at this point.

Link to comment
Share on other sites

  • 3 years later...

 

I started trying to diagnose why i have been unable to connect to Emby via my browser after a while so I turned on debug logging.  Within 10 minutes of starting Emby I have the following about 200 times in the logs

2015-04-19 07:38:39.3363 Debug - NetworkManager: NetworkAddressChanged fired. Resetting cached network info.
2015-04-19 07:38:39.3363 Debug - NetworkManager: NetworkAvailabilityChanged fired. Resetting cached network info.

grep NetworkManager ~/.config/mediabrowser-server/logs/* | wc -l ****************************************
 
not sure what would be causing this as my machine is wired with a static ip address.

 

thank for help

Edited by Abobader
remove spam link
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
 Share

×
×
  • Create New...