neilenns / node-deepstackai-trigger

Detects motion using Deepstack AI and calls registered triggers based on trigger rules.
MIT License
165 stars 28 forks source link

{"success":false,"error":"failed to process request before timeout","duration":0} #450

Closed ne0ark closed 2 years ago

ne0ark commented 2 years ago

Describe the bug The request's failing for some reason.

Log entries {"success":false,"error":"failed to process request before timeout","duration":0}

Installation details

Additional context Using deep stack version: https://hub.docker.com/layers/deepquestai/deepstack/gpu/images/sha256-1a02e4e784c90eb109dd1aaa8cdf340dfb334875dfc140974a7dece68741326a?context=explore

neilenns commented 2 years ago

I'm not familiar with Portainer so I'm not going to be able to help much with this. Common things to look at are whether the networking setup in Portainer allows communication between this project and Deepstack. If the two Docker containers can't talk to each other you might get that error.

ne0ark commented 2 years ago

This issue seems to be an issue with Deepstack latest version.

neilenns commented 2 years ago

Does it work if you roll back to an older Deepstack Docker image?

ne0ark commented 2 years ago

Does it work if you roll back to an older Deepstack Docker image?

Haven't tried yes will try it out. Here is the issue: https://forum.deepstack.cc/t/gpu-2022-01-1-no-objects-detected/1343

neilenns commented 2 years ago

Well... that looks like a Deepstack bug then so there's not much I can do about it. Try rolling back to the previous image.

ne0ark commented 2 years ago

@neilenns Did Deepstack change anything? Current version in GPU docker brach and NVDIA 510 drivers. I am getting no detection:


2022-01-23T10:07:55-05:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2022-01-23-10-07-48.jpg: Analyzing 2022-01-23T10:07:55-05:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2022-01-23-10-07-48.jpg: No objects detected. (171 ms)

Not sure if something needs to up be updated in deepstack-trigger.

neilenns commented 2 years ago

I don't follow their development work, I suggest either:

  1. Rolling back to an older version of their GPU image
  2. Trying a non-GPU image