Custom Provider issue

After updating to 0.12 terraform plan fails with this message

I have a custom terraform provider to integrate with our authentication service. Worked great with 0.11 …

Error: Failed to retrieve schema from provider “ibmispim”: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = “transport: authentication handshake failed: tls: first record does not look like a TLS handshake”

Any suggestions ?

Can you share any more information about your provider? Is it importing github.com/hashicorp/terraform or github.com/hashicorp/terraform-plugin-sdk? What version of whichever it’s importing is it using?

It’s importing the github.com/hashicorp/terraform in the code.

I’d recommend updating to use github.com/hashicorp/terraform-plugin-sdk. There’s more information on that on our website.

Regardless of that, however, is there a version pinned in your go.mod? What version or SHA of github.com/hashicorp/terraform are you importing?