Gurux gives error of "Not Enough data"

5 posts / 0 new
Last post
vivekchitte
Gurux gives error of "Not Enough data"

When I am connected gurux to my meter using suite 1 High level with ECDSA authentication mechanism it shows a pop-up error message "Not enough data".

please guide me to resolve this error.

thank you.

Kurumi
Kurumi's picture

Hi,

Can you add sent and received bytes as a hex?

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

vivekchitte

Hi Mikko,

please check the below log reply for your reference. this happens when I am trying to connect to the meter.

GXDLMSDirector 8.2.2107.2101
Log created 12:36:01
12:36:04 Initializing Network connection.
12:36:04 Send AARQ request.
00 01 00 30 00 01 00 5F 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 31 32 33 34 35 36 37 38 8A 02 07 80 8B 07 60 85 74 05 08 02 07 AC 12 80 10 50 0F 2D 30 05 44 05 64 30 61 5D 48 25 73 4A 27 BE 23 04 21 21 1F 31 00 00 00 00 A5 C9 10 AF E4 9C DC DA F0 CD AA 4E 8B 29 7C BD 0D DE CA 36 78 8A EB 74 9C CC
12:36:04
00 01 00 01 00 30 00 97 61 81 95 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 BE 7B 04 79 28 77 31 00 00 00 02 F7 F2 D6 B5 E7 F7 62 AB EF 07 E1 81 73 DF 11 A3 50 7C 30 81 49 45 B6 63 BB 8D FA 66 DD 55 B2 BB B8 0C 50 DB C4 1B D3 7B 6A 55 34 3A E5 5A 18 83 56 AC 41 66 7D 4B 1A 84 0B 1C F1 21 1F 98 24 8E B2 71 6E 78 B6 5B 4F 0A 16 79 88 86 41 5A 72 46 DD 73 9B FB B8 E7 3D C0 09 CB 16 FE B1 16 91 D5 DC 6A C2 53 1A 87 77 E4 49 AD F4 1A 58 93 13 2A 57 80
System.Exception: Not enough data.
at GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

thank you

Kurumi
Kurumi's picture

Hi,

One byte is missing from the reply and it's causing this.
61 81 95 //There are only 148 bytes. This must be fixed for the meter.

Meter doesn't accept the connection and returns the PermanentRejected error. Because I don't have the certificates I can't check this.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

vivekchitte

Hi,

please check the below-updated log reply for your reference.

GXDLMSDirector 8.2.2107.2101
Log created 12:28:23
12:28:26 Initializing Network connection.
12:28:26 Send AARQ request.
00 01 00 30 00 01 00 5F 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 31 32 33 34 35 36 37 38 8A 02 07 80 8B 07 60 85 74 05 08 02 07 AC 12 80 10 61 01 45 5E 08 3C 09 61 0B 12 3E 68 75 6B 37 02 BE 23 04 21 21 1F 31 00 00 00 00 A5 C9 10 AF E4 9C DC DA F0 CD AA 4E 8B 29 7C BD 0D DE CA 36 78 8A EB 74 9C CC
<WRAPPER len="67" >
<TargetAddress Value="30" />
<SourceAddress Value="1" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="3132333435363738" />
<SenderACSERequirements Value="1" />
<MechanismName Value="HighECDSA" />
<CallingAuthentication Value="6101455E083C09610B123E68756B3702" />
<glo_InitiateRequest Value="3100000000A5C910AFE49CDCDAF0CDAA4E8B297CBD0DDECA36788AEB749CCC" />
</AssociationRequest>
</PDU>
</WRAPPER>

12:28:26
00 01 00 01 00 30 00 97 61 81 95 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 BE 7B 04 79 28 77 31 00 00 00 03 D6 D7 90 F5 75 7F AA 54 1B BB 69 8C 17 39 35 88 BD 21 84 8C 24 01 E6 D2 D5 E9 56 C3 44 71 B4 BE CE E1 DD 95 0A 45 37 99 DF EA 80 33 69 96 F5 62 C4 B9 CB 67 E4 1B 2F CA CC 49 18 65 0B 58 3F 62 84 33 4E 67 AC DF BD 59 7F 09 40 02 7B 34 22 B6 BE D3 8C A7 36 D7 98 FD 03 6D 8B 47 A9 8E FE E5 3A 0D CD FE E9 73 3D 8B 54 4A 57 51 50 F5 F1 A4 20 98
<WRAPPER len="9F" >
<TargetAddress Value="1" />
<SourceAddress Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="01" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="01" />
</ResultSourceDiagnostic>
<glo_InitiateResponse Value="3100000003D6D790F5757FAA541BBB698C17393588BD21848C2401E6D2D5E956C34471B4BECEE1DD950A453799DFEA80336996F562C4B9CB67E41B2FCACC4918650B583F6284334E67ACDFBD597F0940027B3422B6BED38CA736D798FD036D8B47A98EFEE53A0DCDFEE9733D8B544A575150F5F1A42098" />
</AssociationResponse>
</PDU>
</WRAPPER>

System.Exception: Not enough data.
at GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

thank you