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

3 weeks 4 days 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

3 weeks 4 days 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

3 weeks 1 day ago

Hi, What board are you using…

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

BR,
Mikko

Profile picture for user Kurumi

Kurumi

3 weeks 1 day ago

Hi, What board are you using…

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

BR,
Mikko

Harshi_554

3 weeks 1 day 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

3 weeks 1 day 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

  • 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
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96

New forum topics

  • negative indexing for custom method/attribute
  • System title
  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin