Hi!
I tried to connect 2 dlms meters using Gurux.DLMS.Python. I can read the first meter but got "Service not allowed. Operation not possible" error message on the second one. Is there anything I could do about it?
Thank you in advance.
python main.py -S COM27:19200:8None1 -c 6 -a HighGMAC -C AuthenticationEncryption -T 4C5945017098FA86 -A 0F8ABAC74A2944A598F109313B1F170E -B 6BB5831C15834C51849CF5083BAFBA0E -v 0.0.43.1.0.255 -w 1 -f 128 -t Verbose
gurux_dlms version: 1.0.146
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: 5
ClientAddress: 0x6
ServerAddress: 0x1
Standard: 0
Security: 48
System title: 4C 59 45 01 70 98 FA 86
Authentication key: 0F 8A BA C7 4A 29 44 A5 98 F1 09 31 3B 1F 17 0E
Block cipher key: 6B B5 83 1C 15 83 4C 51 84 9C F5 08 3B AF BA 0E
TX: 15:07:32 7E A0 07 03 21 93 0F 01 7E
RX: 15:07:32 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
TX: 15:07:32 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 5D FF FF 91 23 7E
RX: 15:07:33 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 10 10 02 00 00 07 AC A8 7E
TX: 15:07:33 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 01 00 00 2B 01 00 FF 02 00 7D 8F 7E
RX: 15:07:33 7E A0 15 21 03 52 5D 8A E6 E7 00 C4 01 C1 00 06 00 00 00 72 E8 48 7E
Invocation counter: 115
DisconnectRequest
TX: 15:07:33 7E A0 07 03 21 53 03 C7 7E
RX: 15:07:33 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
TX: 15:07:33 7E A0 07 03 0D 93 9C 8B 7E
RX: 15:07:33 7E A0 1E 0D 03 73 5B DC 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
TX: 15:07:33 7E A0 6B 03 0D 10 DF 33 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4C 59 45 01 70 98 FA 86 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 63 1F 06 E6 C1 30 DA 17 44 59 04 FD FC 16 AC AF BE 23 04 21 21 1F 30 00 00 00 73 35 F0 BE 51 68 CF F5 6C A2 B2 48 F5 82 07 64 FE 9B E4 D8 9B 3F A6 B5 CC A3 2C 02 33 7E
RX: 15:07:33 7E A0 6F 0D 03 30 3A EA E6 E7 00 61 61 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 4C 59 45 01 70 98 FA 86 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 0A 80 08 33 35 46 37 46 39 46 46 BE 23 04 21 28 1F 30 00 00 00 71 73 B0 5B 5C 80 5C 84 B9 A6 CA 41 A6 62 D0 F3 AE C5 AA FE 7B 52 35 43 8B 7F AF 12 B8 7E
flag here
TX: 15:07:33 7E A0 3F 03 0D 32 35 96 E6 E6 00 CB 31 30 00 00 00 73 F7 F1 7F 51 61 90 EA 40 A2 F2 A9 A9 81 0E 95 D3 12 C0 C5 1F 4E 3D C6 51 A2 4D 36 34 6E D3 A3 EC 62 29 84 BA 8D 2E 74 7E 88 68 44 83 1F 63 7E
RX: 15:07:33 7E A0 0F 0D 03 52 CA 33 E6 E7 00 D8 01 01 3C 43 7E
DisconnectRequest
TX: 15:07:33 7E A0 07 03 0D 53 90 4D 7E
RX: 15:07:33 7E A0 1E 0D 03 73 5B DC 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
Service not allowed. Operation not possible
Ended. Press any key to continue.
Hi, Because your meter is…
Hi,
Because your meter is returning the invocation counter your initialize settings seem to be correct.
Are the meters the same model? Check your authentication and block cipher keys. I believe that they are different on the second meter.
BR,
Mikko
Hi, Thank you for the reply…
Hi,
Thank you for the reply.
Yes, the meter is from different brand and model. The authentication and block cipher keys are different. I tried to connect using Gurux.DLMS.Net with same parameters. It works normal. But I still want to work with python. Is it possible? How can I do that?
[Trace deleted]
Hello, Kurumi and Adryan. I…
Hello, Kurumi and Adryan. I hope you're doing well.
I actually facing similar issue using gurux python.
Service not allowed. Operation not possible.
I'm curious to know if there have been any updates or progress regarding the issue. Has it been resolved yet, or is there any new information available?
Thank you.
Hi Remo, Please, if you have…
Hi Remo,
Please, if you have a new question, create a new topic.
The only difference between the hex logs is that python is not calling release.
Make sure that you have not modified the GXDLMSReader close -method.
BR,
Mikko