Spore will not connect to the Spore servers if it is installed via disc version as of March of 2017. You will have to register your product on Steam, Origin, or GoG. If you're having trouble with this, try contacting EA customer support. They helped me get my Spore onto Origin.
Hope this helps