I had the issue where I got about 5-10mins of play time then got kicked with a error message and I know plenty of other people have the exact same issue.
It is not your internet, wifi, DMZ, ports or anything like that. It is the xbox one not being able to clear its ram effectively if at all.
All you have to do is Turn on your xbox one then hold the power button for 10seconds which causes the xbox one to reboot and clears the ram. then the next time you turn it on the online multiplayer wil be working fine until another reboot/ram clear is needed.
Microsoft need to patch this so the xbox can clear its ram effectively without the manual reboot needed.
Hope this helps and have fun playing online