I've got the same error and it's curious than if i use -service with a dns it fails with this error, and if i modify -service to point directly to the ip it works fine. It's also curious that we have 2 publisher on our production environment, this only happens on one of them.