Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while trying to export data to elasticsearch #165

Open
ecureuilfourbe opened this issue Jun 28, 2019 · 0 comments
Open

error while trying to export data to elasticsearch #165

ecureuilfourbe opened this issue Jun 28, 2019 · 0 comments

Comments

@ecureuilfourbe
Copy link

abc version:
Version: 1.0.0-alpha.0
Variant: !oss
Go version: go1.11.10
OS: linux
Arch: amd64

Hi when i lunch this commande :
./abc-linux import --src_type=json --src_uri="test.json" --typename=pokemons https://F5YOGyduI:[email protected]/jsontoelastic

I have the following error message:
panic: connection error, https://F5YOGyduI:[email protected]/test/_settings?human [recovered]
panic: Panic at 48: connection error, https://F5YOGyduI:[email protected]/test/_settings?human [recovered]
panic: Panic at 48: connection error, https://F5YOGyduI:[email protected]/test/_settings?human

goroutine 1 [running]:
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunProgram.func1(0xc00017fae8)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:779 +0x9b
panic(0x1613dc0, 0xc000070590)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).try.func1(0xc000400410, 0x0, 0xc00017f9e8, 0x0, 0x0, 0x0, 0xc00017fa40)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:364 +0x459
panic(0x168eb40, 0xc000070000)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9
main.(*Node).Save(0xc0004365a0, 0x1a7de80, 0xc0004365c0, 0xc0003e4da0, 0x3, 0x4, 0x0, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/goja_builder.go:279 +0x454
reflect.callMethod(0xc0003dfd40, 0xc00017f820, 0xc00017f808)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/reflect/value.go:689 +0x180
reflect.methodValueCall(0x1a7de80, 0xc0004365c0, 0xc0003e4da0, 0x3, 0x4, 0x0, 0x0, 0x1a7de80, 0xc000400420, 0xc000400418, ...)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/reflect/asm_amd64.s:35 +0x42
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm)._nativeCall(0xc000400410, 0xc00041ab00, 0x3)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:1824 +0x28d
github.com/appbaseio/abc/vendor/github.com/dop251/goja.call.exec(0x3, 0xc000400410)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:1808 +0x4e3
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).run(0xc000400410)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:288 +0x5d
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).run-fm()
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:375 +0x2a
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).try(0xc000400410, 0xc00017fa48, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:370 +0x10c
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).runTry(0xc000400410, 0x18c2cd8)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:375 +0x4e
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunProgram(0xc0001e8480, 0xc0003e4d20, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:790 +0x1b7
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunScript(0xc0001e8480, 0x0, 0x0, 0xc00042e000, 0x16b, 0xc00042e000, 0xc000422000, 0x16b, 0xc00042e000)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:769 +0x9b
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunString(0xc0001e8480, 0xc00042e000, 0x16b, 0x36b, 0xc00042e000, 0x16b, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:758 +0x47
main.newBuilder(0xc0003f81c0, 0x1f, 0x73808f, 0xc000108000, 0x188be68)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/goja_builder.go:55 +0x321
main.execBuilder(0xc0003f81c0, 0x1f, 0xc00017fd00, 0x1, 0x1)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/appbase_import.go:155 +0x39
main.runImport(0xc00003a200, 0x4, 0x4, 0x6, 0xc0000440b8)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/appbase_import.go:150 +0x1277
main.main()
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/main.go:46 +0xdb
root@drbl16:/mnt/data/images# ./abc-linux import --src_type=json --src_uri="test.json" --typename=pokemons https://F5YOGyduI:[email protected]/jsontoelastic
panic: connection error, https://F5YOGyduI:[email protected]/jsontoelastic/_settings?human [recovered]
panic: Panic at 48: connection error, https://F5YOGyduI:[email protected]/jsontoelastic/_settings?human [recovered]
panic: Panic at 48: connection error, https://F5YOGyduI:[email protected]/jsontoelastic/_settings?human

goroutine 1 [running]:
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunProgram.func1(0xc00017fae8)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:779 +0x9b
panic(0x1613dc0, 0xc000070590)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).try.func1(0xc0003fac30, 0x0, 0xc00017f9e8, 0x0, 0x0, 0x0, 0xc00017fa40)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:364 +0x459
panic(0x168eb40, 0xc000070000)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/runtime/panic.go:513 +0x1b9
main.(*Node).Save(0xc0004325a0, 0x1a7de80, 0xc0004325c0, 0xc0003e4da0, 0x3, 0x4, 0x0, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/goja_builder.go:279 +0x454
reflect.callMethod(0xc0003dfd80, 0xc00017f820, 0xc00017f808)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/reflect/value.go:689 +0x180
reflect.methodValueCall(0x1a7de80, 0xc0004325c0, 0xc0003e4da0, 0x3, 0x4, 0x0, 0x0, 0x1a7de80, 0xc0003fac40, 0xc0003fac38, ...)
/home/travis/.gimme/versions/go1.11.10.linux.amd64/src/reflect/asm_amd64.s:35 +0x42
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm)._nativeCall(0xc0003fac30, 0xc000418b00, 0x3)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:1824 +0x28d
github.com/appbaseio/abc/vendor/github.com/dop251/goja.call.exec(0x3, 0xc0003fac30)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:1808 +0x4e3
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).run(0xc0003fac30)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:288 +0x5d
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).run-fm()
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:375 +0x2a
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).try(0xc0003fac30, 0xc00017fa48, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:370 +0x10c
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*vm).runTry(0xc0003fac30, 0x18c2cd8)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/vm.go:375 +0x4e
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunProgram(0xc0001ea480, 0xc0003e4d20, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:790 +0x1b7
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunScript(0xc0001ea480, 0x0, 0x0, 0xc00042c000, 0x179, 0xc00042c000, 0xc000420000, 0x179, 0xc00042c000)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:769 +0x9b
github.com/appbaseio/abc/vendor/github.com/dop251/goja.(*Runtime).RunString(0xc0001ea480, 0xc00042c000, 0x179, 0x379, 0xc00042c000, 0x179, 0x0)
/home/travis/gopath/src/github.com/appbaseio/abc/vendor/github.com/dop251/goja/runtime.go:758 +0x47
main.newBuilder(0xc0003f8180, 0x1f, 0x73808f, 0xc000108000, 0x188be68)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/goja_builder.go:55 +0x321
main.execBuilder(0xc0003f8180, 0x1f, 0xc00017fd00, 0x1, 0x1)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/appbase_import.go:155 +0x39
main.runImport(0xc00003a200, 0x4, 0x4, 0x6, 0xc0000440b8)
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/appbase_import.go:150 +0x1277
main.main()
/home/travis/gopath/src/github.com/appbaseio/abc/cmd/abc/main.go:46 +0xdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant