Botframework-emulator: Issue when connecting to bot. write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:c:\jenkins\workspace\electron-win-x64\vendor\node\deps\openssl\openssl\ssl\s23_clnt.c:794

Created on 25 Nov 2016  ·  13Comments  ·  Source: microsoft/BotFramework-Emulator

Hi,
I had previous instances of electron NPM in my system.
when I used the new emulator,
its says the following

write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:c:\jenkins\workspace\electron-win-x64\vendor\node\deps\openssl\openssl\ssl\s23_clnt.c:794

I have attached a screenshot for the same.

sketch

Please help me out.

Most helpful comment

Hi @alokraj68, the screenshot indicates you're trying to connect to https://localhost:3979/api/messages. Unless you've got SSL running on that port AND you have a valid, trusted certificate for CN=localhost, this won't work.

Have you tried changing "https" to "http"?

All 13 comments

It looks like we might be trying to communicate SSL over http. Can you provide a fiddler trace?

No idea how to do it :/

Is your bot connection configured with app id and password? i.e., are these fields filled out?
image

Yes, it is. Once i fill it out and press connect, this error popup!

On 28-Nov-2016 11:15 PM, "Eric Anderson" notifications@github.com wrote:

Is your bot connection configured with app id and password? i.e., are
these fields filled out?
[image: image]
https://cloud.githubusercontent.com/assets/12176807/20679342/5989076a-b54f-11e6-9251-5d805bb0719a.png


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-Emulator/issues/19#issuecomment-263340628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyDm7rKa8H1VMwnJd9NgtzpcC4uK26aks5rCxM0gaJpZM4K8KRw
.

I wonder if you're behind a proxy server that cannot perform SSL communication over plain http. Can you tell me about what kind of proxy configuration you have on your network, if any?

Hello Eric,
Am not behind any proxy server. I had electron running on my machine which
i removed some time ago. How can i reset this redirection?

On 02-Dec-2016 6:47 AM, "Eric Anderson" notifications@github.com wrote:

I wonder if you're behind a proxy server that cannot perform SSL
communication over plain http. Can you tell me about what kind of proxy
configuration you have on your network, if any?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-Emulator/issues/19#issuecomment-264346265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIyDm-qT0zHoRqznV8kCiN0n7mZRXt3Lks5rD3GpgaJpZM4K8KRw
.

@dandriscoll

@dandriscoll @eanders-MS any updates?

Hi @alokraj68, the screenshot indicates you're trying to connect to https://localhost:3979/api/messages. Unless you've got SSL running on that port AND you have a valid, trusted certificate for CN=localhost, this won't work.

Have you tried changing "https" to "http"?

Closing due to inactivity. @alokraj68 if you're still having trouble please open a new issue and we'll continue troubleshooting.

I got the same error, but after re-starting the emulator and then connecting to my network, it worked
unable to reproduce now...

When I had this same issue when trying to run a new bot framework project locally. If you are only using bot framework locally not having registered your bot then you should use http. Hope this helps anyone that had the same issues I was having.

Changing "https" to "http" has helped me.

Was this page helpful?
0 / 5 - 0 ratings