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 … 43 Next »
Reverse proxy - ssl - kodi client

 
  • 0 Vote(s) - 0 Average
Reverse proxy - ssl - kodi client
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#51
2022-07-20, 07:34 AM
(2022-07-19, 09:48 PM)mvallevand Wrote: Your cert still has problems because your are including an expired cert but I guess that gets past the curl error.  (I still see one here though)

By using port http/80 your password will be sent in the clear as you aren't even using SSL

Martin

Thanks Martin,

I found some documentation from let's encrypt, and it seems I had to specify the fullchain.pem as the SSL certificate of the server and not the one that includes only the server certificate. 

It should be the correct one now.

I also changed the hostptorocol to https in the correct settings.xml file, and now it allows me to connect to 443 port with SSL and it works fine.

I guess now my setup is correct.

Here is the log:

2022-07-20 10:30:58.972 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: Creating NextPVR PVR-Client
2022-07-20 10:30:58.974 T:15108    INFO <general>: initializing python engine.
2022-07-20 10:30:58.974 T:15020    INFO <general>: initialize done
2022-07-20 10:30:58.974 T:27640    INFO <general>: initializing python engine.
2022-07-20 10:30:58.975 T:15020    INFO <general>: Running the application...
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: Buffer created!
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: DummyBuffer created!
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: Buffer created!
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: RecordingBuffer created!
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: Buffer created!
2022-07-20 10:30:58.976 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: DummyBuffer created!
2022-07-20 10:30:58.977 T:7444    INFO <general>: ES: Starting UDP Event server on port 9777
2022-07-20 10:30:58.977 T:7444    INFO <general>: UDP: Listening on port 9777 (ipv6 : false)
2022-07-20 10:30:58.978 T:15020    INFO <general>: JSONRPC Server: Successfully initialized
2022-07-20 10:30:59.078 T:15108    INFO <general>: CPythonInvoker(0, C:\Users\ADERLOPA\AppData\Roaming\Kodi\addons\inputstream.ffmpegdirect\resources\lib\runner.py): script successfully run
2022-07-20 10:30:59.086 T:15108    INFO <general>: Python interpreter stopped
2022-07-20 10:31:02.276 T:24948    INFO <general>: CIRServerSuite:Tonguerocess: failed to connect to irss, will keep retrying every 5 seconds
2022-07-20 10:31:04.209 T:27640    INFO <general>: CPythonInvoker(1, C:\Users\ADERLOPA\AppData\Roaming\Kodi\addons\service.xbmc.versioncheck\resources\lib\runner.py): script successfully run
2022-07-20 10:31:04.212 T:27640    INFO <general>: Python interpreter stopped
2022-07-20 10:31:04.643 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: NextPVR version: 50207
2022-07-20 10:31:04.643 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: Server time offset in seconds: -5
2022-07-20 10:31:04.643 T:22520    INFO <general>: AddOnLog: pvr.nextpvr: time shift buffer in seconds: 1800
2022-07-20 10:31:05.168 T:22520    INFO <general>: PVR Manager: Starting
2022-07-20 10:31:08.596 T:18156    INFO <general>: PVR Manager: Started

It does not mention in here anything about SSL and I don't know how else I can check that it is indeed using SSL.

Thanks again for your help.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,795
Threads: 954
Joined: May 2006
#52
2022-07-20, 01:12 PM
All the API information would show with debug logging.

Martin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#53
2022-07-24, 05:10 PM
Thanks Martin, Now about writing that Wiki, I went in the wiki which is at Github and I am a bit lost.
I would assume that we need a page under Advanced Setup right?
I don't see any option to create a page with my account, what should I do? Write it in word document perhaps and send it over to you and sub for review?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,795
Threads: 954
Joined: May 2006
#54
2022-07-24, 06:08 PM
If you want to create or update the page(s) in markdown language (.md) and send the package to me I can upload it to the wiki.

Martin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#55
2022-07-29, 09:50 PM
(2022-07-24, 06:08 PM)mvallevand Wrote: If you want to create or update the page(s) in markdown language (.md) and send the package to me I can upload it to the wiki.

Martin

Many thanks Martin, 
Please see attached file.
Let me know what you think.


Attached Files
.zip   Setting up NextPVR for Secure Remote Access.zip (Size: 24.33 KB / Downloads: 4)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,795
Threads: 954
Joined: May 2006
#56
2022-07-30, 03:06 PM
Thanks, I don't have time to read it but I put the raw file on my test wiki to give you an idea what it looks like https://github.com/emveepee/Testing/wiki...ote-Access

