- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NIFI SSL Invalid Host Header error with port forwarding
- Labels:
-
Apache NiFi
Created 01-25-2024 05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
We have a nifi cluster of 3 nodes on which we are implementing SSL. All the configuration changes are done but when we access NIFI UI on our browser It throws this error -
System Error
The request contained an invalid host header [127.0.0.1:<port>] in the request [/nifi/]. Check for request manipulation or third-party intercept.
Valid host headers are [empty] or:
Our port forwarding is like this -
ssh -L 18443:<node-1-ip-adress>:8443 -i ~example.com
ssh -L 28443:<node-2-ip-adress>:8443 -i ~example.com
ssh -L 38443:<node-3-ip-adress>:8443 -i ~example.com
Then our ssh tunelling via putty is like this -
L28443 127.0.0.1:18443
L48443 127.0.0.1:38443
L58444 127.0.0.1:58443
Any ideas how to resolve it ?
Created 01-25-2024 08:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@comviva Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @steven-matison @MattWho who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
