Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid status code #31

Open
NathanAMiller opened this issue Jun 8, 2020 · 13 comments
Open

Invalid status code #31

NathanAMiller opened this issue Jun 8, 2020 · 13 comments

Comments

@NathanAMiller
Copy link

I have 3 (different models) Hikvision camera, one of them has this error:

"Invalid status code"

image

Any idea?

Settings:

image

image

@ozett
Copy link

ozett commented Jun 8, 2020

maybe firmware issue? What version?
What model?

maybe share the flow here as code that one could check on node-red?

--edit:
saw that the 1st setting was there...

--edit2: maybe this missing? ->
image

@NathanAMiller
Copy link
Author

Here is the Model and Firmware
image

But the is no CGI settings in Network Advanced Settings
image

@NathanAMiller
Copy link
Author

Also my camera config on Node-Red
image

@ozett
Copy link

ozett commented Jun 8, 2020

dont have a clue whats wrong..maybe this model has no alerts?
dont think so. do you have activated any alert?
there is also a minor firmewarupgrade...maybe also give that a try.

http://www.hikvisioneurope.com/portal/?dir=portal/Technical%20Materials/00%20%20Network%20Camera/00%20%20Product%20Firmware/E3S%20platform%281X23G0E%2C1X21%28E%29%29/V5.5.84_Build191010

your other cameras work? maybe a total-reset of this camera, and start from beginning?

do you filled in the port-number by hand? there is a number shown, but it must be entered again by hand...

@NathanAMiller
Copy link
Author

Just updated to V5.5.84

image

and no success.

there is no changes in Network > Advanced > Integration Protocol

image

CGI Settings is missing

also, my other cameras work fine. Just this one not working

@henry-spanka
Copy link
Owner

Hmm, according to the data sheet it supports ISAPI. You might want to open a support ticket and ask them how to enable the API.

@ozett
Copy link

ozett commented Jun 17, 2020

did you try to find the needed config in different browsers?
maybe some quirk with IE or chrome?
or just from another PC/browser combination?

@ozett
Copy link

ozett commented Jun 17, 2020

i dont see this on any of my cams, but i dont have no hik-connect active.
maybe you have some other option activated, which disable "integration-procotol"?

there are some pictures in google-search to see, which show the same config as your cam withou integration protocol. may you also investigate with google-image search?

@ozett
Copy link

ozett commented Jun 17, 2020

what user are you? administrator? maybe missing rights to config?

image

@ozett
Copy link

ozett commented Jun 28, 2020

any progress here?
may try curl on cam or on dvr - and report your findings?

curl -u USER:PASS http://YOURCAMIP/ISAPI/Event/notification/alertStream #10 (comment)

@ozett
Copy link

ozett commented Jul 8, 2020

invalid status code may come from missing "basic-auth" as said here #31 (comment)?
also mentioned here: : https://github.com/dbowerman/node-red-contrib-hikcamera/issues/3

@vampywiz17
Copy link

@ozett

I think is better if you use the http request node.

image

advantages:

  • Not need to enable CGI
  • Not need to set any auth. value to "basic"

Both settings is a security hole.... If you want to write the picture to the storage, simply use the "file" node:

image

@ozett
Copy link

ozett commented Jul 20, 2020

Could be a solution.
I Must Check if that works With hilook cameras, too... Thx for the Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants