Contact Request Failed

Experiencing a problem when doing a summon for the UI .
no contact for CPE .

but each time this is done the Latest inform time immediately updates to the current time

doing a curl in the connection url passed for the UI server

gacs@noc-gacs-ui1:/var/log/genieacs$ curl http://100.72.10.132:7547/7eed3c15844d028046c58c248a806a97 -vvv -i

  • Trying 100.72.10.132:7547…
  • Connected to 100.72.10.132 (100.72.10.132) port 7547 (#0)

GET /7eed3c15844d028046c58c248a806a97 HTTP/1.1
Host: 100.72.10.132:7547
User-Agent: curl/7.81.0
Accept: /

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
    < Connection: Close
    Connection: Close
    < Content-Length: 0
    Content-Length: 0

<

  • Closing connection 0
    gacs@noc-gacs-ui1:/var/log/genieacs$

and we can see the inform come in .

The problem started after , after we had a power outage on the servers .

NBI is giving the same problem .

NBI,UI,CWPM,FS and DB are running on separate servers .

any ideas on where to look for the problem would be welcome :slight_smile:

we have don basics like restart all services . getting no errors

JohanM2 and I are working together on this one.

I would like to ask a question with regards to the problem that we are encountering.

It seems that the CPE does the connection request before the task has been written to the DB? Not sure if this is possible but the task gets queued in the DB even though the CPE did a connection request in to the CWMP. If you do a summon or another change of the parameter then the task gets sent to the CPE and the inform time gets updated.

Is there a way to delay the contact request that gets sent to the CPE perhaps? This should prove our theory that the CPE makes contact with the CWMP before the task is written into the DB.

The CWMP closes the connection with a 204 indicating no content…

We have solved the problem

we found that the CWMP Servers time was out with 2 seconds resulting the _lastInform time for the device to be 2sec before the contact request was done according to the DB

we adjusted the time to be inline with the NBI and UI server times .

Problem resolved .

Looking at the code guided us to look at this

Thanks

Thanks for sharing the outcome.

Hi Johan, can u explain how to do it