Algertc ALPR database and VPNs

Gimmons

Getting comfortable
Jan 7, 2022
315
461
California
I've been trying to setup algertc's ALPR database to handle the lpr data from Blue Iris with no luck.

My first setup had the database running on my BI computer. The program seemed to be installed correctly, and I could see jpeg images and thumbnails going to the correct folders in the database directory, but the db program was not displaying the data. When I triggered an alert within BI, I got the Error: Web: No stream: 500 error.

I then tried setting up the database on a separate computer. Similar results, except the jpegs and thumbnails were not making it to the lpr directory, and the error message changed to Web: No stream: 1200 (or sometimes 1202.)

I'm wondering if this has to do with using tailscale, which changes the BI computer's IP address. I tried a number of variations, putting the db computer on tailscale, taking the BI computer off tailscale. I read through all 51 pages of the main ALPR thread, and tried everything that seemed relevant.

So any insight as to how to get it working with a vpn involved would be much appreciated.
 
I've been trying to setup algertc's ALPR database to handle the lpr data from Blue Iris with no luck.

My first setup had the database running on my BI computer. The program seemed to be installed correctly, and I could see jpeg images and thumbnails going to the correct folders in the database directory, but the db program was not displaying the data. When I triggered an alert within BI, I got the Error: Web: No stream: 500 error.

I then tried setting up the database on a separate computer. Similar results, except the jpegs and thumbnails were not making it to the lpr directory, and the error message changed to Web: No stream: 1200 (or sometimes 1202.)

I'm wondering if this has to do with using tailscale, which changes the BI computer's IP address. I tried a number of variations, putting the db computer on tailscale, taking the BI computer off tailscale. I read through all 51 pages of the main ALPR thread, and tried everything that seemed relevant.

So any insight as to how to get it working with a vpn involved would be much appreciated.
I would go back to having the ALPR database on the same machine. Verify you have correctly set the API key in the settings.

From another PC on the LAN, confirm you can reach the login screen. You want to use the internal IP of the BI/DB machine (leave the VPN out of the equation).

Then ensure that you are making the API call correctly and with the correct API key. Again, use the internal IP of the BI/DB machine. You could even just use localhost:3000 because you are calling the DB directly from the BI machine which is the same PC.

Verify the call in the BI logs. Also check the ALPR DB logs.

Post back and we'll help you diagnose the symptoms.
 
Last edited:
  • Like
Reactions: Gimmons
I don't use Tailscale so I am not sure exactly what's involved, but one thing you should confirm is connectivity between BI to CPAI and BI to ALPRDB. Not just ping, you should verify tcp connectivity since Tailscale might be looking at layer 4 info.