Marin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#57
2022-07-30, 03:41 PM
(2022-07-30, 03:06 PM)mvallevand Wrote: Thanks, I don't have time to read it but I put the raw file on my test wiki to give you an idea what it looks like https://github.com/emveepee/Testing/wiki...ote-Access

Marin

Many thanks Martin, 

some lines are messed up, I will need to review it with a .md editor and fine-tune.
Will send you an updated file.
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#58
2023-10-07, 09:19 AM
Hi Martin,

Please find and updated file, text should be ok now.

Please note however, that the below step on some devices have a problem:

  1. Open settings.xml file for editing.
  2. Specify the following contents:

<setting id=“hostprotocol”>https</setting>

While the host, port and pin settings are exposed in the Kodi Nextpvr addon settings, this setting is not exposed.
The problem is that for some android devices (like for instance Xiaomi Tv Box S 1st and 2nd gen) the Android/data directory explorer does not have access to so the settings.xml file cannot be edited on Android not even overwritten by any other way than adb which is quite cumbersome process and it may require root access.

Can we also expose the  “hostprotocol” setting in the Kodi NextPvr Addon?

Thanks and regards


Attached Files
.zip   Setting up NextPVR for Secure Remote Access.zip (Size: 2.35 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,795
Threads: 954
Joined: May 2006
#59
2023-10-07, 01:51 PM
Thanks, timely since I have a few wiki updates pending. Could you please update this to be generic for Nexus and Omega too? Matrix isn't supported by Kodi anymore. The only difference is settings.xml is now instance-settings-#.xml

Are you sure Profile settings can't be edited on all platforms via the Kodi file manager? Root access is not required since it is running as Kodi. You should be able to go to Settings->File manager->Profile Directory ->addon_data->pvr.nextpvr and select the appropriate xml file copy to source, edit it and copy back. The source can be a share or a USB drive. If that works it might help to document what you mean by "Navigate to" especially on locked platforms like Apple and Android.

You probably need a note on installing self-signed certificates in Kodi too. At least link to https://kodi.wiki/view/SSL_certificates and note that installing these probably do require root.

I will not expose anything https related as I have repeatedly posted. Too much chance for error and extra support work for me.

Martin
aderlopas
Offline

Senior Member

Posts: 313
Threads: 40
Joined: Dec 2013
#60
2023-10-07, 07:44 PM (This post was last modified: 2023-10-07, 07:47 PM by aderlopas.)
(2023-10-07, 01:51 PM)mvallevand Wrote: Thanks, timely since I have a few wiki updates pending. Could you please update this to be generic for Nexus and Omega too?  Matrix isn't supported by Kodi anymore.  The only difference is settings.xml is now instance-settings-#.xml

Are you sure Profile settings can't be edited on all platforms via the Kodi file manager?  Root access is not required since it is running as Kodi.    You should be able to go to Settings->File manager->Profile Directory ->addon_data->pvr.nextpvr and select  the appropriate xml file copy to source, edit it and copy back.  The source can be a share or a USB drive.  If that works it might help to document what you mean by "Navigate to"  especially on locked platforms like Apple and Android.

You probably need a note on installing self-signed certificates in Kodi too.  At least link to https://kodi.wiki/view/SSL_certificates and note that installing these probably do require root.

I will not expose anything https related as I have repeatedly posted.  Too much chance for error and extra support work for me.

Martin

Hi Martin
Sure will do
I'm on Nexus though and I can't find an option to copy the file from kodi file manager see the attached picture
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (8): « Previous 1 … 4 5 6 7 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kodi Channel not updating aTF6i 2 357 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 331 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 743 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,098 2025-01-15, 06:32 PM
Last Post: mvallevand
  Suggestions for the KODI Add-on Escape7 38 8,745 2024-12-20, 05:31 AM
Last Post: sub
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 928 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,356 2024-09-11, 10:20 PM
Last Post: trongod
  NextPVR Client for CoreELEC ChrisI 3 531 2024-09-07, 10:11 PM
Last Post: mvallevand
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 3,947 2024-08-06, 10:00 PM
Last Post: sub
  Kodi-V5 WiFi Problem? kerryball 0 364 2024-06-26, 06:49 AM
Last Post: kerryball

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

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

Linear Mode
Threaded Mode