Jump to content

Server Unreachable behind Reverse Proxy


Go to solution Solved by Middling,

Recommended Posts

Posted (edited)

I have used Emby for quite a long time now and needed to access it remotely now.

 

The setup is behind a Haproxy (reverse proxy) using SNI. The server itself can be reached from a web browser and even from the Emby, however am unable to connect to it via the Kodi addon.

Port 8096 is hidden and is not directly accessed if not from the reverse proxy, however there I have port 443 which is being redirected to it.

 

I have tried various settings although all to no avail. Even setting a client server certificate resulted in being unable to connect the addon to the Emby server itself. The URL being displayed in the error can be accessed though a Web Browser, tried from various networks and still managed to access it. So now am at a loss as to what the actual issue might be.

Below is the debug log file:

 

http://pastebin.com/SAugh3iJ

 

Regards

Edited by liveup
Angelblue05
Posted

Thanks for reporting - it could be a missing configuration with our requests module that's causing the issue. I'll look into it.

  • Like 1
  • Solution
Posted (edited)

Could be http://trac.kodi.tv/ticket/15883

 

I don't have any problems with people connecting via reverse proxy using Kodi (i'm using nginx for the reverse proxy), but i'm not using SNI.

Edited by Middling
  • Like 2
Posted

@@Angelblue05 and @@Middling

 

Thanks a lot for your responses. Seems somewhat related, especially since when connecting directly, bypassing the reverse proxy it does seem to work.

  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...