-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.5.29 critical bug: won't connect to local bot #187
Comments
revert to v3.5.27 for the moment as that version was working without any problem. |
Are you using ngrok? What URL are you using to connect to the bot? Are you using an MS App ID and password with the locally hosted bot? Presumably you are (1) opening the emulator, (2) entering the URL and credentials (if any), and (3) pressing connect, right? I've not experienced the issue you are reporting, but let's try to figure out what's going on here. |
Not using ngrok. URL is http://localhost:3978/api/messages. Yes locally
hosted bot with blank MS App ID and password as this is allowed in v3.5.27. Is AppID and password mandatory in v3.5.29?
Yes 1 2 3, except in step 2, don't have to manually enter URL because it's
in the drop list.
|
I've had a similar issue. I don't use ngrok and just connect with localhost (I do specify the app id and password, but this never seems to come through as expected so I also embed a separate id in the url to get round this issue). I'm seeing the requests coming through in node.js, but no responses appear in the emulator. I downgraded to v3.5.27 and it started working again. |
Experiencing the same issue. All configuration is the same between the upgrade v3.5.27 to v3.5.29. Bots are built using v3.8.0/.1 of the botbuilder npm package. |
FYI, it looks like the latest source has change, May 10, 2017 at 2:08:46 PM PDT App running locally from built source at this commit doesn't have the issue. |
Found a work-around: firing up fiddler resuscitates the emulator... |
@beatgates That's in interesting piece of information, thanks. Is it still broken when fiddler isn't running? |
Yes, it's still broken if fiddler isn't running.
Guess those people who can use this version are not behind a corporate
proxy/firewall or using a .Net bot? Still it doesn't make sense for the
emulator not connecting to local hosted NodeJS bot...
…On 18/05/2017 14:50, Eric Anderson wrote:
@beatgates <https://github.com/beatgates> That's in interesting piece of
information, thanks. Is it still broken when fiddler isn't running?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#187 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASdC7SfLWpgTYwGFDNXaz-Sl6dLig9xks5r684CgaJpZM4NWJ6V>.
|
Yes, that matches my experience. The emulator auto-updated back to 3.5.29, but because I was working from home it started working again. Back in today (behind the proxy/firewall) and it stopped working. |
See my comment above. FWIW the emulator works for me when built from the latest master source. Could this be the reason? May 10, 2017 at 2:08:46 PM PDT |
Having the same issue behind a corporate proxy with 3.5.29, version 3.5.27 is working. Haven´t and wont try with Fiddler. Disabling the local machine firewall and antivirus protection doesn't change anything. Although my network is behind a perimeter firewall, that shouldn't be a problem unless the emulator is trying to connect to the internet. Win 10 64 bits, using I´m free to help with troubleshooting, just give me some instructions on how to enable logging and/or where to find the logs. |
@MarcoScabbiolo would you be willing to build the emulator locally from source? If you can repro with a local build, then I can push code changes to you until we've solved the problem. The difficulty here is we don't have a local repro. |
@eanders-ms Totally understand that, next week I might have some time to do a local debug and in the best case scenario make the pull-request. I'll let you know. |
So here is what's going on: DirectLine internally makes a call to
I've managed to solve the problem by bypassing the proxy for requests to the IP 127.0.01. To reproduce |
Closing as stale. |
v3.5.27 was all good then auto updated to v3.5.28 then a few minutes later to v3.5.29
The v3.5.29 cannot connect to local bot. Clicking the connect, nothing happened, like dead. No error messages or logging at all.
The text was updated successfully, but these errors were encountered: