You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing an issue where the ObjectDetectionCoral module in CodeProject.AI occasionally stops after running for some time. Our goal was to figure out how to restart the module automatically when it stops for any reason.
Initially, we thought enabling autostart for the module would solve this issue, and we tried to use it as a workaround by restarting the CodeProject.AI service and leveraging the autostart feature. However, the autostart setting doesn't stay enabled after the module is manually stopped, and it reverts to false.
We tried using the following API endpoint to modify the autostart setting:
However, when we send a POST request with the body {"autostart": true}, we get a 400 Bad Request error. Additionally, the module resets to the autostart: false state when stopped.
What we tried:
Using API methods to set autostart via POST and PUT requests, but they were unsuccessful.
Manually restarting the CodeProject.AI service and setting autostart to true, but this doesn't persist after stopping the module.
Searching for alternative methods to restart the module, but we haven’t found a reliable solution.
Could anyone share a way to ensure the ObjectDetectionCoral module can be automatically restarted when it stops, or advise on a method to make the autostart setting permanent?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
We are facing an issue where the ObjectDetectionCoral module in CodeProject.AI occasionally stops after running for some time. Our goal was to figure out how to restart the module automatically when it stops for any reason.
Initially, we thought enabling autostart for the module would solve this issue, and we tried to use it as a workaround by restarting the CodeProject.AI service and leveraging the autostart feature. However, the autostart setting doesn't stay enabled after the module is manually stopped, and it reverts to false.
We tried using the following API endpoint to modify the autostart setting:
http://localhost:32168/v1/settings/ObjectDetectionCoral
However, when we send a POST request with the body {"autostart": true}, we get a 400 Bad Request error. Additionally, the module resets to the autostart: false state when stopped.
What we tried:
Could anyone share a way to ensure the ObjectDetectionCoral module can be automatically restarted when it stops, or advise on a method to make the autostart setting permanent?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions