Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. US Connection

US connection

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By sakshi , 5 February, 2019
Forums
Gurux DLMS for Java

Hi,

I am unable to make US connection using dlms for java. Gurux director successfully create US connection. So I have compared data of gurux director and dlms java. Both are same. But during parsing of user information, java code giving error as follows:
gurux.dlms.GXDLMSException: Connection is permanently rejected
No reason is given.
at gurux.dlms.GXAPDU.parsePDU2(GXAPDU.java:1111)
at gurux.dlms.GXAPDU.parsePDU(GXAPDU.java:873)
at gurux.dlms.GXDLMSClient.parseAareResponse(GXDLMSClient.java:729)
at le.dlms.client.GXDLMSReader.initializeConnection(GXDLMSReader.java:474)

I am using dlms java version 2.2.22.
I want to know how can i resolve it.

Thanks

Profile picture for user Kurumi

Kurumi

7 years 9 months ago

US connection

Hi,

Check that your client address, authentication level and password are the same.
This is usually the reason.

BR,

Mikko

sakshi

7 years 9 months ago

In reply to US connection by Kurumi

I have passed correct client

I have passed correct client address, authentication level and password. Even then i am getting this error.
If i use authentication level high with security level none then it works fine. But when i change security to AuthenticationEncryption then it fails. After decrypt data, i am getting tag 199. which cause to this error from parse(initiateRequest, settings, cipher, data, xml, tag); method in GXAPDU class.

Profile picture for user Kurumi

Kurumi

7 years 9 months ago

US connection

Hi,

Can you post meter reply message here?

BR,

Mikko

sakshi

7 years 9 months ago

Meter Reply :

Meter Reply :

7E A0 6F 61 03 30 D4 4A 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 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 09 80 08 50 36 77 52 4A 32 31 46 A4 0A 04 08 4C 45 49 41 41 41 41 41 BE 23 04 21 28 1F 30 00 00 00 00 5B 3F F3 3D 9A CD D4 1A B8 B0 3B D1 B1 86 17 51 5B B1 06 BF 60 A6 01 55 A8 50 26 EC 7E

sakshi

7 years 9 months ago

Hi

AArq Request :

7E A0 6B 03 61 10 2A FF E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4C 45 49 41 41 41 41 41 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 2D 01 2D 79 5F 66 1A 2B 5C 2E 51 5D 42 1B 35 30 BE 23 04 21 21 1F 30 00 00 00 00 9D 38 3C E5 4D 3B 9B 92 E4 D8 20 D9 AF 18 CA 2D C0 2A 76 6C FE C6 53 1C 82 BD 88 F6 7E

Meter Reply :

7E A0 6F 61 03 30 D4 4A 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 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 09 80 08 50 36 77 52 4A 32 31 46 A4 0A 04 08 4C 45 49 41 41 41 41 41 BE 23 04 21 28 1F 30 00 00 00 00 5B 3F F3 3D 9A CD D4 1A B8 B0 3B D1 B1 86 17 51 5B B1 06 BF 60 A6 01 55 A8 50 26 EC 7E

Profile picture for user Kurumi

Kurumi

7 years 9 months ago

US connection

Hi,

Meter replies AUTHENTICATION_REQUIRED error. Can you post reply message when using GXDLMSDirector?

BR,

Mikko

sakshi

7 years 9 months ago

Hi

Problem solved. Thanks

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin