Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
api trouble
#5
(2020 Apr 09, 07:01 PM)dan Wrote:
(2020 Apr 09, 01:49 AM)danny_aka_rudy Wrote:
(2020 Apr 08, 02:47 PM)dan Wrote: What version of SIP are you running?

I tried it here with V 4.0.20 and it worked as expected.

You might try disabling the password under Options > Manage Passphrase. The password does not provide much security.

Dan

I'm running 4.0.23.  I mainly keep the password to keep the kids from futzing with it.  Worked just fine when I was on v3

OK. I pushed an update to GitHub that fixes the problem.

There was a change in the password checking code in the file "helpers.py" line ~595.
It required the use of "password" instead of "pw" in the query string like so:

http://127.0.0.1/sn?password=opendoor

Don't remember why the change was made, it may have been a result of a search and replace.
The old functionality has been restored to avoid any further problems. Use:

http://127.0.0.1/sn?pw=opendoor

Dan

Dan,

Go figure it would be in the one file I didn't search through..  Undecided

I had a separate python script that I wrote a while back.  I've got a frankenstein type system I cobbled together with push buttons to manually start stations another to run  script, another to stop all stations.  

It appears as though the service is reporting back properly now.  Thanks for the help!

Dan
Reply


Messages In This Thread
api trouble - by danny_aka_rudy - 2020 Apr 08, 03:02 AM
RE: api trouble - by dan - 2020 Apr 08, 02:47 PM
RE: api trouble - by danny_aka_rudy - 2020 Apr 09, 01:49 AM
RE: api trouble - by dan - 2020 Apr 09, 07:01 PM
RE: api trouble - by danny_aka_rudy - 2020 Apr 10, 05:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)