Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples

Reply

Getting timeout when trying to access wapi through Terraform and Postman

New Member
Posts: 1
657     0

CURL is successful through Rest but I am getting the following error messages when using Terraform and Postman through wapi.  Tried multiple queries.

 

Infoblox 8.5.4

The certificate is self-signed at the moment

The license is under the 90-day trial at the moment

Physical servers purchased from Infoblox

The user is out of the box admin superuser

 

Terraform

 infoblox = {
      source = "infobloxopen/infoblox"
      version = ">=2.3.0"
    }
 
provider "infoblox" {
    username = "admin"
    password = "infoblox"
    server   = "x.x.x.x"
    sslmode = true
    wapi_version = 2.7  
    connect_timeout = 120
    pool_connections = 10  
}
 
data "infoblox_network_view" "this" {
  name = "default"
}

 

Error: getting network view 'default' failed: Get "https://x.x.x.x:443/wapi/v2.7/networkview?_proxy_search=GM&_return_fields=extattrs%2Cname%2Ccomment&name=default": dial tcp x.x.x.x:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

 

Postman

Basic Auth

user - admin

password -infoblox

SSL Verify turned off

 

GET https://x.x.x.x/wapi/v2.7/networkview?_proxy_search=GM&_return_fields=extattrs%2Cname%2Ccomment&name=default
Error: connect ETIMEDOUT x.x.x.x:443
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin