Honda rancher stalls and wont start for an hour

2013 Honda rancher 420 es

It starts up normally, it will idle all day. Once i start riding, after 10-30 seconds it will start to seem like its not getting good gas flow and it stalls out. I try starting and it cranks fine but wont start. After it sits for an hour or so it will start again.

I have replaced the fuel filter. That made no difference.

Ideas?