Facing issue in repying back to emulator
Hello Team
Previous coding was working fine i am not sure suddenly i faced micorsoft.net framework issue and then after that i am not able to send the bot response to Emaulator but message is sent to my bot from emulator

Please help me to resolve this issue
Is your bot running on localhost or is it hosted externally (on Azure, or other cloud service)? If external, then you might have a misconfigured service url (where the bot calls back to your emulator).
Hello Eanders
We are running localhost only.

Please help me at earliest. I am not sure why bot was not able to send the message to emulator
So the message sent from the bot to the user shows up in the emulator window, but the call to the bot state service fails?
No message itself not sending to bot.
E.g. When I send hello from emulator it's showed status accepted but in order to respond with bot state welcome message it's not send to bot throwing error as shown in screenshot in above message chain. On Tue, 25 Oct 2016 at 2:25 AM, Will Portnoy [email protected] wrote:
So the message sent from the bot to the user shows up in the emulator window, but the call to the bot state service fails?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-255863312, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frkgmLVOPwByDMoISXl9zefRArxntks5q3RssgaJpZM4Kd4oN .
Bot is running in local host On Mon, 24 Oct 2016 at 1:28 AM, Eric Anderson [email protected] wrote:
Is your bot running on localhost or is it hosted externally (on Azure, or other cloud service)? If external, then you might have a misconfigured service url (where the bot calls back to your emulator).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-255610428, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5fro08shg6_BexamJW_lVZnq9dJWGZks5q27xggaJpZM4Kd4oN .
@Stevenic Does BotBuilder throw an exception if a botstate query returns 404? @vignestheo In your second screenshot it seems you were able to get past the ECONNREFUSED error. Is that the case?
Second screenshot we have to consider
On Fri, 28 Oct 2016 at 10:30 AM, Eric Anderson [email protected] wrote:
@Stevenic https://github.com/Stevenic Does BotBuilder throw an exception if a botstate query returns 404? @vignestheo https://github.com/vignestheo In your second screenshot it seems you were able to get past the ECONNREFUSED error. Is that the case?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-256836586, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frhVjHe18M4drmIoz_e3pVrrIADWzks5q4YFLgaJpZM4Kd4oN .
@eanders-MS it would throw an error if it got a 404 because it should never get a 404. When a users data isn't found its supposed to be returning the object below:
{
"etag": "*"
}
This doesn't reproduce for me at all so not sure what's going on.
@vignestheo are you on a mac by chance? Is this the command line emulator or the windows based emulator?
Windows based emulator On Sun, 30 Oct 2016 at 3:13 AM, Steven Ickman [email protected] wrote:
@vignestheo https://github.com/vignestheo are you on a mac by chance? Is this the command line emulator or the windows based emulator?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-257117736, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frs-QHfYJO79L5HuT-p9u64ZnFYK4ks5q474KgaJpZM4Kd4oN .
I have seen ports get stuck, I know it's lame but try rebooting
I tried after many reboot but nothing works, please provide your help but bot is working in Messenger/Skype but its not working for only emulator. Please provide your assitance
What are your settings for port and serviceurl?
Where I can see my settings On Sat, 5 Nov 2016 at 8:36 PM, Tom Laird-McConnell [email protected] wrote:
What are your settings for port and serviceurl?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-258617443, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frlTKPykVAzt1xoH4MpuLjRyps1qAks5q7JuCgaJpZM4Kd4oN .
At the top of the emulator window.
[image: pasted1]
On Wed, Nov 9, 2016 at 12:04 AM Will Portnoy [email protected] wrote:
At the top of the emulator window.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1489#issuecomment-259220048, or mute the thread https://github.com/notifications/unsubscribe-auth/AT5frroxYryFuIJmzysvxk51TmzWSdJnks5q8MClgaJpZM4Kd4oN .

We have released a new emulator. If this does not solve your issues, please let us know.
I have the same problem on the latest version of emulator. when I follow the tutorial on this page I use this url to connect
http://localhost:3978/api/messages
and after I send message like 'test' or 'P' to it, the server show
Error: connect ECONNREFUSED 127.0.0.1:5631
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
how can i fix it?