Once this was immediately after installation. Restarted and helped. But you can also try to add google DNS 8.8.8.8.
Perhaps you will need to contact Apple support. It happens, FaceTime and iMessage on Macbook are blocked on Apple servers for some kind of spam.
Michael