# le\_avdata\_PushRecord Handler Failure

**URL:** <https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440>\
**Category:** Legato Application Framework\
**Created:** [June 19, 2019, 11:29pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440 "2019-06-19T23:29:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [June 19, 2019, 11:29pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/1 "2019-06-19T23:29:45Z")

</div>

What would cause le\_avdata\_PushRecord to return LE\_OK but then the push handler to report `LE_AVDATA_PUSH_FAILEDLE_AVDATA_PUSH_FAILED` . The network is connected and an AirVantage session is open. There doesn’t seem to be any other clues in the log.

Thoughts,

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [June 24, 2019, 7:07pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/2 "2019-06-24T19:07:31Z")

</div>

When the le\_avdata\_PushRecord() fails I occasionally see these lines in the log

`Jun 24 17:08:11 swi-mdm9x15 user.info Legato: INFO | avcDaemon[17552] | Jun 24 17:08:11 WARN session id mismatch Jun 24 17:08:11 swi-mdm9x15 user.info Legato: INFO | avcDaemon[17552] | Jun 24 17:08:11 WARN error in check_server_hello err: -612 Jun 24 17:08:11 swi-mdm9x15 user.info Legato: INFO | avcDaemon[17552] | Jun 24 17:08:11 WARN error while handling handshake packet`

---

<div class="post-metadata">

**Author:** ![flu](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/flu/32/813_2.png) [@flu](https://forum.legato.io/u/flu)\
**Post date:** [July 15, 2019, 7:08am UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/3 "2019-07-15T07:08:06Z")

</div>

Hello Darren,

Please tell which Sierra Wireless product is being used on your side, and also which Legato framework version.

There is a known issue, fixed (in Legato releases 18.08 or 18.09) by these tinyDTLS and lwm2mCore changes:

- Initiate a full DTLS handshake when server rejects the current session.
- During DTLS handshake (full or resume), if a message is not received from server, re-transmit the last message flight.

KR,  
flu.

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [July 16, 2019, 5:38pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/4 "2019-07-16T17:38:35Z")

</div>

@flu

I’m using Legato 18.09.0 on a WP85.

Cheers,  
Darren

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [September 9, 2019, 9:22pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/5 "2019-09-09T21:22:37Z")

</div>

@flu

I’m still seeing this using 19.02.0 on my WP85 modules on it’s becoming an issue as we have been seeing it on a couple of units now.

How should I handle a `le_avdata_PushRecord` handler failure?

Thanks

---

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.legato.io/u/plu)\
**Post date:** [September 12, 2019, 12:52pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/6 "2019-09-12T12:52:12Z")

</div>

hi @dbeckwith,  
the issue has been reproduced, and an internal investigation is on going,  
keep you inform on any progress,  
BR

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [September 12, 2019, 3:54pm UTC](https://forum.legato.io/t/le-avdata-pushrecord-handler-failure/4440/7 "2019-09-12T15:54:07Z")

</div>

@plu

Thank you for the update, I’m glad the issue as able to be tracked down. Do you have any thoughts on how to avoid this issue right now while Sierra works on a fix?

Thanks
