API says it can't send while waiting on DNS
I'm trying to do a pub/sub tutorial, both publishing 1 message and subscribing to the queue. The original JS code as Solace created on Github. I'm trying to Typescript-ify the code and now it says
OperationError: Cannot perform operation SEND while in state WaitingForDNS
PING resolves the host URL to an IP address, so at the very least, this message is misleading.
This happens on a session.send(solaceMessage);