Closed ne0ark closed 3 years ago
Are you getting the error from the deepstack container or the trigger container?
This error is from node-deepstackai-trigger.
Please post the complete log from the trigger container. That doesn't look like any error that the container would produce. Thanks!
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-15-18-06-03.jpg: Skipping as it was created before the service started.
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-15-18-06-28.jpg: Skipping as it was created before the service started.
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-15-18-08-08.jpg: Skipping as it was created before the service started.
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-15-19-18-38.jpg: Skipping as it was created before the service started.
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-16-07-07-58.jpg: Skipping as it was created before the service started.
2021-04-16T14:46:03-04:00 [Trigger Garage] /MotionEye/Garage/images/Garage-2021-04-16-07-09-15.jpg: Skipping as it was created before the service started.
2021-04-16T14:49:31-04:00 [Trigger Driveway] /MotionEye/Driveway/images/Driveway-2021-04-16-14-49-29.jpg: Analyzing
2021-04-16T14:50:03-04:00 [Trigger Basement Door] /MotionEye/BasementDoor/images/BasementDoor-2021-04-16-14-50-00.jpg: Analyzing
2021-04-16T14:50:32-04:00 [Trigger Driveway] Error: Failed to call DeepStack at http://192.168.1.200:85/: {"success":false,"error":"failed to process request before timeout","duration":0}
2021-04-16T14:50:32-04:00 [Trigger Driveway] /MotionEye/Driveway/images/Driveway-2021-04-16-14-49-29.jpg: Analysis failed
Looks like the Trigger container can't talk to the DeepStack container. Since you mention you are using Portainer I'm unfortunately not going to be much help. I've never used Portainer and don't know how to handle configuring two containers so they can talk to each other.
Describe the bug After the server restart there I get the following error with deepstack.
Log entries {"success":false,"error":"error occured on the server","duration":0}
Installation details
Additional context The error generally goes away once I restart both deepstack and deepstackai-trigger. Any clue on how to fix it? There is no error that shows up on deepstack logs.