Jump to content


Photo

Lan IP lost, can't connect to Server, bevor restart it


  • Please log in to reply
104 replies to this topic

#1 Kodi_Newcomer OFFLINE  

Kodi_Newcomer

    Advanced Member

  • Members
  • 218 posts
  • Local time: 05:02 AM

Posted 21 May 2019 - 03:09 PM

Hello Com,

 

As @Angelblue05 recommended me, i should post my problem here, maybe there is a reason for it or its an bug.

 

At the moment, everyday i have to restart the emby server, that i can connect trough kodi with the emby for kodi addon, the reason is, he lost the lan ip. So Angelblue05 told me i should enter the server ip adress under advanced, that is what i do. But i cant reach the server, when he lost the lan ip, after restart it works and he shows me the lan ip on the Web UI.

 

Here is the log from yesterday. Attached File  Log.txt   3.41MB   4 downloads

 

And here is the screen, what i mean

 

Attached File  Screenshot (1090).png   249.62KB   11 downloads  Attached File  Screenshot (1089).png   241.29KB   7 downloads

 

And here is the LINK where i start my problem post first.

 

Greet's Newcomer


  • Angelblue05 and jlr19 like this

#2 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12580 posts
  • Local time: 10:02 PM

Posted 21 May 2019 - 04:08 PM

And even without filling that network ip, it still happens correct?
  • Kodi_Newcomer likes this

#3 jlr19 OFFLINE  

jlr19

    Sr Noob

  • Members
  • 1033 posts
  • Local time: 11:02 PM
  • LocationLower Canada

Posted 22 May 2019 - 05:23 AM

I too have an issue with Emby losing its LAN IP, which causes Emby for Kodi to lose track of Emby.

 

Restarting Emby server temporarily fixes the issue, but I would obviously prefer a permanent fix.

 

Need anything, just holler


  • Angelblue05 likes this

#4 Kodi_Newcomer OFFLINE  

Kodi_Newcomer

    Advanced Member

  • Members
  • 218 posts
  • Local time: 05:02 AM

Posted 22 May 2019 - 11:30 AM

And even without filling that network ip, it still happens correct?

Yes with or without filling in the ip, it will not fix it.

This is issue is new. This must came in the last weeks.


  • jlr19 likes this

#5 Kodi_Newcomer OFFLINE  

Kodi_Newcomer

    Advanced Member

  • Members
  • 218 posts
  • Local time: 05:02 AM

Posted 22 May 2019 - 03:24 PM

So Everyday i have to restart the server that i can watch.

#6 Rohanaj OFFLINE  

Rohanaj

    Advanced Member

  • Members
  • 52 posts
  • Local time: 10:02 PM

Posted 23 May 2019 - 10:16 PM

