Replication Fails with error: System.UriFormatException: Invalid URI: The hostname could not be parsed.