[error] Bad session state . HTTP/1.1 400 Bad Request

hi ,
I am running CPE instance on my laptop(CPE instance is netcwmp opensource tr-069 client) .I am trying to connect that client to our genieacs server . I am getting BAD SESSION STATE RESPONSE(HTTP/1.1 400 Bad Request)

here i am attaching logs of both server and client

genieacs-server logs

2021-01-09T14:05:52.823Z [INFO] genieacs-cwmp starting; pid=26486 version=“1.2.3+20201027064135”
2021-01-09T14:05:57.617Z [INFO] Worker listening; pid=26544 address=“” port=7547
2021-01-09T14:05:57.669Z [INFO] Worker listening; pid=26543 address=“” port=7547
2021-01-09T14:36:12.742Z [INFO] A00001-OT2800-12345: Inform; cpeRequestId=“1” informEvent=“0 BOOTSTRAP” informRetryCount=0
2021-01-09T14:36:12.762Z [ERROR] A00001-OT2800-12345: Bad session state

for CPE logs , as there are many logs ,i am attaching logs screenshots. you can find error in “screenshot_9”.

why is this error coming? is there a way to solve it?
thank you,

This error means that the request coming from the client isn’t what the ACS expected. For example, the CPE sending an empty HTTP request message as a response to GetParameterNames message from the ACS (typically empty request should only come after InformResponse). Run a packet capture and look at the request/response flow between the ACS and the CPE.

in my case, client is sending another 1 inform message without closing (terminating)the previous inform message session.is that what causing error??and also does client need to send keep-alive request every time after time after receiving inform response message?? as this flow is followed by genie-sim(genie-simulator) i have observed it in wireshark.