# Mavlink2REST not receiving events

**URL:** <https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355>\
**Category:** Blue Robotics Software\
**Tags:** sitl, simulate\
**Created:** [October 13, 2020, 6:16pm UTC](https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355 "2020-10-13T18:16:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enderocean](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/enderocean/32/4768_2.png) [@enderocean](https://discuss.bluerobotics.com/u/enderocean)\
**Post date:** [October 13, 2020, 6:16pm UTC](https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355/1 "2020-10-13T18:16:08Z")

</div>

Hi,  
I have installed mavlink2rest on my Ubuntu 19.10 laptop. It is working fine with SITL autotest. I can see events and execute some requests successfully.

But when I plug the ROV with the tether, there is no incoming events on: 127.0.0.1:8088/mavlink (“mavlink2rest -v” does emit any message). Same on: 192.168.2.2:4777/mavlink → reponse is empty {}  
But QGC can still connect and control the ROV.

Recently, I have upgraded the companion software to version 0.0.22 and kept Ardub version to 3.5.4. I have also upgraded mavlink2rest on the PI companion to version 0.9.0. The service is active according to 192.168.2.2:2770/system

Is there something I missed ? Any ideas ? Thank you.

Note, I have not modified the default network configuration:

> –master=/dev/autopilot,115200  
> –load-module=‘GPSInput,DepthOutput’  
> –source-system=200  
> –cmd=“set heartbeat 0”  
> –out udpin:localhost:9000  
> –out udpout:localhost:9002  
> –out udpin:0.0.0.0:14660  
> –out udpbcast:192.168.2.255:14550  
> –mav20  
> –aircraft telemetry  
> –streamrate 10

---

<div class="post-metadata">

**Author:** ![matt\_bathyscope](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/matt_bathyscope/32/5004_2.png) [@matt\_bathyscope](https://discuss.bluerobotics.com/u/matt_bathyscope)\
**Post date:** [October 13, 2020, 6:20pm UTC](https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355/2 "2020-10-13T18:20:28Z")

</div>

I had a similar issue and it was because the `SERIAL0_PROTOCOL` value for the PixHawk was set to MAVLink1 and it should be set to MAVLink2 in QGC.

---

<div class="post-metadata">

**Author:** ![enderocean](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/enderocean/32/4768_2.png) [@enderocean](https://discuss.bluerobotics.com/u/enderocean)\
**Post date:** [October 13, 2020, 6:51pm UTC](https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355/3 "2020-10-13T18:51:26Z")

</div>

Thank you very much ! It works.

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [October 17, 2020, 9:00pm UTC](https://discuss.bluerobotics.com/t/mavlink2rest-not-receiving-events/8355/4 "2020-10-17T21:00:11Z")

</div>

Closed on October 17, 2020, 9:00pm UTC

This topic was automatically closed after 4 days. New replies are no longer allowed.
