NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients v
1 2 3 Next »
Jellyfin Plugin can't connect to "pinned" instance

 
  • 0 Vote(s) - 0 Average
Jellyfin Plugin can't connect to "pinned" instance
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2025-02-06, 06:16 PM
I've got a remote nextpvr instance with a 6 digit pin.  Can't seem to authenticate with it (also have the same issue with the ios nextpvr app).

Here are the jelly fin logs when going from dashboard to the "live Tv" option:
```
[2025-02-06 18:08:24.581 +00:00] [INF] WS "192.168.10.147" request
[2025-02-06 18:08:25.355 +00:00] [INF] Start InitiateSession
[2025-02-06 18:08:26.274 +00:00] [INF] Changed host from "ustv.redacted" to " redacted "
[2025-02-06 18:08:26.660 +00:00] [INF] Start Login procedure for Sid: "4d755cb5a5ed497e8e5806db1c568d3e" & Salt: "f9d1fcac-565a-4c77-a410-b77a92efbbb8"
[2025-02-06 18:08:26.661 +00:00] [INF] PIN: "Not default"
[2025-02-06 18:08:26.858 +00:00] [ERR] PIN not accepted
[2025-02-06 18:08:26.864 +00:00] [ERR] Error initiating session
System.UnauthorizedAccessException: NextPVR PIN not accepted
  at Jellyfin.Plugin.NextPVR.LiveTvService.InitiateSession(CancellationToken cancellationToken)
  at Jellyfin.Plugin.NextPVR.LiveTvService.EnsureConnectionAsync(CancellationToken cancellationToken)
[2025-02-06 18:08:26.873 +00:00] [INF] Start InitiateSession
[2025-02-06 18:08:26.874 +00:00] [INF] Changed host from "ustv. redacted " to " redacted "
[2025-02-06 18:08:27.063 +00:00] [INF] Start Login procedure for Sid: "b46afec23303472db1ea9ccaf35013f5" & Salt: "00b05f98-aecb-422d-85fb-fe7445406f25"
[2025-02-06 18:08:27.064 +00:00] [INF] PIN: "Not default"
[2025-02-06 18:08:27.248 +00:00] [ERR] PIN not accepted
[2025-02-06 18:08:27.248 +00:00] [ERR] Error initiating session
System.UnauthorizedAccessException: NextPVR PIN not accepted
  at Jellyfin.Plugin.NextPVR.LiveTvService.InitiateSession(CancellationToken cancellationToken)
  at Jellyfin.Plugin.NextPVR.LiveTvService.EnsureConnectionAsync(CancellationToken cancellationToken)
```

