This error indicates a communication problem between your assistant and the voice assistant service.
For Custom Commands, ensure that your Custom Commands Application is published
For Direct Line Speech, ensure that you've connected your bot to the Direct Line Speech channel, added Streaming protocol support to your bot (with the related Web Socket support), and then check that your bot is responding to incoming requests from the channel.