I did a simular distance yesterday and I will probably never loose weight because I eat quite a lot.
Before 2 x toast with peanut butter, a 6″ subway sub that was about 1 – 2 hours before.
Took a 750ml of weak vimto and a 500ml of water topped up with SIS tablet, stopped after 20 miles to get a couple of flapjacks ( roadside butty van didn’t even get off the bike 😆 ) scoffed one straight away and had one about and hour later.
Stopped at about 30 miles to get more water and a can of pop. That did me fine till about 5 miles from the end when I started slowing down a bit so just had a gel then.
I stopped a few times on the ride for a ” comfort break ” but it defiantly sounds like the OP was dehydrated. I find I need to drink loads else I get a mega headache after.