Throws if there's duplicate hubs in connection data.

So people can't send a request with tons of duplicate hubs and have that blow up memory.