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 2 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 2 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 2 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, 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