By prashanth , 15 July, 2021 Forums Gurux DLMS for Java Hi I am getting not enought data error when i try to connect to simulator . The screenshot is given below Is there any suggestion to solve not enought data error Image Hi, Hi, Please, don't add screenshots or pics. I can't read the bytes. Add plain text. BR, Mikko hi kurumi thanks for reply hi kurumi thanks for reply this is the edited version i have added system.out.println to check the flow and point of error or to check what i recieve the output and the command is pasted below I would like to know reason for the issue ~/DMS/HES/jarfiles$ java -jar gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -a high -h 2401:4900:4022:3106:0000:0000:0000:0002 -p 4059 -T 4954503030373931 -B 32323232323232323232323232323232 -P 1A2B3C4D5E6F7G8H -A 32323232323232323232323232323232 -o simulator_template.xml -t Verbose -C Authentication -w Authentication: High ClientAddress: 0x10 ServerAddress: 0x1 Standard: DLMS Security: AUTHENTICATION System title: 49 54 50 30 30 37 39 31 Authentication key: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 Block cipher key 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 TX: 04:00:15.216 00 01 00 10 00 01 00 5F 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 49 54 50 30 30 37 39 31 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 77 0E 6C 01 0B 34 04 2D 1C 0A 30 2F 69 1A 38 46 BE 23 04 21 21 1F 10 00 00 00 00 01 00 00 00 06 5F 1F 04 00 02 1E 5D FF FF 8C F0 14 1F 16 66 CF 8B FD 84 58 B6 synchronizegurux.net.GXNet@e6ea0c6 RX: 04:00:17.094 00 01 00 01 00 10 00 3E 61 3C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 A4 0A 04 08 49 53 45 30 30 30 35 35 BE 0D 04 0B 28 09 20 00 00 00 02 7E 42 EE A5 F6 E5 EB 77 AA 2A 04 41 37 CE Jul 19, 2021 4:00:17 AM gurux.dlms.secure.GXSecure decryptAesGcm SEVERE: Not enought data. DisconnectRequest TX: 04:00:17.102 00 01 00 10 00 01 00 05 62 03 80 01 00 synchronizegurux.net.GXNet@e6ea0c6 RX: 04:00:18.532 00 01 00 01 00 10 00 02 63 00 null
hi kurumi thanks for reply hi kurumi thanks for reply this is the edited version i have added system.out.println to check the flow and point of error or to check what i recieve the output and the command is pasted below I would like to know reason for the issue ~/DMS/HES/jarfiles$ java -jar gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -a high -h 2401:4900:4022:3106:0000:0000:0000:0002 -p 4059 -T 4954503030373931 -B 32323232323232323232323232323232 -P 1A2B3C4D5E6F7G8H -A 32323232323232323232323232323232 -o simulator_template.xml -t Verbose -C Authentication -w Authentication: High ClientAddress: 0x10 ServerAddress: 0x1 Standard: DLMS Security: AUTHENTICATION System title: 49 54 50 30 30 37 39 31 Authentication key: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 Block cipher key 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 TX: 04:00:15.216 00 01 00 10 00 01 00 5F 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 49 54 50 30 30 37 39 31 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 77 0E 6C 01 0B 34 04 2D 1C 0A 30 2F 69 1A 38 46 BE 23 04 21 21 1F 10 00 00 00 00 01 00 00 00 06 5F 1F 04 00 02 1E 5D FF FF 8C F0 14 1F 16 66 CF 8B FD 84 58 B6 synchronizegurux.net.GXNet@e6ea0c6 RX: 04:00:17.094 00 01 00 01 00 10 00 3E 61 3C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 A4 0A 04 08 49 53 45 30 30 30 35 35 BE 0D 04 0B 28 09 20 00 00 00 02 7E 42 EE A5 F6 E5 EB 77 AA 2A 04 41 37 CE Jul 19, 2021 4:00:17 AM gurux.dlms.secure.GXSecure decryptAesGcm SEVERE: Not enought data. DisconnectRequest TX: 04:00:17.102 00 01 00 10 00 01 00 05 62 03 80 01 00 synchronizegurux.net.GXNet@e6ea0c6 RX: 04:00:18.532 00 01 00 01 00 10 00 02 63 00 null
Hi,
Hi,
Please, don't add screenshots or pics. I can't read the bytes. Add plain text.
BR,
Mikko
hi kurumi thanks for reply
hi kurumi thanks for reply this is the edited version i have added system.out.println to check the flow and point of error or to check what i recieve the output and the command is pasted below I would like to know reason for the issue
~/DMS/HES/jarfiles$ java -jar gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -a high -h 2401:4900:4022:3106:0000:0000:0000:0002 -p 4059 -T 4954503030373931 -B 32323232323232323232323232323232 -P 1A2B3C4D5E6F7G8H -A 32323232323232323232323232323232 -o simulator_template.xml -t Verbose -C Authentication -w
Authentication: High
ClientAddress: 0x10
ServerAddress: 0x1
Standard: DLMS
Security: AUTHENTICATION
System title: 49 54 50 30 30 37 39 31
Authentication key: 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Block cipher key 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
TX: 04:00:15.216 00 01 00 10 00 01 00 5F 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 49 54 50 30 30 37 39 31 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 77 0E 6C 01 0B 34 04 2D 1C 0A 30 2F 69 1A 38 46 BE 23 04 21 21 1F 10 00 00 00 00 01 00 00 00 06 5F 1F 04 00 02 1E 5D FF FF 8C F0 14 1F 16 66 CF 8B FD 84 58 B6
synchronizegurux.net.GXNet@e6ea0c6
RX: 04:00:17.094 00 01 00 01 00 10 00 3E 61 3C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 A4 0A 04 08 49 53 45 30 30 30 35 35 BE 0D 04 0B 28 09 20 00 00 00 02 7E 42 EE A5 F6 E5 EB 77 AA 2A 04 41 37 CE
Jul 19, 2021 4:00:17 AM gurux.dlms.secure.GXSecure decryptAesGcm
SEVERE: Not enought data.
DisconnectRequest
TX: 04:00:17.102 00 01 00 10 00 01 00 05 62 03 80 01 00
synchronizegurux.net.GXNet@e6ea0c6
RX: 04:00:18.532 00 01 00 01 00 10 00 02 63 00
null