最近Splunk add-on 在连接对方app 的 时候,经常报SSL的错:
ERROR AdminManagerExternal - Unexpected error "<class 'requests.exceptions.SSLError'>" from python handler: "HTTPSConnectionPool(host='app.com', port=443): Max retries exceeded with url: /services/oauth2/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)')))". See splunkd.log for more details.
上面的报错,可以通过splunk UI 来检查:
index=_internal host=add_on_host ssl error
还有一种情况,就是通过proxy, 连接对方的app server:
上面的这种情况,就是要检查add-on server 上是否有