Azure Plugin issue

Having an issue getting a connection with the Azure Plugin.

We attempted several times without the proxy setup, figuring it would use the system proxy and then found this article.

https://help.hcl-software.com/bigfix/10.0/platform/Platform/Config/c_config_cplugins.html

I set the system environment variables for our proxy but we are getting the same error in the log.

2024/09/04 12:47:58 -0700 - [info] Refresh all: Attempting discovery
2024/09/04 12:47:58 -0700 - [debug] Refresh all: Using max 1 concurrent routines for 1 credentials
2024/09/04 12:47:58 -0700 - [debug] Refresh all: using credential set ‘LAB’
2024/09/04 12:47:58 -0700 - [debug] Azure Full Discovery for ‘LAB’ started
2024/09/04 12:47:58 -0700 - [debug] Getting Resource Groups for ‘LAB’
2024/09/04 12:48:58 -0700 - [debug] Azure Full Discovery for ‘LAB’ failed getting Resource Groups NextPage with error: ClientSecretCredential: unable to resolve an endpoint: server response error:
> context deadline exceeded
2024/09/04 12:48:58 -0700 - [debug] Refresh all: Error occurred during scan for credential set ‘LAB’
2024/09/04 12:48:58 -0700 - [error] Refresh all: Error occurred while scanning provider with credentials set ‘LAB’: ClientSecretCredential: unable to resolve an endpoint: server response error:
> context deadline exceeded
2024/09/04 12:48:58 -0700 - [error] Refresh all: user with label ‘LAB’ failed to create a valid login session, skipping
2024/09/04 12:48:58 -0700 - [info] Refresh all: 0 instances discovered with credential set ‘LAB’. The credential set might not have enough permission to perform the discovery
2024/09/04 12:48:58 -0700 - [debug] Refresh all: Producing reports for credential ‘LAB’
2024/09/04 12:48:58 -0700 - [debug] Getting last scan labels from cache
2024/09/04 12:48:58 -0700 - [debug] Refresh all: cached labels from previous scan: [LAB]
2024/09/04 12:48:58 -0700 - [debug] Refresh all: deleted labels:
2024/09/04 12:48:58 -0700 - [debug] Refresh all: labels for removal:
2024/09/04 12:48:58 -0700 - [debug] Retrieving old devices from cache
2024/09/04 12:48:58 -0700 - [debug] Refresh all: found 0 old devices
2024/09/04 12:48:58 -0700 - [debug] Updating scan labels
2024/09/04 12:48:58 -0700 - [info] Refresh all: Discovery returned 0 unique devices
2024/09/04 12:48:58 -0700 - [debug] Refresh all: Reported instances: 0 - Unique instances: 0 - Terminated instances: 0 - Null instances: 0 - Other errors: 0
2024/09/04 12:48:58 -0700 - [debug] Active refreshes after Refresh all end: 0
2024/09/04 12:48:58 -0700 - [debug] Executed a bulk of 1 refreshes. Found 0 new refreshes in the queue
2024/09/04 12:48:58 -0700 - [debug] Finished executing all the bulks of commands

Wondering if anyone has had this issue?

Ok, so I was able to figure it out on my own.

I forgot to enter the proxy for https

image

I had only set the HTTP_PROXY

1 Like

@D.Dean which client settings you have used for proxy exclusions?

The issue is fixed.

I put localhost,127.0.1,pluginserverhostname,pluginserverIP,RootServerURL,RootServerIP,localdomains

I understand that it was fixed on your end :slight_smile:

Just want to gather additional information for myself :slight_smile:
Did you used the _Enterprise Server_ClientRegister_ProxyExceptionList or the Proxy Exclusions in the Internet Options?

They are environment variables.

As explained here…

https://help.hcl-software.com/bigfix/10.0/platform/Platform/Config/c_config_cplugins.html

And for the exclusions, you add an environment variable for NO_PROXY

HTTP_PROXY - http://yourproxy.com:8080
HTTPS_PROXY - http://yourproxy.com:8080
NO_PROXY - localhost,127.0.1,pluginserverhostname,pluginserverIP,RootServerURL,RootServerIP,localdomains

3 Likes