Koldo created NIFI-16078:
----------------------------
Summary: Error with StandardHashiCorpVaultClientService
Key: NIFI-16078
URL: https://issues.apache.org/jira/browse/NIFI-16078
Project: Apache NiFi
Issue Type: Bug
Components: Docker
Affects Versions: 2.10.0
Reporter: Koldo
Hello,
I was using the Docker version of apache/nifi:2.7.0 and had configured the
StandardHashiCorpVaultClientService as follows:
Vault Authentication: KUBERNETES
SSL Context Service: StandardSSLContextService
vault.kubernetes.kubernetes-path: kubernetes
vault.kubernetes.service-account-token-file:
/var/run/secrets/kubernetes.io/serviceaccount/token
I had also configured the StandardSSLContextService with:
Keystore Filename: /usr/lib/jvm/jdk/lib/security/cacerts
Keystore Type: JKS
Truststore Filename: /usr/lib/jvm/jdk/lib/security/cacerts
Truststore Type: JKS
, and it was working correctly. When I tried to update to version 2.10.0, I
received the following error:
````
13:00:55 UTC
ERROR
StandardHashiCorpVaultClientService[id=de4d6636-019a-1000-af8c-6377419f5538]
Failed to invoke @OnEnabled method:
org.apache.nifi.reporting.InitializationException: Failed to initialise
HashiCorp Vault client
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named “clientHttpRequestFactoryWrapper” available
````
I’ve tried deploying the latest version and I’m still getting this error, but
if I deploy version 2.9.0 it works correctly. I’ve seen that you’ve made this
change:
But the StandardSSLContextService states:
```
Supports Controller Service
* SSLContextService 2.10.0 from org.apache.nifi -
nifi-standard-services-api-nar
* SSLContextProvider 2.10.0 from org.apache.nifi -
nifi-standard-services-api-nar
```
Do you know where my error might be? Or is it a bug in the code?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)