Here the nrecord log.
```
2025-02-06 18:08:26.561 [DEBUG][144] Got request [999.999.999.999]: /service (session.initiate)
2025-02-06 18:08:26.561 [DEBUG][144] parameters:
2025-02-06 18:08:26.561 [DEBUG][144]   method: session.initiate
2025-02-06 18:08:26.561 [DEBUG][144]   ver: 1.0
2025-02-06 18:08:26.561 [DEBUG][144]   device: jellyfin
2025-02-06 18:08:26.561 [DEBUG][144]   format: json
2025-02-06 18:08:26.561 [DEBUG][144]   client_ip: 999.999.999.999
2025-02-06 18:08:26.561 [DEBUG][144]   client_local: false
2025-02-06 18:08:26.561 [DEBUG][144]   user_agent: Jellyfin-Server/10.10.3
2025-02-06 18:08:26.561 [DEBUG][144]   host_callback: ...
2025-02-06 18:08:26.561 [DEBUG][144]   sid: default
2025-02-06 18:08:26.561 [INFO][144] InitiateSession (device=jellyfin)
2025-02-06 18:08:26.561 [INFO][144] Culture: en-US M/d/yyyy h:mm tt
2025-02-06 18:08:26.561 [DEBUG][144] SetSessionObject(4d755cb5a5ed497e8e5806db1c568d3e, 'child', NON-null)
2025-02-06 18:08:26.561 [DEBUG][144] Device: jellyfin
2025-02-06 18:08:26.561 [DEBUG][144] SetSessionObject(4d755cb5a5ed497e8e5806db1c568d3e, 'child', NON-null)
2025-02-06 18:08:26.561 [DEBUG][144] {"sid":"4d755cb5a5ed497e8e5806db1c568d3e","salt":"f9d1fcac-565a-4c77-a410-b77a92efbbb8"}

2025-02-06 18:08:26.762 [DEBUG][75] Got request [999.999.999.999]: /service (session.login)
2025-02-06 18:08:26.762 [DEBUG][75] parameters:
2025-02-06 18:08:26.762 [DEBUG][75]   method: session.login
2025-02-06 18:08:26.762 [DEBUG][75]   md5: 8066f06c73f4231145221bcf4435687f
2025-02-06 18:08:26.762 [DEBUG][75]   sid: 4d755cb5a5ed497e8e5806db1c568d3e
2025-02-06 18:08:26.762 [DEBUG][75]   format: json
2025-02-06 18:08:26.762 [DEBUG][75]   client_ip: 999.999.999.999
2025-02-06 18:08:26.762 [DEBUG][75]   client_local: false
2025-02-06 18:08:26.762 [DEBUG][75]   user_agent: Jellyfin-Server/10.10.3
2025-02-06 18:08:26.762 [DEBUG][75]   host_callback: ...
2025-02-06 18:08:26.762 [INFO][75] LoginSession(sid = 4d755cb5a5ed497e8e5806db1c568d3e)
2025-02-06 18:08:26.763 [DEBUG][75] [fy8NnX3gdtEc5BSU4pHdOZaJ7pi4WeP+ELO9bARECV0kVT4pbL4wKtS6nV8FfnPXQ765Z/MAQjA9fDo42UAsNW4HNX0YU/tYN1UrLBG4Q4QcClUnPtXwXFboBtxYrSsHIdYjAILMDEp61++oQtg+D2m0RSnYFHzniUPpnyyJ06k0nuOwSanbTs5FGGmI6XLE90pauSR1i0WkQFlEvq6/+epfwzKI5/Wq3CcAbceatDD8MQAQOE4UNF3HmsHWfMk1KpVwo40Cek+x0GyayzQbwyhxTMDXN0UgGj+y29P+XFhAL1dO/MYvOqo69+N7NwV/ErY0IGfAbaFyIuZovT/bSFXp3VNNpceaYEEU0QCq5JQWSvDdU6l8QMXttPJ1mKKUksHuXTo87+xmn7KJ84eCRKZFDZCO0Q+Zsl4GBh+C2L7x1l1tmF1Msn1zy9AzDAuej495PJ7ba63xiNJWfAp4vw==]
2025-02-06 18:08:26.763 [DEBUG][75] [QGBvDVurCWn8TUCcctArF33tMOanc/5tBtIZquO11g0Y6zMwbC1xzhKtchdbsFuPw1c3cDgndQyYgGd1IpAGa519Mrjft2WLm+Wj1Ysgv5o/ceTghWpR+62sEHbGQxrmqFjMLGWTGh1USfyF77tHbHEaCtiM65kQ+KyUwtkMmLeIMHcDs22GK3x50xqTxyWhTBzUijS2Jkb9h1xjTysKaHStylUVcKXCKu8KUb4u20pMmQGDxrVjq3bYvHsGZvpp+RzcLIKfpile/XjzvnCJcBRAm5nnNXm7xhxazq/c17f5vv1hrSxEgBNSN1OcEsxkbCh0+9Inagcil60gUDMuiJI8I2jgdTHksvPQXRqg3x6jva+mXESx/8DfkfAIqw3G+jZBLBfKX2w8/CuMTtAgqibC1wX1vzvxuZXhrvfdh2A=]
2025-02-06 18:08:26.763 [DEBUG][75] [fOYZpx0hnW4tJkiEeMOCRf6/C5knzNQpNZgb8UyU+ckSmJqtx5nIGwNjbtQAUHH+jujZyHMKGAnjeQSRnRVJ4Dx74W9Tai26kXgJLfe3h7IPpMmC3/42ktlYW0haiepioOHv43secScKC4uhFK1aCy8yvixJxwifJ7kTJ57pxYZDy6Y+90chu6ej74KpKswpxOF5yAMjrKETiNagB75Ig5w5Fo/xX4VYF041DDq3td8vjhLLSLmA8aKJloMeTkD5lRDoGFthOI/HL+baaV3GnilZqJ9zEnZBlHKy6X9VjTG8mv8MkUFjdEHADiT603+LlA4K0o6BdvIJZ71+697d9h3VNjHHUcq/da/MACLhwm1s7YrTP5uvHQ0uE2mqTk2bkQDLsBarqA7v4DUGPfUv5HWsFO+myCfmz1qJiM7t/wI=]
2025-02-06 18:08:26.763 [ERROR][75] Rejecting user login attempt. More than 20 failed attempts.
2025-02-06 18:08:26.763 [DEBUG][75] {"stat":"Failed","code":1,"msg":"Login Failed"}

2025-02-06 18:08:26.973 [DEBUG][75] Got request [999.999.999.999]: /service (session.initiate)
2025-02-06 18:08:26.973 [DEBUG][75] parameters:
2025-02-06 18:08:26.973 [DEBUG][75]   method: session.initiate
2025-02-06 18:08:26.973 [DEBUG][75]   ver: 1.0
2025-02-06 18:08:26.973 [DEBUG][75]   device: jellyfin
2025-02-06 18:08:26.973 [DEBUG][75]   format: json
2025-02-06 18:08:26.973 [DEBUG][75]   client_ip: 999.999.999.999
2025-02-06 18:08:26.973 [DEBUG][75]   client_local: false
2025-02-06 18:08:26.973 [DEBUG][75]   user_agent: Jellyfin-Server/10.10.3
2025-02-06 18:08:26.973 [DEBUG][75]   host_callback: ...
2025-02-06 18:08:26.973 [DEBUG][75]   sid: default
2025-02-06 18:08:26.973 [INFO][75] InitiateSession (device=jellyfin)
2025-02-06 18:08:26.973 [INFO][75] Culture: en-US M/d/yyyy h:mm tt
2025-02-06 18:08:26.973 [DEBUG][75] SetSessionObject(b46afec23303472db1ea9ccaf35013f5, 'child', NON-null)
2025-02-06 18:08:26.973 [DEBUG][75] Device: jellyfin
2025-02-06 18:08:26.973 [DEBUG][75] SetSessionObject(b46afec23303472db1ea9ccaf35013f5, 'child', NON-null)
2025-02-06 18:08:26.973 [DEBUG][75] {"sid":"b46afec23303472db1ea9ccaf35013f5","salt":"00b05f98-aecb-422d-85fb-fe7445406f25"}

2025-02-06 18:08:27.157 [DEBUG][75] Got request [999.999.999.999]: /service (session.login)
2025-02-06 18:08:27.157 [DEBUG][75] parameters:
2025-02-06 18:08:27.157 [DEBUG][75]   method: session.login
2025-02-06 18:08:27.157 [DEBUG][75]   md5: b696a9faf8de72616fcf4322223dfd12
2025-02-06 18:08:27.157 [DEBUG][75]   sid: b46afec23303472db1ea9ccaf35013f5
2025-02-06 18:08:27.157 [DEBUG][75]   format: json
2025-02-06 18:08:27.157 [DEBUG][75]   client_ip: 999.999.999.999
2025-02-06 18:08:27.157 [DEBUG][75]   client_local: false
2025-02-06 18:08:27.157 [DEBUG][75]   user_agent: Jellyfin-Server/10.10.3
2025-02-06 18:08:27.157 [DEBUG][75]   host_callback: ...
2025-02-06 18:08:27.157 [INFO][75] LoginSession(sid = b46afec23303472db1ea9ccaf35013f5)
2025-02-06 18:08:27.158 [DEBUG][75] [V6bYr7oqg57M8s6+MGRz4g3iTBOddi4287IYP0WiEsrZIS13j50r281kcs4wNl92pBA4oeXJyENWtrqI1sq2Agm28STS87yqldQwGYDDmAOCPrffdNEnj026qn5B/JNEfIUFV2olqbDVecNN74RY5aYOTR1NV67+IwXG1NwobI/LeqJM0tpqEO31AH6Ki9W4ZyScrs72NKIi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xLfi1Q2BjTQ3PHQBVo2mXieClu16jKRKd4xOmeanzKgh07vA6Ez5iP7pRBpMpjUnZTzT1tGZtfHc3GmNKY7/7nz5tEyg0IAHqbb/C18=]
2025-02-06 18:08:27.158 [ERROR][75] Rejecting user login attempt. More than 20 failed attempts.
2025-02-06 18:08:27.158 [DEBUG][75] {"stat":"Failed","code":1,"msg":"Login Failed"}
```

