cannot stay conneccted to shore power
what ever is going on is in the RV house circuits
suspects
water heater electric heating element
fridge heating element
charger/converter ( can be combo inverter/converter )
look at which breakers are tripping and what is on the circuit
IF it is your main hose breaker
then you could have a problem with the "automatic transfer switch"
usually referred too as the "ATS", big relay that switches between shore power and generator
loose connections or stuck contacts, in there can cause the house main to trip