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

Panic on retrieving entity #4836

Closed
andor44 opened this issue Jun 26, 2018 · 2 comments
Closed

Panic on retrieving entity #4836

andor44 opened this issue Jun 26, 2018 · 2 comments
Milestone

Comments

@andor44
Copy link

andor44 commented Jun 26, 2018

Describe the bug
The vault server will panic internally and return EOF to the client when retrieving an entity. The entity was created automatically through an enabled Github auth engine.

To Reproduce
vault read identity/entity/id/<id>

Expected behavior
The entity is returned.

Environment:

  • Vault Server Version (retrieve with vault status): 0.10.3
  • Vault CLI Version (retrieve with vault version): 0.10.3
  • Server Operating System/Architecture: CoreOS Container Linux VM, vault running as a Docker container

Vault server configuration file(s):

listener "tcp" {
  address = "0.0.0.0:8200"
  tls_disable = 1
}

storage "gcs" {
  bucket = "REDACTED"
  ha_enabled = "true"
}

ui = true
api_addr = "http://REDACTED:8200/"

Additional context
The entity and the alias are created, and a group mapping configured through external groups is also created automatically. The storage is GCS as a multi region bucket.

@andor44
Copy link
Author

andor44 commented Jun 26, 2018

Vault server logs:

Jun 26 12:00:41 docker[11450]: 2018-06-26 12:00:41.293938 I | http: panic serving REDACTED:59569: runtime error: invalid memory address or nil pointer dereference
Jun 26 12:00:41 docker[11450]: goroutine 8230 [running]:
Jun 26 12:00:41 docker[11450]: net/http.(*conn).serve.func1(0xc4207b4f00)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1726 +0xd0
Jun 26 12:00:41 docker[11450]: panic(0x1f35e40, 0x364eec0)
Jun 26 12:00:41 docker[11450]:         /goroot/src/runtime/panic.go:502 +0x229
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).collectGroupsReverseDFS(0xc420168d80, 0xc420852dd0, 0xc420a40c48, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x6, ...)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:2046 +0x32c
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).groupsByEntityID(0xc420168d80, 0xc4208f3710, 0x24, 0x7, 0xc4201e8f48, 0x1, 0x25, 0x30, 0x1d92ae0, 0xc4207ce720, ...)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:1996 +0x1ea
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).handleEntityReadCommon(0xc420168d80, 0xc42042e540, 0x24, 0x1d92a00, 0xc42042e540)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:482 +0xe66
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).pathEntityIDRead.func1(0x2586340, 0xc42007ed40, 0xc4205d2c60, 0xc4205dc420, 0xc420a12d90, 0x8034343101, 0xc420adf100)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:439 +0x1c9
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/logical/framework.(*Backend).HandleRequest(0xc4208509c0, 0x2586340, 0xc42007ed40, 0xc4205d2c60, 0x0, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/logical/framework/backend.go:223 +0x475
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*Router).routeCommon(0xc4205de140, 0x2586340, 0xc42007ed40, 0xc4205d2c60, 0x0, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:523 +0x7c2
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*Router).Route(0xc4205de140, 0x2586340, 0xc42007ed40, 0xc4205d2c60, 0xc420ab11a0, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:378 +0x4e
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*Core).handleRequest(0xc420604000, 0x2586340, 0xc42007ed40, 0xc4205d2c60, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:486 +0xbc3
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vault.(*Core).HandleRequest(0xc420604000, 0xc4205d2c60, 0x0, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:289 +0xe9b
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.request(0xc420604000, 0x2584b40, 0xc420742700, 0xc4209f8800, 0xc4205d2c60, 0x0, 0x0)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:408 +0x3c
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.handleLogical.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/logical.go:148 +0xfb
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bda0, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.handleRequestForwarding.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:369 +0x6a3
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bdc0, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: net/http.(*ServeMux).ServeHTTP(0xc4205e8810, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:2337 +0x130
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.wrapHelpHandler.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/help.go:22 +0x158
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be20, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.wrapCORSHandler.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/cors.go:29 +0x545
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be40, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/http.wrapGenericHandler.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:128 +0xb1
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be60, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp.PrintablePathCheckHandler.func1(0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp/handlers.go:40 +0xcf
Jun 26 12:00:41 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be80, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:41 docker[11450]: net/http.serverHandler.ServeHTTP(0xc4205e65b0, 0x2584b40, 0xc420742700, 0xc4209f8800)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:2694 +0xbc
Jun 26 12:00:41 docker[11450]: net/http.(*conn).serve(0xc4207b4f00, 0x2586340, 0xc42007eb40)
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:1830 +0x651
Jun 26 12:00:41 docker[11450]: created by net/http.(*Server).Serve
Jun 26 12:00:41 docker[11450]:         /goroot/src/net/http/server.go:2795 +0x27b
Jun 26 12:00:42 docker[11450]: 2018-06-26 12:00:42.747226 I | http: panic serving REDACTED:59570: runtime error: invalid memory address or nil pointer dereference
Jun 26 12:00:42 docker[11450]: goroutine 8237 [running]:
Jun 26 12:00:42 docker[11450]: net/http.(*conn).serve.func1(0xc4200be0a0)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1726 +0xd0
Jun 26 12:00:42 docker[11450]: panic(0x1f35e40, 0x364eec0)
Jun 26 12:00:42 docker[11450]:         /goroot/src/runtime/panic.go:502 +0x229
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).collectGroupsReverseDFS(0xc420168d80, 0xc4208521a0, 0xc42061ac48, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x6, ...)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:2046 +0x32c
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).groupsByEntityID(0xc420168d80, 0xc4208f3710, 0x24, 0x7, 0xc4200cbef8, 0x1, 0x25, 0x30, 0x1d92ae0, 0xc4205e2540, ...)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:1996 +0x1ea
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).handleEntityReadCommon(0xc420168d80, 0xc42042e540, 0x24, 0x1d92a00, 0xc42042e540)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:482 +0xe66
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).pathEntityIDRead.func1(0x2586340, 0xc42057e040, 0xc420470000, 0xc4206dc300, 0xc420a12d90, 0x8034343101, 0xc420ac3100)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:439 +0x1c9
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/logical/framework.(*Backend).HandleRequest(0xc4208509c0, 0x2586340, 0xc42057e040, 0xc420470000, 0x0, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/logical/framework/backend.go:223 +0x475
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*Router).routeCommon(0xc4205de140, 0x2586340, 0xc42057e040, 0xc420470000, 0x0, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:523 +0x7c2
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*Router).Route(0xc4205de140, 0x2586340, 0xc42057e040, 0xc420470000, 0xc420ab11a0, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:378 +0x4e
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*Core).handleRequest(0xc420604000, 0x2586340, 0xc42057e040, 0xc420470000, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:486 +0xbc3
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vault.(*Core).HandleRequest(0xc420604000, 0xc420470000, 0x0, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:289 +0xe9b
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.request(0xc420604000, 0x2584b40, 0xc420200fc0, 0xc420816300, 0xc420470000, 0x0, 0x0)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:408 +0x3c
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.handleLogical.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/logical.go:148 +0xfb
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bda0, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.handleRequestForwarding.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:369 +0x6a3
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bdc0, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: net/http.(*ServeMux).ServeHTTP(0xc4205e8810, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:2337 +0x130
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.wrapHelpHandler.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/help.go:22 +0x158
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be20, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.wrapCORSHandler.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/cors.go:29 +0x545
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be40, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/http.wrapGenericHandler.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:128 +0xb1
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be60, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp.PrintablePathCheckHandler.func1(0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp/handlers.go:40 +0xcf
Jun 26 12:00:42 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be80, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:42 docker[11450]: net/http.serverHandler.ServeHTTP(0xc4205e65b0, 0x2584b40, 0xc420200fc0, 0xc420816300)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:2694 +0xbc
Jun 26 12:00:42 docker[11450]: net/http.(*conn).serve(0xc4200be0a0, 0x2586340, 0xc4200bcd40)
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:1830 +0x651
Jun 26 12:00:42 docker[11450]: created by net/http.(*Server).Serve
Jun 26 12:00:42 docker[11450]:         /goroot/src/net/http/server.go:2795 +0x27b
Jun 26 12:00:45 docker[11450]: 2018-06-26 12:00:45.514974 I | http: panic serving REDACTED:59571: runtime error: invalid memory address or nil pointer dereference
Jun 26 12:00:45 docker[11450]: goroutine 8258 [running]:
Jun 26 12:00:45 docker[11450]: net/http.(*conn).serve.func1(0xc4207b43c0)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1726 +0xd0
Jun 26 12:00:45 docker[11450]: panic(0x1f35e40, 0x364eec0)
Jun 26 12:00:45 docker[11450]:         /goroot/src/runtime/panic.go:502 +0x229
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).collectGroupsReverseDFS(0xc420168d80, 0xc4208525b0, 0xc42061ac48, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x6, ...)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:2046 +0x32c
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).groupsByEntityID(0xc420168d80, 0xc4208f3710, 0x24, 0x7, 0xc4205a6308, 0x1, 0x25, 0x30, 0x1d92ae0, 0xc4207ce510, ...)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_util.go:1996 +0x1ea
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).handleEntityReadCommon(0xc420168d80, 0xc42042e540, 0x24, 0x1d92a00, 0xc42042e540)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:482 +0xe66
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*IdentityStore).pathEntityIDRead.func1(0x2586340, 0xc42007e880, 0xc4206d2c60, 0xc42056c370, 0xc420a12d90, 0x8034343101, 0xc420ae5100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/identity_store_entities.go:439 +0x1c9
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/logical/framework.(*Backend).HandleRequest(0xc4208509c0, 0x2586340, 0xc42007e880, 0xc4206d2c60, 0x0, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/logical/framework/backend.go:223 +0x475
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*Router).routeCommon(0xc4205de140, 0x2586340, 0xc42007e880, 0xc4206d2c60, 0x0, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:523 +0x7c2
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*Router).Route(0xc4205de140, 0x2586340, 0xc42007e880, 0xc4206d2c60, 0xc420ab11a0, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/router.go:378 +0x4e
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*Core).handleRequest(0xc420604000, 0x2586340, 0xc42007e880, 0xc4206d2c60, 0x0, 0x0, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:486 +0xbc3
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vault.(*Core).HandleRequest(0xc420604000, 0xc4206d2c60, 0x0, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vault/request_handling.go:289 +0xe9b
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.request(0xc420604000, 0x2584b40, 0xc4202015e0, 0xc420817100, 0xc4206d2c60, 0x0, 0x0)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:408 +0x3c
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.handleLogical.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/logical.go:148 +0xfb
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bda0, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.handleRequestForwarding.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:369 +0x6a3
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000bdc0, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: net/http.(*ServeMux).ServeHTTP(0xc4205e8810, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:2337 +0x130
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.wrapHelpHandler.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/help.go:22 +0x158
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be20, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.wrapCORSHandler.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/cors.go:29 +0x545
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be40, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/http.wrapGenericHandler.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/http/handler.go:128 +0xb1
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be60, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp.PrintablePathCheckHandler.func1(0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /gopath/src/github.com/hashicorp/vault/vendor/github.com/hashicorp/go-cleanhttp/handlers.go:40 +0xcf
Jun 26 12:00:45 docker[11450]: net/http.HandlerFunc.ServeHTTP(0xc42000be80, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1947 +0x44
Jun 26 12:00:45 docker[11450]: net/http.serverHandler.ServeHTTP(0xc4205e65b0, 0x2584b40, 0xc4202015e0, 0xc420817100)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:2694 +0xbc
Jun 26 12:00:45 docker[11450]: net/http.(*conn).serve(0xc4207b43c0, 0x2586340, 0xc42007e600)
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:1830 +0x651
Jun 26 12:00:45 docker[11450]: created by net/http.(*Server).Serve
Jun 26 12:00:45 docker[11450]:         /goroot/src/net/http/server.go:2795 +0x27b

@andor44
Copy link
Author

andor44 commented Jun 26, 2018

I removed the entity and logged in with the same auth method again, and now I can retrieve the entity.

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

2 participants