CPE send always same 3 events

Hi all,

CPE is always sending the same parameters doesn’t metter whats the scenario.
When I try summon or in periodic inform I’m always receiving:

  • 6 CONNECTION REQUEST
  • 2 PERIODIC INFORM
  • 0 BOOTSTRAP

Could someone help me to understand?

Debug logs from CPE:

event: incoming HTTP request
timestamp: 2024-11-19T13:25:27.008Z
remoteAddress: "::ffff:10.0.0.2"
deviceId: 00259E-EG8145X6-48575443F46F1BA6
connection: 2024-11-19T13:25:27.008Z
localPort: 10302
method: POST
url: /
headers:
  host: 10.0.30.188:10302
  soapaction: ""
  connection: Keep-Alive
  content-type: text/xml; charset=UTF-8
  user-agent: HW_WAP_CWMP_V02
  content-length: "2561"
body: >
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-0">

  <SOAP-ENV:Header>

  <cwmp:ID SOAP-ENV:mustUnderstand="1">38</cwmp:ID>

  </SOAP-ENV:Header>

  <SOAP-ENV:Body>

  <cwmp:Inform>

  <DeviceId>

  <Manufacturer>Huawei Technologies Co., Ltd</Manufacturer>

  <OUI>00259E</OUI>

  <ProductClass>EG8145X6</ProductClass>

  <SerialNumber>48575443F46F1</SerialNumber>

  </DeviceId>

  <Event SOAP-ENC:arrayType="cwmp:EventStruct[3]">

  <EventStruct>

  <EventCode>6 CONNECTION REQUEST</EventCode>

  <CommandKey/>

  </EventStruct>

  <EventStruct>

  <EventCode>2 PERIODIC</EventCode>

  <CommandKey/>

  </EventStruct>

  <EventStruct>

  <EventCode>0 BOOTSTRAP</EventCode>

  <CommandKey/>

  </EventStruct>

  </Event>

  <MaxEnvelopes>1</MaxEnvelopes>

  <CurrentTime>2024-11-19T10:25:33-03:00</CurrentTime>

  <RetryCount>0</RetryCount>

  <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[8]">

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>

  <Value xsi:type="xsd:string"/>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>

  <Value
  xsi:type="xsd:string">http://10.0.0.2:7547/12d35407380559ed68bb05864c34e555</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceSummary</Name>

  <Value xsi:type="xsd:string">InternetGatewayDevice:1.4[](Baseline:1,
  EthernetLAN:1, WiFiLAN:2, Time:1, IPPing:1, DeviceAssociation:1),
  VoiceService:1.0[1](Endpoint:1, SIPEndpoint:1)</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>

  <Value xsi:type="xsd:string">1.0</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>

  <Value xsi:type="xsd:string">22AD.A</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>

  <Value xsi:type="xsd:string">V5R022C00S246</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>

  <Value xsi:type="xsd:string"/>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name>

  <Value xsi:type="xsd:string">10.0.0.2</Value>

  </ParameterValueStruct>

  </ParameterList>

  </cwmp:Inform>

  </SOAP-ENV:Body>

  </SOAP-ENV:Envelope>
---
event: outgoing HTTP response
timestamp: 2024-11-19T13:25:27.011Z
remoteAddress: "::ffff:10.0.0.2"
deviceId: 00259E-EG8145X6-48575443F46F1
connection: 2024-11-19T13:25:27.008Z
statusCode: 200
headers:
  content-length: 522
  server: GenieACS/1.2.13+240606fc80
  soapserver: GenieACS/1.2.13+240606fc80
  content-type: text/xml; charset="utf-8"
  set-cookie: session=0aec7cfe493e8ad9
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">38</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>

GenieACS versions: 1.2.13
I’m not using Apache/nginx
Node version: 18.20.4

According to the spec, the CPE is supposed to keep sending events like BOOTSTRAP, BOOT, TRANSFER COMPLETE, etc until acknowledged. Are there any errors/faults that happen during the transaction?

Yes, I got just one error:
session timout

2024-11-19T15:08:49.004Z [INFO] ::ffff:10.0.0.3 00259E-EG8145V5-48575443B1E034A5: Inform; cpeRequestId="38" informEvent="6 CONNECTION REQUEST,2 PERIODIC,0 BOOTSTRAP" informRetryCount=7
2024-11-19T15:09:20.008Z [ERROR] ::ffff:10.0.0.3 00259E-EG8145V5-48575443B1E034A5: Session timeout; sessionTimestamp=1732028929000

