NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 2 3 4 5 6 … 43 Next »
No guide images using reverse https proxy

 
  • 0 Vote(s) - 0 Average
No guide images using reverse https proxy
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#1
2023-08-05, 02:16 PM (This post was last modified: 2023-08-05, 02:30 PM by QDivision.)
Hi @mvallevand

I am running Kodi 20.2 and have NextPVR running behind an nginx proxy (https).

I have set the plugin to use HTTPS protocol using the XML settings file (it would be great if this setting was user facing) everything seems to run smoothly however the guide images are not fetched (and recordings) strangly if I set the 'remote access' feature the recording images do get fetched but still not the guide. I am unsure what the remote access feature actually does since the reverse proxy would handle all connection forwarding?

Is there a reason why guide images do not work remotely?

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#2
2023-08-05, 02:49 PM
Given it is not a simple matter to configure NextPVR as https server and to configure Kodi to use self signed certificates I have no plans to expose the https configuration since it would likely cause more support.

Remote access is required if NextPVR code determines the client is not on the local LAN. The NextPVR logs should help to identify that.

For the guide problem I would need to see the NextPVR logs and Kodi debug log. The code should be sending the sid as it does for recordings. I already discourage using guide based art but that is especially true with remote connections because each episode image is cached, but the session sid will mean there are multiple images for each sid.

Martin
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#3
2023-08-05, 03:05 PM
I'm using proper signed certs rather than self signed but understand why you don't want to expose the setting.

The client will look like a local client due to the reverse proxy even though it's running remote which is probably why the setting has little effect, although is odd why enabling it causes the recording images to work.

I will look to get some logs to post
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#4
2023-08-05, 03:16 PM
Agreed reverse proxy can be make it appear as local LAN, which is a potential issue when users aren't aware of this. What if you change the PIN to 0000 and disable remote?

Martin
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#5
2023-08-05, 03:18 PM
Attached is the Kodi, relevant lines seem to be:

2023-08-05 16:11:32.288 T:12283  debug <general>: CCurlFile::GetMimeType - <https://pvr.redacted.uk:443/service?method=channel.show.artwork&name=Live%3A%20UCI%20Cycling%20World%20Championships&prefer=landscape> ->
2023-08-05 16:11:32.291 T:12283  debug <general>: CurlFile::Open - <https://pvr.redacted.uk:443/service?method=channel.show.artwork&name=Live%3A%20UCI%20Cycling%20World%20Championships&prefer=landscape>
2023-08-05 16:11:32.340 T:12284  error <general>: Could not find suitable input format: application/octet-stream
2023-08-05 16:11:32.478 T:12283  debug <general>: LoadFromFileInternal - Load of https://pvr.redacted.uk:443/service?meth...=landscape failed.

the URL works in my browser (once logged in to NPVR session)
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#6
2023-08-05, 03:28 PM
Setting the PIN to 0000 stops the plugin working (says pin incorrect) however I believe this is due to either the plugin or NPVR not allowing 0000 over a remote connection (even though the reverse proxy should be masking this?).
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#7
2023-08-05, 03:30 PM
After the session is opened the browser would use a stored session sid. Test with curl.

NextPVR seems to be blocking it without the sid that is why I asked to test with PIN 0000 on server and client of course.

Martin
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#8
2023-08-05, 03:52 PM
I changed to 0000 on server and client but the plugin fails to login.

It looks like the sid is not included in the URL request, which would return an invalid session XML response. Is it possible to add the sid to the requests?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#9
2023-08-05, 03:57 PM
Ok clearly NextPVR is not seeing your connection as local.

I found the issue in the pvr.nextpvr code. Guide art was forced off when remote and PIN was not 0000.

Martin
QDivision
Offline

Member

United Kingdom
Posts: 58
Threads: 2
Joined: May 2023
#10
2023-08-05, 04:57 PM
Ok, will this be fixed in the next release or will you have a version I can test to confirm the fix?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Missing EPG guide data for one channel (clients only) Kurosh 10 1,070 2025-02-23, 11:07 AM
Last Post: Kurosh
  Adding/editing timer to one time (manual) recording from Kodi guide has no effect mmortal03 6 1,160 2024-06-25, 09:30 PM
Last Post: mmortal03
  Kodi/LibreEec Guide - show program set to record. ceejayemm 17 2,719 2024-05-19, 04:42 PM
Last Post: mvallevand
  Reverse proxy - ssl - kodi client fattony 70 17,787 2023-10-08, 07:58 PM
Last Post: aderlopas
  No Entries in Program Guide after Reboot RocketDestroyer 23 3,416 2023-03-26, 05:20 PM
Last Post: mvallevand
  Libreelec 11.0 Alpha NextPVR Guide disappears statomm 11 2,091 2022-12-12, 06:11 PM
Last Post: mvallevand
  TV Guide only 4 days of data Petrovski 1 904 2021-11-15, 08:57 PM
Last Post: mvallevand
  Total Time Reflects Guide Duration not Actual Duration ElGordito 6 2,493 2020-10-31, 09:09 PM
Last Post: mvallevand
  NextPVR on Kodi drops guide data and channels after awaking StroppyOz 9 4,758 2018-02-18, 07:18 AM
Last Post: StroppyOz
  Kodi EPG Guide Does Not Indicate Show Is or Will Be Recording drl516 2 2,356 2017-10-14, 06:09 PM
Last Post: drl516

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode