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. Issue With "ServiceError Initiate Error Exception. Service UNSUPPORTED"

Issue with "ServiceError Initiate Error exception. Service UNSUPPORTED"

By mick93 , 20 May, 2025
Forums
Gurux DLMS for Java

Hi, I managed to create working java code (I mean, without java-related errors, underlining and highlighting), but anything I do ends with "ServiceError Initiate Error exception. Service UNSUPPORTED" error. I tried to use same settings as I used in GXDLMS Director app - I managed to make successful connection from here and read some data with lowest Access level (Public association, without auth or encryption, no keys etc.), cmd line for it looked like that:
python main.py -r ln -h <IP> -p 4059 -c 16 -s 1 -f 128 -t Verbose -i WRAPPER -d DLMS -a None -v 0.0.43.1.1.255 -C None

After that I've copied Conformance settings and used them in my java code. After some changes/switches etc. it somehow successfully has read invocation counter and later it managed to read serialnumber (both should be accessed via Public association), but only once and after next code's run it stopped working, giving me error like below:

[Hex trace and code removed.]

Profile picture for user Kurumi

Kurumi

1 year 3 months ago

Hi, You have not established…

Hi,

You have not established the connection to the meter (AARQ/AARE). You need to do that before you can read anything from the meter. I'll remove your code snippet to make this easier to read.

BR,
Mikko

mick93

1 year 3 months ago

Thanks for response. How to…

Thanks for response.
How to establish connection to the meter in Java? Do I need to use 'initializeConnection()'?

Profile picture for user Kurumi

Kurumi

1 year 3 months ago

Hi, Yes, you need to call…

Hi,

Yes, you need to call initializeConnection.
Check this:

https://gurux.fi/Gurux.DLMS.Client

BR,
Mikko

mick93

1 year 3 months ago

And there are logs after…

Looks like that above was meter's FW issue, now it's all solved

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Generic Exception raised on HLS authentication failure instead of GXDLMSException
  • DLMS Image Transfer: “byte must be in range(0, 256)” with 512-byte block size in Python
  • Connecting to meter using Wrapper
  • DLMS Server / Meter emulation in Golang library
  • Unknown Baudrate
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin