Ngrok: Always getting an exception for the API - GET http://localhost:4040/api/requests/http

Created on 7 Mar 2016  路  4Comments  路  Source: inconshreveable/ngrok

This API always returns the following error. I am using latest ngrok 2.0 and on Mac OS X.

<data contentType="text/plain; charset=utf-8" contentLength="1816"><![CDATA[panic: runtime error: invalid memory address or nil pointer dereference

github.com/inconshreveable/olive/recover.go:40
runtime/asm_amd64.s:403
reflect/value.go:419
reflect/value.go:296
github.com/codegangsta/inject/inject.go:102
<autogenerated>:30
<autogenerated>:132
github.com/inconshreveable/olive/recover.go:29
runtime/asm_amd64.s:401
runtime/panic.go:387
github.com/inconshreveable/olive/error.go:37
runtime/asm_amd64.s:401
runtime/panic.go:387
runtime/panic.go:42
runtime/sigpanic_unix.go:26
ngrok/web_api.go:192
ngrok/web_api.go:224
runtime/asm_amd64.s:403
reflect/value.go:419
reflect/value.go:296
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:403
reflect/value.go:419
reflect/value.go:296
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:403
reflect/value.go:419
reflect/value.go:296
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:403
reflect/value.go:419
reflect/value.go:296
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:25
runtime/asm_amd64.s:403
reflect/value.go:419
reflect/value.go:296
github.com/codegangsta/inject/inject.go:102
github.com/go-martini/martini/martini.go:173
github.com/go-martini/martini/martini.go:69
]]></data>

Most helpful comment

I have 2.1.18, still the error persists

All 4 comments

this is a legit issue that hasn't been fixed yet in 2.X. hoping to tackle this soon. closing because this repo is going to be for 1.x issues only

I have 2.1.18, still the error persists

A few of our customers have reported this problem running latest ngrok (most run it without problem). Can I gather logs or other information for you?

still happening :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ricardopieper picture ricardopieper  路  3Comments

megapctr picture megapctr  路  4Comments

Conansoloman picture Conansoloman  路  7Comments

silverrajat88 picture silverrajat88  路  4Comments

cleocn picture cleocn  路  6Comments