You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data "netbox_prefix"
resource "netbox_available_ip_address"
Panic Output
Error: Plugin did not respond
│
│ with provider["registry.terraform.io/e-breuninger/netbox"],
│ on provider-backend.tf line 116, in provider "netbox":
│ 116: provider "netbox" {
│
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain
│ more details.
╵
Stack trace from the terraform-provider-netbox_v1.0.2 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x109c2af]
goroutine 23 [running]:
github.com/fbreckle/go-netbox/netbox/client/status.(*StatusListOK).GetPayload(...)
github.com/fbreckle/go-netbox@v0.0.0-20211223172728-2da47c1929a7/netbox/client/status/status_list_responses.go:74
github.com/e-breuninger/terraform-provider-netbox/netbox.providerConfigure({0x143d5d7, 0x6}, 0xc0002c7590)
github.com/e-breuninger/terraform-provider-netbox/netbox/provider.go:95 +0x22f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0003d0420, {0x15e7640, 0xc0002c7590}, 0xc0001e50c0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/provider.go:296 +0x23e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc00000c0c0, {0x15e7598, 0xc0002c2440}, 0xc00012c8b8)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:523 +0x27b
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc00039ed80, {0x15e7640, 0xc000331500}, 0xc0002c2280)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:387 +0x2c2
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0x13b3120, 0xc00039ed80}, {0x15e7640, 0xc000331500}, 0xc00057c240, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:326 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000589180, {0x15f6ad0, 0xc0001af680}, 0xc0000b8100, 0xc0001ec930, 0x2142eb8, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc000589180, {0x15f6ad0, 0xc0001af680}, 0xc0000b8100, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.32.0/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x294
Error: The terraform-provider-netbox_v1.0.2 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.
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1
The text was updated successfully, but these errors were encountered:
Maybe related to #126? Is it possible to update the Provider to a newer version?
Thanks @twink0r I understand that I should not update the provider to a newer version due to my Netbox version. Anyway, the problem was in my side, I was pointing the provider to the URL we use to login to Netbox but that's a frontend that redirects to an authentication service, changed the URL to the server FQDN and its working now.
Terraform Version
1.2.0
Netbox Version
v3.0.10
Provider version
v1.0.2
Affected Resource(s)
Provider Crash
Terraform Configuration Files
Panic Output
Error: Plugin did not respond
│
│ with provider["registry.terraform.io/e-breuninger/netbox"],
│ on provider-backend.tf line 116, in provider "netbox":
│ 116: provider "netbox" {
│
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain
│ more details.
╵
Stack trace from the terraform-provider-netbox_v1.0.2 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x109c2af]
goroutine 23 [running]:
github.com/fbreckle/go-netbox/netbox/client/status.(*StatusListOK).GetPayload(...)
github.com/fbreckle/go-netbox@v0.0.0-20211223172728-2da47c1929a7/netbox/client/status/status_list_responses.go:74
github.com/e-breuninger/terraform-provider-netbox/netbox.providerConfigure({0x143d5d7, 0x6}, 0xc0002c7590)
github.com/e-breuninger/terraform-provider-netbox/netbox/provider.go:95 +0x22f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0003d0420, {0x15e7640, 0xc0002c7590}, 0xc0001e50c0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/provider.go:296 +0x23e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc00000c0c0, {0x15e7598, 0xc0002c2440}, 0xc00012c8b8)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:523 +0x27b
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc00039ed80, {0x15e7640, 0xc000331500}, 0xc0002c2280)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:387 +0x2c2
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0x13b3120, 0xc00039ed80}, {0x15e7640, 0xc000331500}, 0xc00057c240, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:326 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000589180, {0x15f6ad0, 0xc0001af680}, 0xc0000b8100, 0xc0001ec930, 0x2142eb8, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc000589180, {0x15f6ad0, 0xc0001af680}, 0xc0000b8100, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.32.0/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x294
Error: The terraform-provider-netbox_v1.0.2 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.
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1
The text was updated successfully, but these errors were encountered: