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. Authentication Rejected

Authentication rejected

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.

Profile picture for user tbvk
By tbvk , 13 March, 2023
Forums
Gurux DLMS for Java

I have just gotten my one kamstrup meter working on GuruDirector, after a long time I realised it was the address to the Invocation counter Id that was giving me an error about "Service exception".

However, I am not sure how to set this in the GuruX java code, my current error is:

---
gurux.dlms.GXDLMSException: Connection is permanently rejected
Authentication failure.
---

Would such an error be solely related to authentication or could it be related to the invocation counter being incorrect/or not found?

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi, There is no solid answer…

Hi,

There is no solid answer to this. Different meters return different errors. Was you OBIS code wrong and you was reading Invocation counter from the wrong data object?

If you select your working meter in GXDLMSDirector what are command line parameters? If you can chare this information I can try to get the correct settings for you.

BR,
Mikko

Profile picture for user tbvk

tbvk

3 years 7 months ago

In reply to Hi, There is no solid answer… by Kurumi

e it was the invocation…

For me it was the invocation counter, so I set it to the correct number and I am testing with that now - I finally was able to get in!

I can control the relay and all!

Thanks for your consistent help!

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

In reply to e it was the invocation… by tbvk

Hi, The best way is if you…

Hi,

The best way is if you read the IC before connecting. Each transaction will increase the IC. There is an actual error if IC is too small. It will tell the expected IC value.

It's sad if Kamstrup is not using it.

Check Invocation counter error from here:
https://www.gurux.fi/Gurux.DLMS.ErrorCodes

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin