Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save skylerspaeth/9f2b66b6d47e041bf55d344c715a1c82 to your computer and use it in GitHub Desktop.
Save skylerspaeth/9f2b66b6d47e041bf55d344c715a1c82 to your computer and use it in GitHub Desktop.
│ Error: Plugin did not respond
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
│ Error: Plugin did not respond
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
│ Error: Plugin did not respond
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
│ Error: Plugin did not respond
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
Stack trace from the terraform-provider-hcp_v0.88.0_x5 plugin:
panic: http: multiple registrations for /oidc/callback
goroutine 100 [running]:
net/http.(*ServeMux).Handle(0x248efc0, {0x15ad005, 0xe}, {0x1791c00?, 0xc0004245e0})
net/http/server.go:2530 +0x219
net/http.Handle(...)
net/http/server.go:2573
github.com/hashicorp/hcp-sdk-go/auth.(*oauthBrowser).GetTokenFromBrowser(0x0?, {0x179f930, 0x24be920}, 0xc0007b48e0)
github.com/hashicorp/[email protected]/auth/browser.go:73 +0x425
github.com/hashicorp/hcp-sdk-go/auth.(*browserLogin).Token(0xc0003826c0?)
github.com/hashicorp/[email protected]/auth/browser.go:37 +0x29
github.com/hashicorp/hcp-sdk-go/auth/tokencache.(*cachingTokenSource).getValidToken(0xc0007e4280, 0x0?)
github.com/hashicorp/[email protected]/auth/tokencache/tokensource.go:95 +0x2c2
github.com/hashicorp/hcp-sdk-go/auth/tokencache.(*cachingTokenSource).loginToken(0xc0007e4280, 0xc00061e0c0)
github.com/hashicorp/[email protected]/auth/tokencache/login.go:41 +0x45
github.com/hashicorp/hcp-sdk-go/auth/tokencache.(*cachingTokenSource).Token(0xc0007e4280)
github.com/hashicorp/[email protected]/auth/tokencache/tokensource.go:57 +0xe9
github.com/hashicorp/hcp-sdk-go/config.(*hcpConfig).Token(0xc0007aef00?)
github.com/hashicorp/[email protected]/config/hcp.go:121 +0x22
golang.org/x/oauth2.(*Transport).RoundTrip(0xc000424300, 0xc0004ca500)
golang.org/x/[email protected]/transport.go:45 +0xc8
github.com/hashicorp/hcp-sdk-go/httpclient.(*roundTripperWithMiddleware).RoundTrip(0xc00075c000, 0x1798e40?)
github.com/hashicorp/[email protected]/httpclient/middleware.go:51 +0xde
net/http.send(0xc0004ca500, {0x1798e40, 0xc00075c000}, {0x145e001?, 0xc0008bcdc0?, 0x0?})
net/http/client.go:260 +0x606
net/http.(*Client).send(0xc00075c1b0, 0xc0004ca500, {0xc0008bce20?, 0xc0008bce50?, 0x0?})
net/http/client.go:181 +0x98
net/http.(*Client).do(0xc00075c1b0, 0xc0004ca500)
net/http/client.go:724 +0x912
net/http.(*Client).Do(...)
net/http/client.go:590
github.com/go-openapi/runtime/client.(*Runtime).Submit(0xc0007d8620, 0xc000000300)
github.com/go-openapi/[email protected]/client/runtime.go:493 +0x325
github.com/hashicorp/hcp-sdk-go/clients/cloud-vault-secrets/stable/2023-06-13/client/secret_service.(*Client).OpenAppSecret(0xc000424840, 0x17a52f8?, {0x0?, 0x0}, {0x0, 0x0, 0xc0001463c0?})
github.com/hashicorp/[email protected]/clients/cloud-vault-secrets/stable/2023-06-13/client/secret_service/secret_service_client.go:1163 +0x327
github.com/hashicorp/terraform-provider-hcp/internal/clients.OpenVaultSecretsAppSecret({0x179f968?, 0xc000590ba0}, 0xc00071a680, 0xc0008bd2d8, {0xc00089f110, 0xe}, {0xc0007aee58, 0x16})
github.com/hashicorp/terraform-provider-hcp/internal/clients/vault_secrets.go:137 +0x1c3
github.com/hashicorp/terraform-provider-hcp/internal/provider/vaultsecrets.(*DataSourceVaultSecretsSecret).Read(0xc0007b2140, {0x179f968, 0xc000590ba0}, {{{{0x17a52f8, 0xc000939110}, {0x1346ae0, 0xc000939080}}, {0x17a7e20, 0xc0001463c0}}, {{{0x0, ...}, ...}, ...}}, ...)
github.com/hashicorp/terraform-provider-hcp/internal/provider/vaultsecrets/data_source_vault_secrets_secret.go:105 +0x165
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadDataSource(0xc0001d8680, {0x179f968, 0xc000590ba0}, 0xc000938960, 0xc0008bd628)
github.com/hashicorp/[email protected]/internal/fwserver/server_readdatasource.go:79 +0x433
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadDataSource(0xc0001d8680, {0x179f968?, 0xc000590a80?}, 0xc0004241a0)
github.com/hashicorp/[email protected]/internal/proto6server/server_readdatasource.go:55 +0x41c
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ReadDataSource(0x179f9a0?, {0x179f968?, 0xc000590030?}, 0xc0004241a0)
github.com/hashicorp/[email protected]/tf6muxserver/mux_server_ReadDataSource.go:36 +0x19f
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadDataSource(0xc00050f220, {0x179f968?, 0xc000433830?}, 0xc0007e4730)
github.com/hashicorp/[email protected]/tfprotov6/tf6server/server.go:685 +0x416
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadDataSource_Handler({0x1566ce0?, 0xc00050f220}, {0x179f968, 0xc000433830}, 0xc0008a0700, 0x0)
github.com/hashicorp/[email protected]/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:572 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004ff200, {0x179f968, 0xc000433770}, {0x17a5e98, 0xc000488000}, 0xc0007d37a0, 0xc0003624b0, 0x2480620, 0x0)
google.golang.org/[email protected]/server.go:1386 +0xe23
google.golang.org/grpc.(*Server).handleStream(0xc0004ff200, {0x17a5e98, 0xc000488000}, 0xc0007d37a0)
google.golang.org/[email protected]/server.go:1797 +0x100c
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1027 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 33
google.golang.org/[email protected]/server.go:1038 +0x135
Error: The terraform-provider-hcp_v0.88.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment