compose/transporter

panic: connection error

georgehao opened this issue · 0 comments

panic: connection error, https://es-cn-mp90mbej1000dyum9.elasticsearch.aliyuncs.com:9200 [recovered]
panic: Panic at 32: connection error, https://es-cn-mp90mbej1000dyum9.elasticsearch.aliyuncs.com:9200 [recovered]
panic: Panic at 32: connection error, https://es-cn-mp90mbej1000dyum9.elasticsearch.aliyuncs.com:9200

goroutine 1 [running]:
github.com/compose/transporter/vendor/github.com/dop251/goja.(*Runtime).RunProgram.func1(0xc420121d88)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/runtime.go:779 +0x98
panic(0xe01c40, 0xc4201e73e0)
/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:489 +0x2cf
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm).try.func1(0xc4201865b0, 0x0, 0xc420121c60, 0x0, 0x0, 0x0, 0xc420121cb8)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:364 +0x32e
panic(0xe4d4e0, 0xc4201e73a0)
/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:489 +0x2cf
main.(*Node).Save(0xc4201e84c0, 0x15dade0, 0xc4201e84e0, 0xc4201b84a0, 0x3, 0x4, 0x0, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/cmd/transporter/goja_builder.go:264 +0x3b6
reflect.callMethod(0xc4201ea4b0, 0xc420121a18)
/usr/local/Cellar/go/1.8.3/libexec/src/reflect/value.go:640 +0x18a
reflect.methodValueCall(0x15dade0, 0xc4201e84e0, 0xc4201b84a0, 0x3, 0x4, 0x1, 0x7d713d, 0xc4201d7e60, 0x0, 0x38, ...)
/usr/local/Cellar/go/1.8.3/libexec/src/reflect/asm_amd64.s:29 +0x40
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm)._nativeCall(0xc4201865b0, 0xc4201db080, 0x3)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:1827 +0x2e9
github.com/compose/transporter/vendor/github.com/dop251/goja.call.exec(0xc400000003, 0xc4201865b0)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:1808 +0x6ff
github.com/compose/transporter/vendor/github.com/dop251/goja.(*call).exec(0xc4201e65bc, 0xc4201865b0)
:816 +0x55
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm).run(0xc4201865b0)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:288 +0x7f
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm).(github.com/compose/transporter/vendor/github.com/dop251/goja.run)-fm()
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:375 +0x2a
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm).try(0xc4201865b0, 0xc420121cc0, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:370 +0x119
github.com/compose/transporter/vendor/github.com/dop251/goja.(*vm).runTry(0xc4201865b0, 0xf86268)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/vm.go:375 +0x4f
github.com/compose/transporter/vendor/github.com/dop251/goja.(*Runtime).RunProgram(0xc42018c180, 0xc4201b8420, 0x0, 0x0, 0x0, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/runtime.go:790 +0x210
github.com/compose/transporter/vendor/github.com/dop251/goja.(*Runtime).RunScript(0xc42018c180, 0x0, 0x0, 0xc4201a7000, 0x3ab, 0x3ab, 0x3ab, 0x3ab, 0xc4201a7000)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/runtime.go:769 +0xa8
github.com/compose/transporter/vendor/github.com/dop251/goja.(*Runtime).RunString(0xc42018c180, 0xc4201a7000, 0x3ab, 0x5ab, 0xc4201a7000, 0x3ab, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/vendor/github.com/dop251/goja/runtime.go:758 +0x51
main.newBuilder(0x7ffd16f51f08, 0xb, 0x3, 0x3, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/cmd/transporter/goja_builder.go:52 +0x354
main.runTest(0xc42000e0c0, 0x3, 0x3, 0x4, 0x0)
/Users/JP/gocode/src/github.com/compose/transporter/cmd/transporter/test.go:20 +0xed
main.main()
/Users/JP/gocode/src/github.com/compose/transporter/cmd/transporter/main.go:63 +0x105