Botframework-emulator: Failed to start ngrok: panic: runtime error

Created on 10 Oct 2017  路  7Comments  路  Source: microsoft/BotFramework-Emulator

Hello,

I am having ngrok panic !
Anybody have similar issues?

Thanks,

[15:20:08] Failed to start ngrok: panic: runtime error: invalid memory address or nil pointer dereference github.com/inconshreveable/olive/recover.go:40 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 <autogenerated>:30 <autogenerated>:132 github.com/inconshreveable/olive/recover.go:29 runtime/asm_amd64.s:514 runtime/panic.go:489 github.com/inconshreveable/olive/error.go:37 runtime/asm_amd64.s:514 runtime/panic.go:489 runtime/panic.go:63 runtime/signal_windows.go:161 lib/tunnel/client/reconnecting.go:39 lib/tunnel/client/session.go:97 ngrok/tunnel_session.go:138 ngrok/web_api.go:97 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 <autogenerated>:30 github.com/go-martini/martini/router.go:373 github.com/go-martini/martini/router.go:367 github.com/inconshreveable/olive/error.go:41 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 <autogenerated>:30 github.com/go-martini/martini/router.go:373 github.com/go-martini/martini/router.go:367 github.com/inconshreveable/olive/recover.go:32 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 <autogenerated>:30 github.com/go-martini/martini/router.go:373 github.com/go-martini/martini/router.go:367 github.com/inconshreveable/olive/logger.go:17 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 <autogenerated>:30 github.com/go-martini/martini/router.go:373 github.com/go-martini/martini/router.go:250 github.com/go-martini/martini/router.go:120 ngrok/src/ngrok/web.go:27 runtime/asm_amd64.s:515 reflect/value.go:434 reflect/value.go:302 github.com/codegangsta/inject/inject.go:102 github.com/go-martini/martini/martini.go:173 github.com/go-martini/martini/martini.go:69 

Most helpful comment

The issue is still present on my end. I'm capable of using ngrok by command line but the emulator instead is showing this error:

[12:09:10] Failed to start ngrok: panic: runtime error: invalid memory address or nil pointer dereference

Any help?

All 7 comments

@charbull

  • What version of ngrok do you have installed?
  • Are you able to run ngrok directly from a command line?

Related issue reported to ngrok: https://github.com/inconshreveable/ngrok/issues/316

Also, what is your OS?

Hi @eanders-MS ,

I am running on MS Win 7 Professional
I have the latest ngrok

Are you able to run ngrok from command line? I'm wondering if this is an issue with ngrok or with the way the emulator spawns it.

yes it works now thx

The issue is still present on my end. I'm capable of using ngrok by command line but the emulator instead is showing this error:

[12:09:10] Failed to start ngrok: panic: runtime error: invalid memory address or nil pointer dereference

Any help?

Hi,

I found this error appearing for me when I had a proxy configured on my Windows 10 system.
Check if there is a proxy configured - in the Environment variables or by echoing %http_proxy%.
If there is one, remove it and restart the Emulator and/or the system (restarting the user session might suffice). This solved the issue for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

saiteja21 picture saiteja21  路  4Comments

Jay-study-nildana picture Jay-study-nildana  路  4Comments

ravriel picture ravriel  路  3Comments

Spydernaz picture Spydernaz  路  5Comments

madenwala picture madenwala  路  6Comments