I would say you need to experiment with getting more electrolytes. For rides 50-100+ I take 1 or more bottles of hammer drinks. For rides 100-200 miles, I take Hammer enduralyte tablets too. I used those tablets on a big climb as well, such as Mt Lemmon in Tucson (23 miles of 5-6% grade).