NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 34 Next »
NextPVR webserver not starting, prevents client from starting

 
  • 0 Vote(s) - 0 Average
NextPVR webserver not starting, prevents client from starting
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,775
Threads: 954
Joined: May 2006
#11
2025-02-03, 05:00 PM (This post was last modified: 2025-02-03, 05:01 PM by mvallevand.)
I have no explanation either. I will try an old Chromebox I have to see but I think we need sub, the author of NextPVR needs to help explain where the servers could be failing processing the request.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,775
Threads: 954
Joined: May 2006
#12
2025-02-03, 05:20 PM
It starts up fine on my older Chromebox.

What locale etc are you running?

Martin
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#13
2025-02-03, 07:02 PM
This is the output of locale.

Code:
LivingRoom:~ # locale
LANG=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

And this is whats in "Settings > Interface > Regional"
Code:
Language - English
Character set - Default
Virtual keyboard layouts - English QWERTY
Region default format - Central Europe
Timezone country - France
Timezone - Europe/Paris
Short date format - Regional (03-03-2025 (DD-MM-YYYY))
Long date format - Regional (Monday, 3 February 2025 (DDDD, D MMMM YYYY))
Time format - Regional (19:57:26 (H:mm:ss))
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,775
Threads: 954
Joined: May 2006
#14
2025-02-03, 07:32 PM
No regional settings didn't change anything, sub will need to step in.

Martin
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#15
2025-02-03, 07:42 PM
Alright, thanks for all the help Martin. Should I just wait here for sub or should I contact him somewhere?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#16
2025-02-03, 08:30 PM
You could possibly try setting an "ASPNETCORE_ENVIRONMENT=Development" environment variable, then run the server manually, and see if you get a stack trace when attempting the curl command.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,775
Threads: 954
Joined: May 2006
#17
2025-02-03, 08:46 PM (This post was last modified: 2025-02-03, 09:58 PM by mvallevand.)
Here is the command line for that

Code:
ASPNETCORE_ENVIRONMENT=Development NEXTPVR_DATADIR_USERDATA=/storage/.kodi/userdata/addon_data/service.nextpvr/config/  dotnet NextPVRServer.dll

Unfortunately when I set that I don't get any extra logging of what is going on He is not even getting that message last message so it is pretty early in the run.

Code:
Hosting environment: Development
Content root path: /storage/.kodi/addons/service.nextpvr/nextpvr-bin
Now listening on: http://[::]:8866
Application started. Press Ctrl+C to shut down.
[7] Got request [172.16.3.3]: /index.html
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#18
2025-02-03, 09:54 PM
Honestly, I'm not really sure what to suggest. There isn't much info to go on with what we've seen so far.
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#19
2025-02-04, 09:30 AM (This post was last modified: 2025-02-04, 10:32 AM by homemaisonbaile.)
I do get more feedback on the remote with ASPNETCORE_ENVIRONMENT=Development, hopefully this is what you would be looking for. No update on the server upon connection.

Code:
C:\Users\admin>curl -v http://192.168.1.100:8866/
*   Trying 192.168.1.100:8866...
* Connected to 192.168.1.100 (192.168.1.100) port 8866
> GET / HTTP/1.1
> Host: 192.168.1.100:8866
> User-Agent: curl/8.9.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 04 Feb 2025 09:26:42 GMT
< Server: Kestrel
< Transfer-Encoding: chunked
<
System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information.
---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Load(Stream stream, LoadOptions options)
   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)
   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
   at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

HEADERS
=======
Accept: */*
Host: 192.168.1.100:8866
User-Agent: curl/8.9.1
* Connection #0 to host 192.168.1.100 left intact
homemaisonbaile
Offline

Junior Member

France
Posts: 13
Threads: 1
Joined: Feb 2025
#20
2025-02-04, 10:31 AM (This post was last modified: 2025-02-04, 10:33 AM by homemaisonbaile.)
Edit: mistaken post, was attempting to edit my previous post on mobile
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 2,900 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 782 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 392 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR 7 looses recordings after post processing ballfam 15 814 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 4,427 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 285 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 736 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 665 2024-10-29, 11:44 PM
Last Post: sub
  NextPVR server on LibreElec jcjefferies 45 3,776 2024-09-16, 04:38 PM
Last Post: mvallevand
  NextPVR doesn't record retrofan 5 524 2024-09-15, 05:15 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode