Issues with Info Push Platform (Spamming same data)

smreka

n3wb
Joined
Mar 23, 2022
Messages
3
Reaction score
0
Location
Slovenia
Hi!

I just got an ANPR ITC415-PW6M-IZ-GN camera that I wanted to use to open gates at my business.
Due to my needs I need to register and handle this data on my server.
I've tried getting the information through the push platform.

It does send me the information from the first plate it recognizes, but then it just spams the same data to my server as much as it can, with hundreds of POST requests each minute.

I tried returning 100, 200, 201, etc...
I'm now also thinking it might be a firmware issue.
I can't find any documentation besides them saying it uses RFC2616 which is basically HTTP/1.1

Anyone got any insight, I'm loosing my hair here :(

Here's just a taste of the spam.



Code:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:42] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:42] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:42] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:43] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
Headers:
{'Connection': 'close', 'Content-Length': '622', 'Content-Type': 'application/json;charset=UTF-8', 'Host': '192.168.0.5:5000'}
Body:
{'Picture': {'Plate': {'BoundingBox': [1645, 846, 1719, 870], 'Channel': 0, 'IsExist': True, 'PlateColor': 'White', 'PlateNumber': 'KBS28', 'PlateType': '', 'UploadNum': 12}, 'SnapInfo': {'AllowUser': False, 'AllowUserEndTime': '', 'DefenceCode': 'em2aewMI4m2iuSOU', 'DeviceID': '55a4aa7f-8f9c-44a5-08fd-53da44968f9c', 'InCarPeopleNum': 0, 'LanNo': 1, 'OpenStrobe': False}, 'Vehicle': {'VehicleSeries': 'Other'}}}
192.168.0.168 - - [20/Jun/2023 19:50:44] "POST /NotificationInfo/TollgateInfo HTTP/1.1" 200 -
Received POST request - /NotificationInfo/TollgateInfo
 
Last edited:

smreka

n3wb
Joined
Mar 23, 2022
Messages
3
Reaction score
0
Location
Slovenia
Or is there maybe a different way how to get the license plate posted to my server when it detects it?
 

smreka

n3wb
Joined
Mar 23, 2022
Messages
3
Reaction score
0
Location
Slovenia
I'm guessing if I'm going to keep these cameras the only other way would be to save the captured plates to a FTP server with the name of the image being the PlateNumber and then write a Python script that would check for new files and each time it registers one it would extract the name and add it to my database.
Nah... I wouldn't trust that something would go wrong at some point. I might just have to return the cameras :\
 
Top