Title
#kolide
g

groob

04/18/2019, 1:46 PM
perhaps you can provide some details of why your tunnel connection direct to fleet is failing
j

Jean M

04/18/2019, 2:12 PM
{"caller":"client_grpc.go:111","cert_pinning":false,"msg":"dialing grpc server","server":"localhost:8080","severity":"info","tls_secure":false,"transport_secure":false,"ts":"2019-04-18T14:10:42.802454352Z"}
{"build":"4c0320d61d2b05fdd79bc32e905e2bf670937cfb","caller":"launcher.go:294","msg":"started kolide launcher","severity":"info","ts":"2019-04-18T14:10:42.805544502Z","version":"0.9.3"}
{"caller":"query_target_updater.go:21","msg":"query target updater started","severity":"info","ts":"2019-04-18T14:10:42.805979322Z"}
{"caller":"request_enrollment.go:182","enrollSecret":"--REDACTED--","err":"rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: \u003cnil\u003e","hostIdentifier":"ca15bb18-86dd-41e6-bff5-1dda0c76a481","method":"RequestEnrollment","nodekey":"","reauth":false,"severity":"info","took":"39.959µs","ts":"2019-04-18T14:10:43.215842892Z","uuid":"df2a06ef-6e35-4c97-8504-8b9bfeadd469"}
{"caller":"launcher.go:262","err":"enrolling host: transport error in enrollment: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: \u003cnil\u003e","msg":"interrupted","severity":"info","stack":"rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: \u003cnil\u003e\ntransport error in enrollment\<http://ngithub.com/kolide/launcher/pkg/osquery.(*Extension).Enroll\n\t/Users/seph/go/src/github.com/kolide/launcher/pkg/osquery/extension.go:341\nmain.createExtensionRuntime.func1\n\t/Users/seph/go/src/github.com/kolide/launcher/cmd/launcher/extension.go:91\ngithub.com/oklog/run.(*Group).Run.func1\n\t/Users/seph/go/pkg/mod/github.com/oklog/run@v1.0.0/group.go:38\nruntime.goexit\n\t/usr/local/Cellar/go/1.12/libexec/src/runtime/asm_amd64.s:1337\nenrolling|ngithub.com/kolide/launcher/pkg/osquery.(*Extension).Enroll\n\t/Users/seph/go/src/github.com/kolide/launcher/pkg/osquery/extension.go:341\nmain.createExtensionRuntime.func1\n\t/Users/seph/go/src/github.com/kolide/launcher/cmd/launcher/extension.go:91\ngithub.com/oklog/run.(*Group).Run.func1\n\t/Users/seph/go/pkg/mod/github.com/oklog/run@v1.0.0/group.go:38\nruntime.goexit\n\t/usr/local/Cellar/go/1.12/libexec/src/runtime/asm_amd64.s:1337\nenrolling> host\nmain.createExtensionRuntime.func1\n\t/Users/seph/go/src/github.com/kolide/launcher/cmd/launcher/extension.go:93\<http://ngithub.com/oklog/run.(*Group).Run.func1\n\t/Users/seph/go/pkg/mod/github.com/oklog/run@v1.0.0/group.go:38\nruntime.goexit\n\t/usr/local/Cellar/go/1.12/libexec/src/runtime/asm_amd64.s:1337%22,%22ts%22:%222019-04-18T14:10:43.215972018Z%22}|ngithub.com/oklog/run.(*Group).Run.func1\n\t/Users/seph/go/pkg/mod/github.com/oklog/run@v1.0.0/group.go:38\nruntime.goexit\n\t/usr/local/Cellar/go/1.12/libexec/src/runtime/asm_amd64.s:1337","ts":"2019-04-18T14:10:43.215972018Z"}>
2:13 PM
I get this using the launcher in the fleet server as well as in the direct tunnel
2:14 PM
this error message is strange:
rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: \u003cnil\u003e"`
g

groob

04/18/2019, 2:33 PM
how are you starting launcher
j

Jean M

04/18/2019, 3:00 PM
I was able to make it work if I enable TLS in the fleet
g

groob

04/18/2019, 3:02 PM
of course, grpc is tls only