This is a dock side ELCI (or GFCI) install required by a sort of HOA because you own the dock. This is the best place for ELCI.. not a bad idea to do this.
I am skeptical that the ELCI or GFCI products are as unreliable as you might get the impression from the internet. ELCI on the dock is the simplest way to protect for all sort of faults that can happen or bad wiring on the boat. But the way they insure that nothing bad can happen on a boat is to not supply power in the first place if something is not right. You are forced to fix the problem on the boat - or no power (unless you take the easy way out and just get rid of the ELCI).
Say you went to an ELCI breaker on the dockside (hopefully the HOA allows ELCI or GFCI?) and it trips. You could assume the ELCI is bad but in case we will assume the problem is actually with the boat.
A nice thing about "rms" AC current and voltage numbers is that you can use ohms law same as you would for DC. For example, the ELCI voltage and current trip are in rms so you can calculate the resistance required to create the trip current.
For a 30 ma trip and 120 VAC, the resistance is 4k ohms. (i.e., 120/.03 =4K)
For a 5 ma trip and 120 VAC, the resistance is 24K ohms.
This resistance can be measured with a hand held ohm meter.
You can also create the trip currents with capacitance (about .66 uf for 30ma and .11 uf for 5 ma) but this is more complicated to measure and probably not the problem anyhow.
If we just consider the resistance, you may be able to trace down your problem with a hand held ohm meter.
On the boat, the green ground AC wire should always have a high resistance to either the hot (black) or the neutral (white). So simply unplug the powercord going to the boat and check the resistance from hot to ground and from neutral to ground. If you measure less than 4K ohms from the hot to the ground, you will blow the ELCI when you connect the plug to AC.
If you do measure less than the 4K ohms with this simple test, you can go through the boat and remove/ unplug stuff until you find out what caused the less than 4K ohm resistance and isolate what is causing the problem.
However.. if you did that initial test just described with the ohm meter with the power cord unplugged and saw a high resistance (i.e., too high to trip the ELCI), you may still have a problem where the current that is tripping the ELCI is returning through the water.
In this case what I would do (carefully) is to connect the earth green wire of the dock side to the earth green wire of the boat - and ONLY connect the green ground wires - NOT the current carrying black and white wires. Now with the ohm meter, check again the hot to ground and neutral to ground. If you measure less than 4K ohms, that will trip the ELCI and once again you can go and start isolating stuff in the boat to see when the resistance measurements goes to high impedance and this should identify what is causing the problem.
If you still don’t find anything doing the above, the problem could still be parasitic capacitance and now it gets more complicated. But it’s just not likely that you can create a parasitic capacitance high enough to trip ELCI on the boat. You can create parasitic capacitance to trip the 5 ma GFCI however with for example a very long extension cord.