Ngrok doesn't work with Emulator
See original GitHub issueGithub issues should be used for bugs and feature requests. Use Stack Overflow for general “how-to” questions.
Version
4.14
Describe the bug
After upping the application and providing request through ngrok, ngrok falls down and give an exception
“Oops… Your ngrok tunnel seems to have an error. Please check the Ngrok Status Viewer for more details”
“Looks like the ngrok tunnel does not exist anymore…”
Using last version of ngrok and emulator, the links provided properly.
The last log from ngrok
Ngrok Logger starting
t=2021-10-04T13:58:03+0300 lvl=info msg="received stop request" obj=app stopReq="{err:<nil> restart:false}"
t=2021-10-04T13:58:03+0300 lvl=info msg="session closing" obj=tunnels.session err=nil
t=2021-10-04T13:58:03+0300 lvl=info msg="no configuration paths supplied"
t=2021-10-04T13:58:03+0300 lvl=info msg="ignoring default config path, could not stat it" path=/home/maxim/.ngrok2/ngrok.yml err="stat /home/maxim/.ngrok2/ngrok.yml: no such file or directory"
t=2021-10-04T13:58:03+0300 lvl=info msg="starting web service" obj=web addr=127.0.0.1:4040
t=2021-10-04T13:58:03+0300 lvl=info msg=start pg=/api/tunnels id=4823c88208bf2173
t=2021-10-04T13:58:03+0300 lvl=warn msg="ngrok is not yet ready to start tunnels" pg=/api/tunnels id=4823c88208bf2173 err="a successful ngrok tunnel session has not yet been established"
t=2021-10-04T13:58:03+0300 lvl=info msg=end pg=/api/tunnels id=4823c88208bf2173 status=503 dur=1.089392ms
t=2021-10-04T13:58:03+0300 lvl=info msg=start pg=/api/tunnels id=8f5a59c2760d0499
t=2021-10-04T13:58:03+0300 lvl=warn msg="ngrok is not yet ready to start tunnels" pg=/api/tunnels id=8f5a59c2760d0499 err="a successful ngrok tunnel session has not yet been established"
t=2021-10-04T13:58:03+0300 lvl=info msg=end pg=/api/tunnels id=8f5a59c2760d0499 status=503 dur=368.768µs
t=2021-10-04T13:58:03+0300 lvl=info msg=start pg=/api/tunnels id=aac441a0694d3788
t=2021-10-04T13:58:03+0300 lvl=info msg="tunnel session started" obj=tunnels.session
t=2021-10-04T13:58:03+0300 lvl=info msg="client session established" obj=csess id=18bdb6edcb1f
t=2021-10-04T13:58:03+0300 lvl=info msg="started tunnel" obj=tunnels name="e6b52930-2501-11ec-8791-b181e964dc45 (http)" addr=http://localhost:32815 url=http://bd35-178-238-114-10.ngrok.io
t=2021-10-04T13:58:03+0300 lvl=info msg="started tunnel" obj=tunnels name=e6b52930-2501-11ec-8791-b181e964dc45 addr=http://localhost:32815 url=https://bd35-178-238-114-10.ngrok.io
t=2021-10-04T13:58:03+0300 lvl=info msg=end pg=/api/tunnels id=aac441a0694d3788 status=201 dur=277.407116ms
t=2021-10-04T13:58:08+0300 lvl=info msg="join connections" obj=join id=b0ab7155ea5b l=[::1]:32815 r=178.238.114.10:59380
To Reproduce
Steps to reproduce the behavior:
- Turn up the bot
- Open Emulator
- Choose the bot config
- Emulator get error, written upper.
Expected behavior
Emulator starts conversationUpdate and then user can interract with user
Screenshots
Additional context
[bug]
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:25 (15 by maintainers)
Top Results From Across the Web
Ngrok not getting detected · Issue #2197 - GitHub
Hello, yeah this works. Only when the bot is opened the ngrok is actually getting active. When I reopen the emulator without the...
Read more >ngrok status error -looks like ngrok tunnel doesnot exist anymore
Question2: The ngrok error I see on my bot emulator(screenshot below) has anything to do with my local system or network? Is there...
Read more >Simple Guidance For You In Connecting Android Emulator To ...
It's a minor problem but it can cause headaches, connecting Android ... By ngrok, you can connect the emulator as well as real...
Read more >How to setup Ngrok & Bot Framework Emulator to test Azure ...
Open Command Prompt and navigate to the NGROK location, for example: CD C:\Softwares\ngrok · Type command ngrok authtoken <paste-your-copied- ...
Read more >Socket.io does not work on Andriod emulator/Expo Go but ...
First you'll have to install ngrok on your computer. Then, you'll have to make sure that the backend/server port is running and listening;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello all, the new nightly build is finally out with the fix to Ngrok:
https://github.com/microsoft/botframework-emulator-nightlies/releases/tag/v4.14.0-277368
Thank you for your patience! Keep an eye out for a stable release of Emulator as well if you don’t want to switch to the nightly for now.
The builds have been fixed, and we just merged my change in. I will kick off a nightly build and update this thread when it is out.
We will most likely release a stable patch as well (4.14.1).