This following bit, does that reset?  May be a sub question.  If so after what period (or is it server restart.

```
2025-02-06 18:08:27.158 [ERROR][75] Rejecting user login attempt. More than 20 failed attempts.
```

I saw in the logs a log of other system service accesses, but I think they were the browser access I was uses to get the logs down.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#2
2025-02-06, 07:20 PM
(2025-02-06, 06:16 PM)psycik Wrote: I've got a remote nextpvr instance with a 6 digit pin.  Can't seem to authenticate with it (also have the same issue with the ios nextpvr app).

Did you try changing it back to a 4 digit pin and see if it works?

I recall this thread where there was an issue with sub's Andriod app not handling a PIN longer than 9 digits. Maybe the ios app won't work with a pin more than the default 4 digits.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#3
2025-02-06, 07:51 PM (This post was last modified: 2025-02-06, 09:21 PM by mvallevand.)
The first thing I checked when I saw the post on github was the plugin source it is a text field of unlimited length and 6 digit PIN are accepted by the API . The only thing that might be an issue is if the PIN included a semi-colon.

psycik, if you PM me your PIN, I can tell you if the plugin is calculating the challenge correctly plus what to look for in config.xml to see if they match.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#4
2025-02-06, 09:20 PM
Yeah I had the same thought. No colons or semi-colons in there?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#5
2025-02-06, 11:24 PM
Actually the colon isn't an issue since it is hashed.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#6
2025-02-07, 02:56 AM
I think the iOS app uses it as a delimiter when you're entering it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recorded Channel Groupings (Jellyfin) Swindiff 9 548 2025-04-16, 08:59 PM
Last Post: Swindiff
  NextPVR recording setting with JellyFin addon ceejayemm 1 959 2024-11-30, 01:02 AM
Last Post: mvallevand
  Jellyfin 10.9 next update. mvallevand 3 979 2024-11-29, 12:06 PM
Last Post: mvallevand
Bug jellyfin 10.9 cannot playback recordings - sid=jellyfin told not valid prahal 22 3,647 2024-06-04, 04:46 PM
Last Post: mvallevand
  Jellyfin v10.9 luguber 23 3,438 2024-05-23, 12:51 PM
Last Post: luguber
  Jellyfin issues turtlejay 10 2,191 2023-12-24, 05:42 PM
Last Post: turtlejay
  jellyfin live tv tab shows nothing. recordings tab has stuff. briantho 10 4,349 2023-07-07, 12:03 AM
Last Post: mvallevand
  Jellyfin playback issue when jellyfin is not on the same machine as nextpvr briantho 3 2,656 2022-12-16, 07:25 PM
Last Post: mvallevand
  Jellyfin 10.8 Alpha & Beta mvallevand 28 8,656 2022-09-08, 08:44 PM
Last Post: mvallevand
  Category 'Movie' is added to all items in the Jellyfin EPG. luguber 5 1,842 2022-04-05, 09:31 PM
Last Post: luguber

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

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

Linear Mode
Threaded Mode