kapua icon indicating copy to clipboard operation
kapua copied to clipboard

Device registration error when connectionIp exceeds field size

Open stefanomorson opened this issue 5 years ago • 0 comments

Description

If a birth message contains a connectionIp metric which has a value that exceeds the length of the field in the device registry DB table, the registration of the device fails.

Affected version

Kapua version: 1.0.6

Expected result

The length of the value of this metric can vary significantly based on the device, the infrastructure where the device is deployed etc. There should be some rule in place to properly manage the registration when the value contained in the birth message exceeds the db limits.

stefanomorson avatar Sep 26 '19 10:09 stefanomorson