Hi Pierre,
found the problem.
Actually, it was just a
sun.security.provider.certpath.SunCertPathBuilderException (see below).
A simple
-> sudo dpkg --purge --force-depends ca-certificates-java
-> sudo apt-get install ca-certificates-java
and everything was working again.
"Network is unreachable" on the UI just put me on the wrong track.
*Once again, thank you very much for your support, Pierre.*
*
*
2025-11-03 12:03:18,066 ERROR [Timer-Driven Process Thread-1]
o.a.nifi.processors.standard.InvokeHTTP
InvokeHTTP[id=0a06797d-76b0-3f80-12d8-a18f5dde8a5d] Request Processing
failed:
StandardFlowFileRecord[uuid=d22769d3-44f3-4095-abe6-885a0791f68e,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1762167784302-1332,
container=default, section=308], offset=887,
length=16],offset=0,name=7367ed6a-95e4-4738-b633-fc427ae35e43,size=16]
java.net.SocketException: Network is unreachable
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:589)
at java.base/sun.nio.ch.Net.connect(Net.java:578)
at
java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
at
java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:751)
at
okhttp3.internal.platform.Platform.connectSocket(Platform.kt:147)
at
okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:280)
at
okhttp3.internal.connection.ConnectPlan.connectTcp(ConnectPlan.kt:140)
at
okhttp3.internal.connection.FastFallbackExchangeFinder$launchTcpConnect$1.runOnce(FastFallbackExchangeFinder.kt:141)
at
okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:81)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
------>>> *Suppressed: javax.net.ssl.SSLHandshakeException: PKIX path
building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target*
at
java.base/sun.security.ssl.Alert.createSSLException(Alert.java:130)
at
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:383)
at
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:326)
at
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
at
java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1327)
at
java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1204)
at
java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1147)
at
java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393)
at
java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476)
at
java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:447)
at
java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:206)
at
java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
at
java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
at
java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1421)
at
java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
Thanks,
Kay-Uwe
Am 03.11.25 um 13:52 schrieb Pierre Villard:
Hi,
I just tried and I can properly fetch the data for both URLs using
InvokeHTTP. I'd really suspect something specific for the node/host
where NiFi is running.
Thanks,
Pierre
Le lun. 3 nov. 2025 à 12:52,[email protected] <[email protected]> a écrit :
Dear community,
I use InvokeHTTP to access various websites.
When doing so, I get the following error for some URLs:
InvokeHTTP Request Processing failed: java.net.SocketException: *Network
is unreachable*
The same URLs work fine in the browser or with wget at the same time.
Examples of these URLs are:
-
https://www.idaireland.com/latest-news/press-release/sanmina-announces-expansion-of-ireland-manufacturing-site,-creating-up-to-150-jobs
-
https://www.phonearena.com/news/motorola-is-flirting-with-the-idea-of-phone-you-can-wear_id175252
I only noticed this error after upgrading from NiFi 2.4 to NiFi 2.6.
I use Ubuntu 22.04.
Does anyone know what is causing this?
Is there a new feature that I overlooked?
Regards,
Kay-Uwe