Jump to content


Photo

DLNA and 401 http status

dlna authorization 401

  • Please log in to reply
11 replies to this topic

#1 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 02 December 2019 - 10:47 AM

Hi. I trying to use dlna for emby, but I got errors in all devices. I see in logs the next exception:
2019-12-02 14:26:21.647 Error HttpServer: Access token is invalid or expired.
I have 2 users:
one with a password and one without it. But I can't log in user in dlna
How I can disable authorization for dlna profile?
I trying to set user without a password, but the same. 401 exception after reading file.
Version emby: 4.3.0.30


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 02 December 2019 - 01:28 PM

Hi there, please attach the emby server log. thanks.



#3 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 03 December 2019 - 04:48 AM

Hi Luke. I attached logs.

 

I see all files, but when I send request to get flow:

2019-12-03 08:26:36.766 Info HttpServer: HTTP GET http://192.168.1.35:...667ad98eda7b300. Host=192.168.1.35:8096, Accept=*/*, Accept-Language=en_US, User-Agent=VLC/3.0.9 LibVLC/3.0.9, Range=bytes=0-

I got next exception:

2019-12-03 08:26:36.779 Error HttpServer: Access token is invalid or expired.



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 03 December 2019 - 12:36 PM

Hi there, please attach the complete emby server log file. thanks.



#5 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 03 December 2019 - 03:08 PM

Hi Luke. Sorry, I missing button Attach :-) . Here is full log on debug mode. Maybe it will be helfull

Attached Files



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 03 December 2019 - 03:16 PM

Hi, are your dlna devices on a different network?



#7 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 03 December 2019 - 03:20 PM

The same network. But I connecting by wifi to the server, that connected by LAN cable. Could this affect?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 03 December 2019 - 03:25 PM

Do the dlna devices have 89.x ip addresses?



#9 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 03 December 2019 - 03:46 PM

Yes. They connected to one router with static ip start with 89.x



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 03 December 2019 - 03:50 PM

So the server sees those devices and thinks they're outside your local network. You'll need to configure the LAN networks setting so that it will think the 89.x ip addresses are inside your network.

 

But when you do that, make sure to include 192.X as well so those ip addresses aren't impacted by the change.



#11 Doctor_F OFFLINE  

Doctor_F

    Newbie

  • Members
  • 6 posts
  • Local time: 10:37 PM

Posted 03 December 2019 - 04:07 PM

Thanks! it helped.
 
I added static ip and my local network to the LAN network and it helps.
 
Could you please add static IP of router add to the verification of dlna devices?
My server and my devices have the same static ip and it will be good if emby detects, that they connected to one router.


#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142515 posts
  • Local time: 12:37 PM

Posted 03 December 2019 - 04:13 PM

It might be difficult for us to detect that, although it's not a bad idea. The LAN networks setting should do the trick for now though. Thanks.


  • Doctor_F likes this





Also tagged with one or more of these keywords: dlna, authorization, 401

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users