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. Reconnect Same Client, Report OutOfMemoryException

Reconnect same client, report OutOfMemoryException

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.

By skywolf , 23 December, 2017
Forums
Gurux.DLMS

Hi,

If the client connection session is occupied and reconnected, the meter returns an error, and it will be reported OutOfMemoryException at this time.
<- 2017-12-23 15:28:28.276 7E A0 07 03 03 93 8C 11 7E
-> 2017-12-23 15:28:28.481 7E A0 20 03 03 73 F0 2E 81 80 14 05 02 01 40 06 02 01 40 07 04 00 00 00 01 08 04 00 00 00 01 BC 2D 7E
<- 2017-12-23 15:28:28.489 7E A0 44 03 03 10 65 94 E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF 5C FD 7E
-> 2017-12-23 15:28:28.652 7E A0 0F 03 03 30 C5 63 E6 E7 00 D8 01 01 3C 43 7E
This place report an OutOfMemoryException.

Profile picture for user Kurumi

Kurumi

8 years 5 months ago

Reconnect same client, report OutOfMemoryException

Hi,

Meter returns strange data. Length of data is also wrong.
Ask your meter manufacturer to fix this.

BR,

Mikko

skywolf

8 years 5 months ago

Hi,

Hi,

Thank you for your reply.

The meter manufacturer tell us the returns "7E A0 0F 03 03 30 C5 63 E6 E7 00 D8 01 01 3C 43 7E" is not wrong.
This means:
<ExceptionResponse>
<StateError Value="ServiceNotAllowed" />
<ServiceError Value="OperationNotPossible" />
</ExceptionResponse>

Profile picture for user Kurumi

Kurumi

8 years 5 months ago

Reconnect same client, report OutOfMemoryException

Hi,

This is true. Meter is returning a ServiceNotAllowed exception, but this is not usually returned when the connection is made even if some parameters are wrong. Did they tell the reason why this error is returned and not default AARE message? Can you try to reconnect where you first succeeded and then fail and send trace to me by email?

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