Sometimes mavproxy doesn't connect to pc

I have mavproxy installed on my companion computer (raspberry pi3) on my uav, it gets data from /AMA0 and ti sends it out to

Every once in a while the connection doesn’t work, i’d say once every 5 starts the data doesn’t come trough.

Any hints on why it happens?

I’ll answer my own message with my solution for other people that may encounter same prob in future.

I raised both serial spped of the pixhawk and of the starting parameter of mavproxy to 921600 (was 115200) and all is good now, it starts everytime.