Wrong Tempo

I’m using Ardour5 with Ubuntu Studio.
It seems like bpm is wrong. I have set it to 130bpm but it’s playing 140bpm when I measure it.
Also when I do an export the exported file will play much slower compared to when playing it in Ardour. It allso gets lower pitch.
My sample rate is set to 44.1 and I have never changed it.

Any ideas for what’s happening?

Your actual sample rate is probably 48kHz because you likely have a device that can only run at that rate. Ardour (and/or JACK) do not consider this an error (though there are messages about it. The ratio of 130 to 140 is extremely similar to the ratio of 44.1 and 48.