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 Toni , 16 February, 2022
Forums
Gurux.DLMS

sudo python3 main.py -S /dev/ttyUSB2:300:7Even1 -t Verbose -i HdlcWithModeE -a High -P [0x0000000000] -s 1 -c 16
gurux_dlms version: 1.0.119
gurux_net version: 1.0.18
gurux_serial version: 1.0.18

Authentication: Authentication.HIGH
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS

TX: 22:45:10 /?!
RX: 22:45:11 bytearray(b'/HXE5\\2HXE12\r\n')
Bitrate is : 9600
TX: 22:45:12 06 32 35 32 0D 0A
TX: 22:45:13 7E A0 07 03 21 93 0F 01 7E
RX: 22:45:14 7E A0 20 21 03 73 73 98 81 80 14 05 02 00 C8 06 02 00 C8 07 04 00 00 00 01 08 04 00 00 00 01 0B 87 7E
TX: 22:45:14 7E A0 4C 03 21 10 3E 61 E6 E6 00 60 3E A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 87 57 3C 94 BA B4 DF 3A DD 15 61 A5 03 70 9D CF BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 5D FF FF 3E 14 7E
RX: 22:45:14 7E A0 58 21 03 30 71 57 E6 E7 00 61 4A A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 02 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 36 37 36 42 37 31 43 41 37 43 32 31 35 43 41 44 BE 0F 04 0E 08 00 06 5F 1F 04 00 00 18 1F 01 00 00 07 ED B0 7E
DisconnectRequest
TX: 22:45:14 7E A0 07 03 21 53 03 C7 7E
RX: 22:45:14 7E A0 07 21 21 73 82 50 7E
Connection is permanently rejected
The application context name is not supported.
Ended. Press any key to continue.

Toni

4 years 5 months ago

How do I get past this error

How do I get past this error "Connection is permanently rejected
The application context name is not supported."

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

There are a few things that might cause this, but in this case, you need to change the client address. You can add -c parameter. I don't know what value your meter is using for High authentication. You need to ask this from the meter vendor. If it's taking a long time to get a reply, you can try values 1, 2, 3, 17, 18, 19.

BR,
Mikko

Toni

4 years 5 months ago

Thank you, it works now.

Thank you, it works now.

Also, how can I move the command line parameters in to the python script so I don't have to enter the parameters via the command line. Thanks

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

You need to modify the client example for your needs.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • BaEdhlfwwvUqFMkOYk
  • CrzONrPdvkWUif…
  • kra4026
  • HilipLot
  • NithnCXPiBJHVG…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin