AI Timeout - what happened?

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
Updated from 5.6.5.9 to 5.6.8.1. Thought everything was running ok until I noticed a lot of missing notifications. Went and looked and it was the AI Timeout error that was happening. So I rebooted just to be sure any random Gremlins were flushed out and got the same issue. Reverted back to 5.6.6.1 and STILL getting the same AI timeouts.

I have not had to touch any of this in a VERY long time, so I am not as up to speed as I probably should be.
Below is my AI settings (using deepstack). Clicking on the "Open AI Control Panel" opens up the expected Deepstack web page.

Looking at my logs, it is obvious that the last time AI functioned correctly was just prior to upgrading to 5.6.8.1.
It has not worked since and even reverting back to 5.6.5.9 AI (Deepstack) is still not working.
LOG EXAMPLE:
3 1/11/2023 5:07:20.197 PM Upper_Basement MOTION_A

0 1/11/2023 5:07:20.910 PM Upper_Basement AI: [combined] person:81% [305,175 377,450] 137ms
3 1/11/2023 5:07:22.232 PM Back_Basement MOTION_A
10 1/11/2023 5:07:23.168 PM Server [::ffff:192.168.200.220]: Connected
10 1/11/2023 5:07:23.176 PM hs [::ffff:192.168.200.220]: Login
0 1/11/2023 5:07:28.469 PM Back_Basement AI: Alert cancelled [nothing found] 143ms
10 1/11/2023 5:07:30.057 PM Server [::]: Connected
0 1/11/2023 5:07:31.328 PM Upper_Basement Push: OK to iPhone13
10 1/11/2023 5:08:24.429 PM hs [::ffff:192.168.200.220]: Logout, 1:01
0 1/11/2023 5:08:49.147 PM App Console: disconnected
10 1/11/2023 5:09:04.258 PM local_console [::]: Logout, 46203:06
0 1/11/2023 5:09:04.262 PM App Stopped
0 1/11/2023 5:09:04.851 PM MQTT Disconnected
0 1/11/2023 5:09:11.465 PM App Nvidia video hardware detected
0 1/11/2023 5:09:11.465 PM App Graphics hardware vendorID 1002

0 1/11/2023 5:09:11.473 PM App Started version 5.6.8.1
0 1/11/2023 5:09:11.473 PM App Updated from version 5.6.5.9

0 1/11/2023 5:09:12.489 PM MQTT Connect: OK
1 1/11/2023 5:09:17.052 PM App Service is running as LocalSystem; see Administration in Help
1 1/11/2023 5:09:17.052 PM App Re-install service to remove BlueIrisService.exe dependency
0 1/11/2023 5:09:17.055 PM App Shield: Yellow
4 1/11/2023 5:09:17.090 PM Clips C:: 5294, 44.9G/551.0G (+240.7G)
0 1/11/2023 5:09:17.093 PM App AI has been started
10 1/11/2023 5:09:20.285 PM Server [::]: Connected
10 1/11/2023 5:09:20.286 PM local_console [::]: Login
0 1/11/2023 5:09:20.287 PM App Console: connected 1
0 1/11/2023 5:09:20.889 PM AI responding at 127.0.0.1:8082
0 1/11/2023 5:09:24.091 PM App Today's sunrise: 8:37 AM, sunset: 6:47 PM
0 1/11/2023 5:09:24.099 PM Server Started on port 8081
4 1/11/2023 5:09:28.338 PM Deer2 Signal: restored
0 1/11/2023 5:09:28.485 PM Action Push: OK to iPhone13
0 1/11/2023 5:09:35.581 PM App Shield: Green
10 1/11/2023 5:11:23.825 PM Server [::ffff:192.168.200.220]: Connected
10 1/11/2023 5:11:23.834 PM hs [::ffff:192.168.200.220]: Login
3 1/11/2023 5:12:01.788 PM Upper_Basement MOTION_A
3 1/11/2023 5:12:16.642 PM Back_Basement MOTION_A
10 1/11/2023 5:12:25.206 PM hs [::ffff:192.168.200.220]: Logout, 1:02

2 1/11/2023 5:12:32.008 PM Upper_Basement AI: timeout
1 1/11/2023 5:12:32.009 PM Upper_Basement AI: Alert cancelled [AI: timeout] 30006ms
2 1/11/2023 5:12:32.266 PM Back_Basement AI: timeout
1 1/11/2023 5:12:32.267 PM Back_Basement AI: Alert cancelled [AI: timeout] 9606ms


Any troubleshooting thoughts?
1673551727595.png
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,117
Reaction score
48,944
Location
USA
You answered your own question....you updated...

Deepstack is no longer supported by BI as it switched to CodeProject, so every update beyond when DeepStack last worked runs the risk of it breaking a functional Deepstack system if favor of supporting CodeProject.

I am sitting on the version before CodeProject was introduced because Deepstack works perfect for me and nothing has been added that I need or want.

Unless the update adds something you really want or need, rollback to the prior version when it worked.
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
" rollback to the prior version when it worked. "
As I stated above, I did exactly that. I rolled back to 5.6.5.9. Which I show in the logs as being the version I upgraded from (and proof that AI was working) to the 5.6.8.1 version that BROKE AI.

SUMMARY OF LOGS SHOWING WHEN IT BROKE:
2 1/11/2023 5:12:32.008 PM Upper_Basement AI: timeout
0 1/11/2023 5:09:11.473 PM App Started version 5.6.8.1
0 1/11/2023 5:09:11.473 PM App Updated from version 5.6.5.9
0 1/11/2023 5:07:20.910 PM Upper_Basement AI: [combined] person:81% [305,175 377,450] 137ms (VERSION 5.6.5.9)

Since I did upgrade, then reverted, do I need to remove any files, folders, registry settings?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,117
Reaction score
48,944
Location
USA
You said "Updated from 5.6.5.9 to 5.6.8.1" and then "Reverted back to 5.6.6.1" which is newer than your previous version, then finally "reverting back to 5.6.5.9"

So doing essentially two updates from the working 5.6.5.9 by going to 5.6.8.1 and then to 5.6.6.1 could have introduced an issue that stayed with it

I would delete Deepstack and reinstall it.
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
I would delete Deepstack and reinstall it.
BINGO! Removing Deepstack and reinstalling it WAS the answer.

I love Blue Iris and love Deepstack, but I almost feel like mom and dad are getting a divorce and I'm being left behind! :)
Not sure codeproject will ever live up to Deepstack. Don't think they even have a GPU version do they?

Again, thanks for the quick reply and support of a fellow Deepstacker!

-Steve
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,117
Reaction score
48,944
Location
USA
Good deal!

Yeah Deepstack has been perfect for me and does exactly what I need.

CodeProject has some GPU ability now, but until BI adds something I really want or need, I am sticking with my version with Deepstack that works perfectly for my needs.

I have seen mixed reviews for CodeProject - everywhere from conversion from Deepstack to CodeProject was simple and smooth, to endless problems and they reverted back to Deepstack.

The day will come that I move to CodeProject, but not today LOL.
 

Corvus85

Getting the hang of it
Joined
Aug 18, 2021
Messages
498
Reaction score
79
Location
Australia
The next release V2.0.X will have GPU support for Intel, AMD, and Nvidia. Version 2.0.X should be released soon, I am currently beta testing the next release.
How's development going for Google Coral TPU support?
 

kc8tmv

Getting the hang of it
Joined
May 27, 2017
Messages
177
Reaction score
82
Location
Cincinnati, Ohio
The next release V2.0.X will have GPU support for Intel, AMD, and Nvidia. Version 2.0.X should be released soon, I am currently beta testing the next release.
How does the accuracy and speed of object detection compare to DS?
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,219
Reaction score
4,261
Location
Brooklyn, NY
How does the accuracy and speed of object detection compare to DS?
Most users are seeing better accuracy and faster speed
 
Top