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. Forums
  3. Connection Is Permanently Rejected. The Application Context Name Is Not Supported.

Connection is permanently rejected. The application context name is not supported.

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 Frizull , 30 November, 2019
Forums
Gurux.DLMS.AMI

Hi!

Thanks for the great piece of software. I'm trying to get Gurux.DLMS.AMI up and running to read a Landis+Gyr ZMD410 through one of their CU-XE111 IP modems.

Works fine when using GXDLMSDirector, I can read the meter and all its registers.

But then importing the .gxc file as a template and adding in the device in AMI, the console always returns "Connection is permanently rejected. The application context name is not supported."

Initially thought it could be because of Logical Name Referencing, but toggling the switch in the device properties did not help. Do you have any clue as to what could be happening?

Thanks a bunch!

Ian

Image
Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

Please, don't post images. Send text from the console. It's easirt to check what is wrong.

Your meter is using short name and Gurux.DLMS.AMI seems to use logical name referencing.
We'll checks this and let you know tomorrow.

BR,
Mikko

Frizull

6 years 6 months ago

Thanks! I was watching the

Thanks! I was watching the repo on GitHub and noticed there has been some changes commited with regard to short names. Using that latest release, here is what the console looks like now:

+
+
Send SNRM request.7E A0 07 03 21 93 0F 01 7E
TX: 06:36:39 7E A0 07 03 21 93 0F 01 7E
RX: 06:36:39 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
Parsing UA reply.81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01
Parsing UA reply succeeded.
Send AARQ request
TX: 06:36:39 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
RX: 06:36:39 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 6C 2A 7E
Parsing AARE reply61 29 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00
Parsing AARE reply succeeded.
Reading: 39656
TX: 06:36:39 7E A0 11 03 21 32 B7 3D E6 E6 00 05 01 02 9A F8 C2 0C 7E
RX: 06:36:39 7E A0 15 21 03 52 5D 8A E6 E7 00 0C 01 00 02 02 0F FE 16 23 85 42 7E
Reading: 39656
TX: 06:36:39 7E A0 11 03 21 54 87 3B E6 E6 00 05 01 02 9A F0 8A 80 7E
RX: 06:36:39 7E A0 14 21 03 74 D2 D2 E6 E7 00 0C 01 00 05 00 00 5C 07 CE 90 7E
Send SNRM request.7E A0 07 03 21 93 0F 01 7E
TX: 06:36:39 7E A0 07 03 21 93 0F 01 7E
RX: 06:36:39 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
Parsing UA reply.81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01
Parsing UA reply succeeded.
Send AARQ request
TX: 06:36:39 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
RX: 06:36:40 7E A0 36 21 03 30 D7 60 E6 E7 00 61 1F A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 01 A3 05 A1 03 02 01 01 BE 0F 04 0D 08 00 06 5F 04 00 00 00 00 09 60 FA 00 26 1B 7E
Parsing AARE reply61 1F A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 01 A3 05 A1 03 02 01 01 BE 0F 04 0D 08 00 06 5F 04 00 00 00 00 09 60 FA 00
Connection is permanently rejected. No reason is given.
Send SNRM request.7E A0 07 03 21 93 0F 01 7E
TX: 06:36:40 7E A0 07 03 21 93 0F 01 7E
+
+

Thanks again for all your efforts!

Ian

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi Ian,

Hi Ian,

Get the latest version from GitHub. You need to create a device template again. The old version didn't support Short Name referencing.

BR,

Mikko

Frizull

6 years 6 months ago

Hi!

Hi!

Thanks, I was watching the repo yesterday and retried with the new release a few minutes after the changes were pushed. I'm using the in-memory database, so I had to recreate the template and device anyway. My previous response is the result of that test: it now prints "Connection is permanently rejected. No reason is given."

Would you like me to open a separate issue for that new message?

Thanks again!

I.

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

Do you try to read this manually or are you using a schedule? How many meters you have?
Are you using virtual meters or real meter?

BR,
Mikko

Frizull

6 years 6 months ago

I'm trying a manual read for

I'm trying a manual read for now, but will schedule a read each second in the future. The make and model are specified in my first message, and this is a real meter.

I can give you the host and ports if it's useful to you: the meter is reachable over the Internet.

Thanks again,

I.

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

We found reason for this. Thanks from your help.

http://www.gurux.fi/node/14111

Get the latest version.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin