All the talk of dehydration/hypoglycaemia makes me wonder how 'back in the day' you could do an alldayer with just a couple of bottles of finest tap water, packet of jelly babies and a lunchtime stop for a pork pie/tin of coke
As for the 'energy drinks' - I certainly wouldn't want to be taking caffeine for a normal ride, late on in an endurance event mebbe but it's more likely to cause a headache than stop one.....
...if you suspect dehydration/hypoglycaemia try some 'non-cycling' exercise of about the same duration/intensity and see if you get the same effect (perhaps a long walk interspersed with jogging/running)

