Skip to content

Ngrok doesn't work with Emulator #2295

@MaximDmitrievich

Description

@MaximDmitrievich

Github 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:

  1. Turn up the bot
  2. Open Emulator
  3. Choose the bot config
  4. Emulator get error, written upper.

Expected behavior

Emulator starts conversationUpdate and then user can interract with user

Screenshots

image

Additional context

[bug]

Metadata

Metadata

Assignees

Labels

Bot Servicesequired for internal Azure reporting. Do not delete. Do not change color.BugYour classic code defectcustomer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions