Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
  • Gurux Club
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Gurux Java bug? Help wanted

Gurux Java bug? Help wanted

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, 23 January, 2023
Forums
Gurux DLMS for Java

I have been trying for more than a week now to get GuruX Java to work with my meter. I have the correct authentication details and have tested that profile in GuruDirector which seems to work perfectly.

I then took those same parameters over and tried running it through GuruX Java library however I am getting a `PERMANENT_REJECT` error.

I'm very lost as to what it could be, any help would be appreciated.

(I have attached all the configs as images and the code being used).

Image
Profile picture for user Administrator

Administrator

2 months ago

Hi, Please, don't add pics…

Hi,

Please, don't add pics. They are hard to read. Plain text is better.

Your client address is different. In GXDLMSDirector you are using address #1 and in your code, you are using address #16. Check that first.

BR,
Mikko

Profile picture for user tbvk

tbvk

2 months ago

In reply to Hi, Please, don't add pics… by Administrator

After some debugging, what I…

After some debugging, what I have noticed is the following.

Setting Security from Security.AUTHENTICATION_AND_ENCRYPTION to Security.NONE makes the handshake proceed without an error but in Guru Director it works with authentication and encryption as shown in the photo.

This is why I feel as though this is a bug or discrepency between the Java dn dotnet versions. please assist.

Image
Profile picture for user tbvk

tbvk

2 months ago

Client administrator is 0x1…

Client administrator is 0x1 not 0x10, therefore I have set it to 1 already before your reply. It isn't 0x10 (that is client_public - which is not used).

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

Hire Us!

Latest Releases

Fri, 03/24/2023 - 14:22
gurux.dlms.c 20230324.1
Thu, 03/23/2023 - 11:01
GXDLMSDirector 9.0.2303.2301
Thu, 03/23/2023 - 09:10
Gurux.DLMS.Python 1.0.142
Wed, 03/22/2023 - 13:51
Gurux.DLMS.Net 9.0.2303.2201
Wed, 03/22/2023 - 10:15
gurux.dlms.c 20230322.1

Open bugs

Gurux.DLMS.AMI4
1
Gurux.DLMS.Android
1
gurux.dlms.c
3
gurux.dlms.cpp
3
gurux.dlms.delphi
1
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin