If both the main breaker and the gfci is tripping randomly, there is definitely an intermittent short or loose connection somewhere as the previous posters recommended to check. The breakers are safety devices to prevent an over-current situation that could cause an electrical fire, and in the case of the GFCI, prevent electrocution. I believe it is potentially dangerous to use the tub while it is in this state.
Not sure about the high limit error, could be related or a completely different issue. I would first resolve the breaker trips and troubleshoot the limit error after that.