terraform-provider-vcd: VMware - Vcloud Air/ Vcloud Director: error: "* Something went wrong: error finding LoginUrl: error parsing error body for non-200 request: EOF"

This issue was originally opened by @EllisFisher1994 as hashicorp/terraform#11455. It was migrated here as part of the provider split. The original body of the issue is below.


getting the error * Something went wrong: error finding LoginUrl: error parsing error body for non-200 request: EOF

Have variables in a separate file. `# Configure the VMware vCloud Director Provider provider “vcd” { user = “${var.vcd_user}” password = “${var.vcd_pass}” org = “${var.vcd_org}” url = “${var.vcd_url}” vdc = “${var.vcd_vdc}” }

resource “vcd_vapp” “web” { name = “web” catalog_name = “Test-Catalog” template_name = “lampstack-1.10.1-ubuntu-10.04” memory = 2048 cpus = 1

network_name  = "testing_network"

ip            = "10.10.104.160"

metadata {
    role    = "web"
    env     = "staging"
    version = "v1"
}

} `

Can anyone help?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Use /api - end of url max_retry_timeout = “240” allow_unverified_ssl = “true” All work from first time and on clear VM.