Skip to main content
Home
for DLMS smart meters

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

3 weeks 6 days 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

3 weeks 6 days 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

3 weeks 6 days 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

3 weeks 4 days ago

And there are logs after…

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

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/17/2025 - 13:03
    Gurux.DLMS.Python 1.0.182
  • Wed, 06/04/2025 - 13:35
    gurux.dlms.c 9.0.2506.0401
  • Fri, 05/30/2025 - 08:30
    gurux.dlms.c 9.0.2505.3001
  • Tue, 05/27/2025 - 08:10
    Gurux.Serial.Android 2.0.12
  • Mon, 05/26/2025 - 08:39
    gurux.dlms.c 9.0.2505.2601

New forum topics

  • Day profile action item add error (String is not recognized as valid DateTime value)
  • Create gateway protocol in c
  • Error while reading event log object
  • GXDLMS Simulator – AssociationLogicalName Not Listed
  • Failed to read meter through raspberry pi 5 and probe
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin