NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 19 20 21 22 23 … 34 Next »
API Login Failure

 
  • 0 Vote(s) - 0 Average
API Login Failure
jcole998
Offline

Posting Freak

New York, USA
Posts: 820
Threads: 176
Joined: Jun 2015
#1
2020-09-26, 03:28 PM
Using the method.session API, it seems that I cannot login with a pin code other than 0000 when logging in on the local LAN. 

Can you tell me why the login fails? Does this API method use the same login data for local and internet access?


Attached Files
.zip   logs-20200926-1118.zip (Size: 385.58 KB / Downloads: 4)
Later...JohnC

System Status: Really sick  Sick
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 44,950
Threads: 862
Joined: May 2006
#2
2020-09-26, 03:56 PM
I figure it is how you calculate the md5 Can you sure the pin for that example?

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 820
Threads: 176
Joined: Jun 2015
#3
2020-09-26, 05:07 PM
Not sure what you're asking: "sure the pin"?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,328
Threads: 740
Joined: Nov 2003
#4
2020-09-26, 05:20 PM
In that example, I decrypted the extra logging, and the pin is wrong.
jcole998
Offline

Posting Freak

New York, USA
Posts: 820
Threads: 176
Joined: Jun 2015
#5
2020-09-26, 08:20 PM
OK, sub. I thought if the code worked for 0000 it would work for any number. I'll recheck what I've coded.

Is the pin that's sent ignored by login if it is set to 0000 in Settings?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,328
Threads: 740
Joined: Nov 2003
#6
2020-09-26, 08:28 PM
(2020-09-26, 08:20 PM)jcole998 Wrote: Is the pin that's sent ignored by login if it is set to 0000 in Settings?
No - but there is some auto session login stuff that can happen on the local network, which wont happen on a remote request, which might be a factor.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 44,950
Threads: 862
Joined: May 2006
#7
2020-09-26, 08:47 PM
(2020-09-26, 05:07 PM)jcole998 Wrote: Not sure what you're asking: "sure the pin"?

I meant send the PIN and I would calculate what I think you should be sending.  Sub sort of confirmed that.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 820
Threads: 176
Joined: Jun 2015
#8
2020-09-26, 09:10 PM
Thanks, sub.

Martin...I will construct a login command for an 8-digit PIN and post the command and the number.

Tomorrow...
jcole998
Offline

Posting Freak

New York, USA
Posts: 820
Threads: 176
Joined: Jun 2015
#9
2020-09-27, 02:35 PM
OK...This is my code's output:

SID from session.initiate: 626510ae80b1455693e7d67e3638281b
PIN: 81476301
API: http://localhost:8867/service?method=ses...bb6f6760d7

SID from session.initiate: 28fa8c560ae34ce88e364eb694c75b2d
PIN: 0000
API: http://localhost:8867/service?method=ses...31bf807017

I did not try a login, only produced APIs. 

JohnC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 44,950
Threads: 862
Joined: May 2006
#10
2020-09-27, 02:49 PM
If that was the PIN you had in yesterdays test you aren't calculating the md5 correctly. If it is a new PIN you forgot to provide the salt which is the most variable.

Martin
« 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
  Suddenly can't login to web app mcbo84 30 5,006 2022-12-01, 04:05 PM
Last Post: jobby99
  Recording Next available Movie after Failure jw1 6 190 2022-09-26, 06:45 PM
Last Post: mvallevand
  Recipe for failure: 3 generations of HDHomeRuns turmbrown 4 557 2022-01-29, 10:49 PM
Last Post: turmbrown
  Start recording again after failure? cords911 3 499 2021-10-07, 01:37 PM
Last Post: mvallevand
  Login Failed cookrd1 1 407 2021-09-01, 11:21 PM
Last Post: sub
  Login MaxOne72 1 449 2021-05-16, 07:04 PM
Last Post: sub
  Editing URL for XC Login? CenturyBreak 2 645 2021-03-21, 02:06 AM
Last Post: CenturyBreak
  cant login to web client to change settings nogoer 1 3,516 2019-09-27, 09:29 PM
Last Post: donbrew

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

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

Linear Mode
Threaded Mode