OK, so the problem is a ground fault. But before tackling that, it looks like your shorepower cable is also homemade, not a built-in RVIA shorepower cable installed in the original motorhome/RV. As far as I know class B rv/motorhomes came with 30A shorepower service cables.
Anyway, are you...