Hey guys, ran into a new problem recently that flared up again tonight.  A couple other times in the past week or so (maybe a bit longer, don't remember when the first time was), attempting to login to my Emby server on different Roku systems on the local network stops working.

 

To start, I'm running server version 4.1.1.0.

 

When functioning normally, starting the Emby app on Roku finds my server on the local network and takes me to the "Select Server" screen that lists my server name and the local network address on the left side and my user account listing on the right.  I select the account I want and it gets me in (since I don't require a PIN while on local network).

 

However, when the issue has flared up, it no longer finds my server on the local network automatically, and instead goes to the Sign in with Emby Connect screen.  From there, I can go to the side and get to the Server info screen, which still does display my server name, but attempting to select that server now doesn't take me to the user account listing, but instead to the manual login option.  I've tried manually putting in a user account and password, at which point the app closes and I'm back at the Roku home screen.

 

If I, instead, try to hit the "New Server" option and manually enter the local network IP address and port for my server, it will find it and connect to it, give me my user account list, and get me in when selecting an account.  However, as soon as I exit the app back to the Roku home screen and attempt to reload Emby, it takes me back to the Emby Connect page and can't find the server automatically again.

 

I've tested all of that on three different Roku streaming devices from three different areas of the house, all on the local network, with the same results.  Connecting to the server through a web browser on a laptop at that time worked exactly as it always does after manually entering the local IP address in the address bar.

 

At that point, I looked at the Dashboard on my server and I noticed that the normal area that displays the In-Home (LAN) access and Remote (WAN) access IP addresses is displaying ONLY the Remote (WAN) access information and no In-Home (LAN) access info.

 

I restarted the server and, immediately after restarting, the In-Home (LAN) access info shows up again, and all my streaming boxes automatically start finding the server again as they should.

 

I know this is a lot of information, but wanted to provide as much as I could right away.  I did manage to grab a portion of the log for the time during one of my attempts I described above, including manually entering the local address on the streaming device, etc.  Sending that log file to @ebr and @Luke now.



#7 chef ONLINE  

chef

    Advanced Member

  • Developers
  • 3960 posts
  • Local time: 11:02 PM
  • LocationPeterborough, Canada

Posted 23 May 2019 - 10:23 PM

I wonder if this is what I experienced eariler this evening. All of a sudden none of my apps where able to connect with the server. The UDP broadcast that finds the server was returning null, but the Emby application was still running.

I restarted the server and all was well. Not before I tore a part my all my applications code wondering what in the world was happening... 🤨

Really strange. Could have been my network. Strange that you
Report something similar though.
The server had never done anything like that before.

Edited by chef, 23 May 2019 - 10:25 PM.


#8 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12580 posts
  • Local time: 10:02 PM

Posted 23 May 2019 - 10:36 PM

Another thread here

https://emby.media/c...vor-restart-it/



#9 Rohanaj OFFLINE  

Rohanaj

    Advanced Member

  • Members
  • 52 posts
  • Local time: 10:02 PM

Posted 23 May 2019 - 10:55 PM

You're right, Angelblue05, that looks like the same issue in the other thread.  I swear I did try and look through to see about an existing one before I created mine, but clearly I missed it.  My apologies to all for duplicating topics on here.


  • Angelblue05 likes this

#10 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12580 posts
  • Local time: 10:02 PM

Posted 23 May 2019 - 11:11 PM

You're right, Angelblue05, that looks like the same issue in the other thread. I swear I did try and look through to see about an existing one before I created mine, but clearly I missed it. My apologies to all for duplicating topics on here.


I just wanted to make sure the thread was seen by Luke. :)

#11 jlr19 OFFLINE  

jlr19

    Sr Noob

  • Members
  • 1033 posts
  • Local time: 11:02 PM
  • LocationLower Canada

Posted 24 May 2019 - 02:55 PM

I respectfully bump this thread for @Kodi_Newcomer, who's been beyond diligent.

He also repeated it was a daily issue for him.

 

My experiences of Emby losing internal IP address seem to happen in streaks.

For instance, issue occurs on 3 consecutive days  but then goes away 4 days.



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138261 posts
  • Local time: 11:02 PM

Posted 30 May 2019 - 04:31 PM

Is anyone here on the beta server by chance?

#13 Kodi_Newcomer OFFLINE  

Kodi_Newcomer

    Advanced Member

  • Members
  • 218 posts
  • Local time: 05:02 AM

Posted 01 June 2019 - 01:52 PM

Is anyone here on the beta server by chance?

Im on 4.1.1.x ?Is this Beta, i'd think so ?

 Maybe i should try the Beta ?


  • Angelblue05 likes this

#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138261 posts
  • Local time: 11:02 PM

Posted 01 June 2019 - 02:06 PM

If you're willing to, that would be helpful. Thanks.



#15 robert powell OFFLINE  

robert powell

    Member

  • Members
  • 17 posts
  • Local time: 11:02 PM

Posted 03 June 2019 - 07:53 AM

So about a week ago, Emby started acting up. When ever i would try to connect via home network on any device, said device could not find Emby. After i restarted the server, then every thing was fine. until the next time i wanted to connect again. I then realized this happens every time the PC comes out of sleep mode or sets idle for a period of time. I also noticed when this is happening, on the dashboard where it show you LAN and WAN I.P. address that the LAN I.P. is no longer there. If i restart the server, the it reappears .... for a while. I noticed Emby was out of date so i installed the latest version, and that fixed nothing. I also have Emby running as a windows service if that makes a difference to any one. Is there a setting or something that may have accidentally got changed? what am i missing here?

 

@robert powell



#16 pwhodges OFFLINE  

pwhodges

    Advanced Member

  • Members
  • 267 posts
  • Local time: 04:02 AM
  • LocationOxford, UK

Posted 03 June 2019 - 01:05 PM

Does the computer have a fixed IP address, or does it use DHCP to get one from the router?  It could be that the DHCP doesn't re-negotiate after sleeping as fast as Emby wakes up to check the address, or something like that.  (Just a thought...)


  • Happy2Play likes this

#17 Patrick1945 OFFLINE  

Patrick1945

    Advanced Member

  • Members
  • 107 posts
  • Local time: 05:02 AM
  • LocationAntwerp (Belgium)

Posted 03 June 2019 - 01:07 PM

Assigning a fixed IP address to your PC where Emby is installed can do wonders.

Edited by Patrick1945, 03 June 2019 - 01:08 PM.


#18 robert powell OFFLINE  

robert powell

    Member

  • Members
  • 17 posts
  • Local time: 11:02 PM

Posted 04 June 2019 - 05:06 PM

Does the computer have a fixed IP address, or does it use DHCP to get one from the router?  It could be that the DHCP doesn't re-negotiate after sleeping as fast as Emby wakes up to check the address, or something like that.  (Just a thought...)

no its not fixed ip, and i think i can safely say its not a problem with re negotiating. ive been using the same pc for 3 years now, and haven't had a problem until a week a go. and its not that the IP changes either. when i look as the dashboard, the LAN IP is just completely gone ... mention of it there. only sows WAN IP. after i restart the serever it comes back. as i said, i haven't had  an issue for 3 years, and out of the blue it starts happening. ive changed nothing (at least not intentionally) which is why i asked if there was something i may have accidentally changed



#19 jlr19 OFFLINE  

jlr19

    Sr Noob

  • Members
  • 1033 posts
  • Local time: 11:02 PM
  • LocationLower Canada

Posted 05 June 2019 - 10:00 AM

I am running 4.1.1.0 (not beta)

My pc is programmed to sleep at 8:45pm and wake at 4:30am.

I noticed @robert powell mentionned also set his to sleep, I'm wondering if its the case also with @Kodi_Newcomer (?).

 

 

Server IP is automatic (dynamic) for me.


Edited by jlr19, 05 June 2019 - 10:03 AM.


#20 Rodiefs OFFLINE  

Rodiefs

    Member

  • Members
  • 26 posts
  • Local time: 11:02 PM

Posted 05 June 2019 - 10:14 AM

I'm having no problems with loosing server connectivity.  My server is running Version 4.1.1.0 and does not sleep.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users