Unsuitable PH'll contribute to stress which would make your fish more susceptible (what an annoying word, my brain cells must be dying off fast, can't spell) to illness although i doubt it'd cause it directly.
I reckon your extremely high protein diet is probably the most likely culprit....
Less bloodworm and no beefheart...
Try researching osmotic shock in FW fish there may be some link, if only in contributing factors, between this and dropsy.
Complete speculation but; Osmotic stress via low PH equals increased osmotic load equals mineral imbalances equals dropsy?