You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing sigsci_TA_for_splunk the app writes logs when the HTTP proxy is disabled / not in use. The errors are resolved by entering a fake value into the HTTP proxy password field.
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: WARNING:root:Run function: get_password failed: Traceback (most recent call last):
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: File "/opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_ta_for_splunk/aob_py3/solnlib/utils.py", line 153, in wrapper
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: return func(*args, **kwargs)
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: File "/opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_ta_for_splunk/aob_py3/solnlib/credentials.py", line 137, in get_password
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: f"Failed to get password of realm={self._realm}, user={user}."
07-01-2024 22:04:30.474 +0000 ERROR PersistentScript [161185 PersistentScriptIo] - From {/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/sigsci_TA_for_splunk/bin/sigsci_TA_for_splunk_rh_settings.py persistent}: solnlib.credentials.CredentialNotExistException: Failed to get password of realm=__REST_CREDENTIAL__#sigsci_TA_for_splunk#configs/conf-sigsci_ta_for_splunk_settings, user=proxy.
The text was updated successfully, but these errors were encountered:
This error is caused by a library used by add-ons built with add-on builder (a.k.a. AoB) that implement a proxy. In a nutshell, the REST handler settings code generated by AoB (in this case TA_MS_AAD_rh_settings.py) defines the proxy fields. Here is what it looks like for proxy_password:
The proxy_password settings specify that the field is not required, but the field is encrypted. Now, getting back to the library code. The library is trying to decrypt proxy settings even if you haven't specified any. An internal bug has been filed, but the workaround should stop the (erroneous) error messages.
To have a password of None, however these configs typically auto generated (and less accessible in splunk cloud) to do manually.
I'll see if I can check the status upstream. I don't particular want to change defaults if the upstream lib is causing an issue, and should be doing that by default anyway, but can keep this public.
After installing sigsci_TA_for_splunk the app writes logs when the HTTP proxy is disabled / not in use. The errors are resolved by entering a fake value into the HTTP proxy password field.
The text was updated successfully, but these errors were encountered: