CharleyVarrick 277 Posted June 22, 2019 Share Posted June 22, 2019 Can someone enable debug logging under Logs, then restart the server, re-create the issue, and then send me the debug log? thanks. PM? Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted June 22, 2019 Share Posted June 22, 2019 I can say with 99.9% certainty that if my pc is awaken at or before 3:00am, Emby ALWAYS show Dashboard in-home LAN IP. If its awaken any time after 3:30 am, I usually do not have LAN IP. The pc is set to go to sleep at 20:30 and set to wake at 04:00am Would Windows initialize network delay vary depending on it being before/after 3:00am? No time of day will have nothing to do with it - for windows Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 22, 2019 Share Posted June 22, 2019 PM? Sure. Link to comment Share on other sites More sharing options...
Q-Droid 652 Posted June 22, 2019 Share Posted June 22, 2019 Has anyone tested with static IP? Not DHCP reservations on the router/server, those are not static IP as the client doesn't know it's reserved. DHCP leases are typically 1-day on consumer gear but some may be shorter or longer if changed by the user. DHCP clients will usually renew the lease at the half-way mark. Windows (at least 10) also renews the lease when waking from sleep. A DHCP client will not use an IP if the lease has expired until the server allows it. It is possible that Windows will not use the IP if some threshold of time has passed and will wait for the DHCP server to respond. Either way, Windows controls the IP stack and MS controls the software and behavior. Any of which could have changed from an MS update. Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 (edited) Can someone enable debug logging under Logs, then restart the server, re-create the issue, and then send me the debug log? thanks. I did as instructed yesterday before the night, and this morning, I manually woke the server at 03:26am and I was able to re-create issue. I am unsure about where to find the debug log specifically. This is what I see. Edited June 23, 2019 by jlr19 Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted June 23, 2019 Share Posted June 23, 2019 (edited) I did as instructed yesterday before the night, and this morning, I manually woke the server at 03:26am and I was able to re-create issue. I am unsure about where to find the debug log specifically. This is what I see. Did you restart Emby when you enable Debug logging? @@Luke A note may need to placed next to Debug logging option. Edited June 23, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 (edited) Hi @@Happy2Play, yes, around 17:30 yesterday, I turned on debug logging, then restarted Emby server. Should I see a debug log in the log list? Or is one of those it? Edited June 23, 2019 by jlr19 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 Is it just me or is the forum navigation sluggish? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted June 23, 2019 Share Posted June 23, 2019 Hi Happy, yes, around 17:30 yesterday, I turned on debug logging, then restarted Emby server. Should I see a debug log in the list? Or is one of those it? Debugging will be in the normal log Is it just me or is the forum navigation sluggish? No every action is taking forever. Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 Debugging will be in the normal log No every action is taking forever. Thanks, I have PM the log to @@Luke as requested Link to comment Share on other sites More sharing options...
ebr 14924 Posted June 23, 2019 Share Posted June 23, 2019 No time of day will have nothing to do with it - for windows The time of day would have nothing to do with it but I could imagine that the amount of time asleep could. I don't have any actual knowledge of that but it is certainly possible that the system keeps certain things "alive" for some period of time after sleep and then falls into a "deeper" sleep after that time. 1 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 (edited) The time of day would have nothing to do with it but I could imagine that the amount of time asleep could. I don't have any actual knowledge of that but it is certainly possible that the system keeps certain things "alive" for some period of time after sleep and then falls into a "deeper" sleep after that time. That could be a lead as to why the issue is never triggered before 3am, but always after 3:30am. I am going to test your theory tonight; instead of the server going to sleep like usual at 8:30pm, I'll set it for 10:30pm. If you're right, it should buy me an extra couple of hours tomorrow morning. I'll keep you posted. Edited June 23, 2019 by jlr19 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 23, 2019 Share Posted June 23, 2019 As instructed I have PM'd my debug log to @@Luke earlier this morning. I think I remember reading about debug log containing more sensitive info than regular log (hence his request to use private message, instead of posting in this thread ?). Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 24, 2019 Share Posted June 24, 2019 This is the problem: https://github.com/dotnet/corefx/pull/32945 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 24, 2019 Share Posted June 24, 2019 ??? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted June 24, 2019 Share Posted June 24, 2019 If that is the issue I would assume you will have to wait for Net Core 3.0. Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 24, 2019 Share Posted June 24, 2019 (edited) or leave my server awake 24/7. What I don't get is why Emby seems to be the only program affected. Again, if I check my connection details in Network and sharing, I see the usual LAN IP, and the server is discoverable by my other home network machines. The "workaround fix" is restarting Emby server specifically. Restarting the whole PC isn't mandatory. Another thing that doesn't jive is the github article dates back to oct 2018, while everyone affected by Emby running without LAN IP started to report the issue only in april/may 2019. Edited June 24, 2019 by jlr19 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 24, 2019 Share Posted June 24, 2019 (edited) Yes, i have to Server now. The right one, that i use actual have that issue, after wakeup. The new Server for testing runs 24/7 and have all the time the lan ip adress. Your new Intel NUC server runs 24/7 and Emby does not lose its LAN IP. Your other server goes in sleep mode and is affected. What are the respective OS for your 2 servers ? Would you try this experiment? Set your Intel NUC to sleep, and the other server NOT to sleep. Does the issue then starts to happen on the Intel NUC, and does it stop happening on other server? I have only one server and its running Win7x64. Edited June 24, 2019 by jlr19 Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 24, 2019 Share Posted June 24, 2019 This is the problem: https://github.com/dotnet/corefx/pull/32945 @@Luke, would you care to expand on "this is the problem" for us mere mortals. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted June 24, 2019 Share Posted June 24, 2019 it will be fixed when dot netdore 3 is released later this year and Luke upgrades emby to use it Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 24, 2019 Share Posted June 24, 2019 We can hopefully come up with a hack workaround in the meantime. Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 24, 2019 Share Posted June 24, 2019 @@Luke, would you care to expand on "this is the problem" for us mere mortals. When the connection is lost Emby is notified and updates based on that. When the connection is regained, the server never gets notified per the reasons stated in the ticket that i linked to. So it never realizes that the network connection is available again. Link to comment Share on other sites More sharing options...
CharleyVarrick 277 Posted June 25, 2019 Share Posted June 25, 2019 We can hopefully come up with a hack workaround in the meantime. Do you already have a strategy for your workaround? Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 25, 2019 Share Posted June 25, 2019 Yes. Link to comment Share on other sites More sharing options...
Luke 37095 Posted June 25, 2019 Share Posted June 25, 2019 The latest beta server has it now. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now