Closed Vagrantin closed 3 years ago
Hey @Vagrantin.
The error you are receiving seems to be an error related to terraform's refreshing. So I don't believe this is related to the insecure flag or your certificate at all.
Can you please run terraform with the TF_LOG=debug
environment variable set and attach those logs to this issue? In addition please check the Xen Orchestra logs (with journalctl -u xo-server
) that will highlight what the jsonrpc error is originating from and paste your terraform code here.
Hi @ddelnano,
Thanks you hints, help me find the issue was in my Terraform file. Sorry for the inconvenience and thanks for the help ! With kind regards Matt
No problem, glad I could help!
Hello, XO version : 5.54.0 Terraform-provider : 0.16.0 Terraform : 0.14.7
I’m implementing this plugin and my XO has an expired certificate, also all http connections are upgraded to ssl as far as I understand.
when I use the clear socket "ws" to in this format,
I’m getting this error message at
terraform plan -input=false
step, so I assume only ssl is allow, even more because when I’m connecting to the web UI, I’m automatically upgraded to https,When I switch to
wss
I’m getting this error ( which is expected ):
And finally when using wss with insecure parameter:
I’m getting this error, which is less expected or lead to another issue…:
Error: jsonrpc2: code -32000 message: unknown error from the peer on windows_Server_2016.tf line 12, in provider "xenorchestra": 12: provider "xenorchestra"
Thanks for the great work ! Matth