The timeout is why the CPE keeps sending the events.

Enable debug logging for that cpe by creating the cwmp.debug key with value of Device.ID = "00259E-EG8145V5-48575443B1E034A5". The output will be stored in the location specified by GENIEACS_DEBUG_FILE in the /opt/genieacs/genieacs.env file.

Sure! I’ve did that.
The logs:

event: incoming HTTP request
timestamp: 2024-11-19T13:25:27.008Z
remoteAddress: "::ffff:10.0.0.2"
deviceId: 00259E-EG8145X6-48575443F46F1BA6
connection: 2024-11-19T13:25:27.008Z
localPort: 10302
method: POST
url: /
headers:
  host: 10.0.30.188:10302
  soapaction: ""
  connection: Keep-Alive
  content-type: text/xml; charset=UTF-8
  user-agent: HW_WAP_CWMP_V02
  content-length: "2561"
body: >
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-0">

  <SOAP-ENV:Header>

  <cwmp:ID SOAP-ENV:mustUnderstand="1">38</cwmp:ID>

  </SOAP-ENV:Header>

  <SOAP-ENV:Body>

  <cwmp:Inform>

  <DeviceId>

  <Manufacturer>Huawei Technologies Co., Ltd</Manufacturer>

  <OUI>00259E</OUI>

  <ProductClass>EG8145X6</ProductClass>

  <SerialNumber>48575443F46F1</SerialNumber>

  </DeviceId>

  <Event SOAP-ENC:arrayType="cwmp:EventStruct[3]">

  <EventStruct>

  <EventCode>6 CONNECTION REQUEST</EventCode>

  <CommandKey/>

  </EventStruct>

  <EventStruct>

  <EventCode>2 PERIODIC</EventCode>

  <CommandKey/>

  </EventStruct>

  <EventStruct>

  <EventCode>0 BOOTSTRAP</EventCode>

  <CommandKey/>

  </EventStruct>

  </Event>

  <MaxEnvelopes>1</MaxEnvelopes>

  <CurrentTime>2024-11-19T10:25:33-03:00</CurrentTime>

  <RetryCount>0</RetryCount>

  <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[8]">

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>

  <Value xsi:type="xsd:string"/>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>

  <Value
  xsi:type="xsd:string">http://10.0.0.2:7547/12d35407380559ed68bb05864c34e555</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceSummary</Name>

  <Value xsi:type="xsd:string">InternetGatewayDevice:1.4[](Baseline:1,
  EthernetLAN:1, WiFiLAN:2, Time:1, IPPing:1, DeviceAssociation:1),
  VoiceService:1.0[1](Endpoint:1, SIPEndpoint:1)</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>

  <Value xsi:type="xsd:string">1.0</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>

  <Value xsi:type="xsd:string">22AD.A</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>

  <Value xsi:type="xsd:string">V5R022C00S246</Value>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>

  <Value xsi:type="xsd:string"/>

  </ParameterValueStruct>

  <ParameterValueStruct>

  <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name>

  <Value xsi:type="xsd:string">10.0.0.2</Value>

  </ParameterValueStruct>

  </ParameterList>

  </cwmp:Inform>

  </SOAP-ENV:Body>

  </SOAP-ENV:Envelope>
---
event: outgoing HTTP response
timestamp: 2024-11-19T13:25:27.011Z
remoteAddress: "::ffff:10.0.0.2"
deviceId: 00259E-EG8145X6-48575443F46F1
connection: 2024-11-19T13:25:27.008Z
statusCode: 200
headers:
  content-length: 522
  server: GenieACS/1.2.13+240606fc80
  soapserver: GenieACS/1.2.13+240606fc80
  content-type: text/xml; charset="utf-8"
  set-cookie: session=0aec7cfe493e8ad9
body: >-
  <?xml version="1.0" encoding="UTF-8"?>

  <soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
  soap-env:mustUnderstand="1">38</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>

Is there anything on the syslog of the CPE? Everything looks good with the request/response.

Nothing more than:

2024-11-21 16:17:27 [Critical][Config-Log] Terminal:ACS(10.0.30.1),Result:Fail,Type:Authorization,: