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. Node
  3. Service Not Known Error On Gprs Communication

Service not known error on gprs communication

By Harshi_554 , 24 July, 2026
Forums
Gurux.Net

Hi,
I am trying to communicate with a smart meter over GPRS communication. I am using Gurux.DLMS.Push.Listener.Example.python to read the data from the meter. But I am getting below errors:

gurux_dlms version: 1.0.197
gurux_net version: 1.0.19
gurux_serial version: 1.0.21
TCP Server imx93:4060
Press any key to close the application.
trace:07:58:06 TraceTypes.INFO MediaState.OPENING
Media state changed. MediaState.OPENING
trace:07:58:06 TraceTypes.INFO MediaState.CLOSING
Media state changed. MediaState.CLOSING
trace:07:58:06 TraceTypes.INFO MediaState.CLOSED
Media state changed. MediaState.CLOSED
[Errno -2] Name or service not known

I have used below command arguments based on meter specifications:
-p 4060 -i WRAPPER -t Verbose -A 1111111111111111 -b 4444444444444444

Can you help me to figure out this?

Profile picture for user Kurumi

Kurumi

1 month 3 weeks ago

Hi, This should be working…

Hi,

This should be working without problems. Name or service not known errors look odd. Do you have multiple NIC cards?

Can you add the error log here?

BR,
Mikko

Harshi_554

1 month 3 weeks ago

The board doesnt have…

The board doesnt have multiple NIC. Im using a imx93 based board and running Gurux.DLMS.Push.Listener.Example.python on it. I could not find other error logs with respect to this.

I did another testcase , running GuruxDLMSPushExample on host PC as a push message sender and running Gurux.DLMS.Push.Listener.Example.python on imx93 board as push message listener (over Ethernet connection). Will it works this way? In my case, the connection did not establish between host PC and board.

Profile picture for user Kurumi

Kurumi

1 month 3 weeks ago

Hi, What board are you using…

Hi,
What board are you using (Manufacturer and model)?

BR,
Mikko

Profile picture for user Kurumi

Kurumi

1 month 3 weeks ago

Hi, What board are you using…

Hi,
What board are you using (Manufacturer and model)?

BR,
Mikko

Harshi_554

1 month 3 weeks ago

Hi, Im using NXP's iMX93 CPU…

Hi,
Im using NXP's iMX93 CPU based board by iwave global. Below is the board description link.
https://iwave-global.com/product/i-mx-93-osm-system-on-module/

Profile picture for user Kurumi

Kurumi

1 month 3 weeks ago

Hi, We don't have this board…

Hi,
We don't have this board, but I believe that socket.gethostname() returns empty string.
Set the correct hostname, and I believe that this will work.

net.hostName = "Board IP address"

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin