api doesn't work on raspberry pi 3 with buster OS

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
david1234
Posts: 64
Joined: Wed Jun 26, 2019 12:24 pm

api doesn't work on raspberry pi 3 with buster OS

Post by david1234 » Wed Aug 05, 2020 7:20 am

Hello ,
I'm running zoneminder V1.34.16 on pi Buster OS.
everything is working with the zoneminder (record 3 cameras all the time ,with sound - work great!)

now I'm trying to use API ,

I have done what it said in the guide

Code: Select all

AUTH_RELAY is set to hashed
A valid AUTH_HASH_SECRET is provided (not empty)
AUTH_HASH_IPS is disabled
OPT_USE_APIS is enabled
OPT_USE_GOOG_RECAPTCHA is disabled
have try with and without OPT_USE_AUTH (with password and without password)

no metter what I do
I get error

Code: Select all

curl -XPOST -d "user=David&pass=Davidpass" http://10.0.0.105/zm/api/host/login.json
{"name":"Not Found","message":"Not Found","url":"\/api\/zm\/api\/host\/login.json"}
pi@raspberrypi:~$
I have restart the zoneminder service
reboot the pi

still not working

what is missing?

Thanks ,

david1234
Posts: 64
Joined: Wed Jun 26, 2019 12:24 pm

Re: api doesn't work on raspberry pi 3 with buster OS

Post by david1234 » Sun Aug 09, 2020 6:47 am

anything?

cant be the only one....

Thanks,

bbunge
Posts: 2706
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: api doesn't work on raspberry pi 3 with buster OS

Post by bbunge » Sun Aug 09, 2020 12:13 pm

What instructions did you use to install Zoneminder?
Or did you use the pre-built image?

david1234
Posts: 64
Joined: Wed Jun 26, 2019 12:24 pm

Re: api doesn't work on raspberry pi 3 with buster OS

Post by david1234 » Mon Aug 10, 2020 1:27 pm

pre-build image from here

Code: Select all

https://zmrepo.zoneminder.com/

david1234
Posts: 64
Joined: Wed Jun 26, 2019 12:24 pm

Re: api doesn't work on raspberry pi 3 with buster OS

Post by david1234 » Sun Aug 23, 2020 7:03 am

anyone?

david1234
Posts: 64
Joined: Wed Jun 26, 2019 12:24 pm

Re: api doesn't work on raspberry pi 3 with buster OS

Post by david1234 » Sun Nov 08, 2020 8:23 am

can someone help \guide maybe ?

I really love working with zoneminder and the API option could make this program 100% good for my needed

?

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests