I removed all of the subnets and took the check out of the box that enables discovery. But if I go back into the properties of the gateway and click on the enable discovery again it has information in one of the fields, it just keeps auto-populating. The credentials are correctly setup.
What's very weird is that just now the discovery started to pick up devices. This gateway has been setup for over a week and didn't automatically pick up any devices until now when I kept checking the subnet that was in there. I'm hoping that the discovery might automatically stop now.