I have setup a custom service to connect my Alexa Skill with my Chatbot via DirectLine. Last thursday everything worked fine and I was able to send messages to my Bot by using Alexa (Developer Test tool) and also received responses from my Chatbot.
Now I wanted to continue my development but everytime i want to start my conversation I get this exception:
An existing connection was forcibly closed by the remote host
In short my code looks like this:
var client = new DirectLineClient(_directLineSecret);
var conversation = await client.Conversations.StartConversationAsync().ConfigureAwait(false);
var conversationId = conversation.Result.ConversationId;
The directline secret should be correct as it is working fine within my webchat implementation.