<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Nifi: The supplied username and password are not valid when accessing it from remote machine in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367232#M239834</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured the Nifi on the Linux machine, When I am login into :Linux Machine then its working fine.&lt;/P&gt;&lt;P&gt;Example &lt;A href="https://localhost:8443/nifi" target="_blank"&gt;https://localhost:8443/nifi&lt;/A&gt;&amp;nbsp; -- Working perfectly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am accessing in my local machine (Laptop browser)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://Server_IP_Address:8443/nifi" target="_blank"&gt;https://Server_IP_Address:8443/nifi&amp;nbsp; -- Now Credentials not working.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 01:18:48 GMT</pubDate>
    <dc:creator>saquibsk</dc:creator>
    <dc:date>2023-03-30T01:18:48Z</dc:date>
    <item>
      <title>Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367146#M239810</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I installed nifi on a linux server under /opt/nifi_server/nifi. I can connect to nifi using the provided passwords, but when I try to access it remotely, the error "The supplied username and password are not valid" appears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Earlier, it was working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started facing issues when I removed the NIFI folder, re-extracted it to the same location, and started the services.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any assistance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shakib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:49:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367146#M239810</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-03-29T10:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367155#M239815</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104295"&gt;@saquibsk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that you are using the single user provider policy and not the integration with the LDAP/Kerberos and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most likely, when you deleted and re-extracted your NiFi Folder you have over-written your authorizations.xml, authorizers.xml, login-identity-provider.xml and users.xml files. From my point of view, your problem is related to the &lt;STRONG&gt;login-identity-providers.xml&lt;/STRONG&gt;, as this is the file where you have your password for your user. You could try and get a back-up of this file, extract the password from there and paste it into your current file. Otherwise, you can generate a new password for your user. Or (not sure if it will work) you can see what encryption NiFi uses for hashing the password, and generate your old password using that hash and paste it within your login-identity-provider.xml file.&lt;BR /&gt;&lt;BR /&gt;PS: make sure that you stop NiFi before modifying the file &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 12:46:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367155#M239815</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-03-29T12:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367203#M239829</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp; for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I regenerated a new password. Working fine on local server, but there is a problem when I access it remotely&amp;nbsp; "&lt;SPAN&gt;The supplied username and password are not valid"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shakib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 19:13:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367203#M239829</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-03-29T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367213#M239832</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What do you mean with it is working fine on local server but there is a problem when you access it remotely? How do you access it remotely? Are you using the Apache NiFi version or the Clouder version?&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, as I do not have all the info yet, I would go ahead and ask a dumb question. If you are trying to access it remotely, I assume that you are using a different device (pc, laptop, vm, etc.), so therefore, are you sure that you are using the same keyboard layout and you are typing the correct password?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 21:14:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367213#M239832</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-03-29T21:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367232#M239834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured the Nifi on the Linux machine, When I am login into :Linux Machine then its working fine.&lt;/P&gt;&lt;P&gt;Example &lt;A href="https://localhost:8443/nifi" target="_blank"&gt;https://localhost:8443/nifi&lt;/A&gt;&amp;nbsp; -- Working perfectly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am accessing in my local machine (Laptop browser)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://Server_IP_Address:8443/nifi" target="_blank"&gt;https://Server_IP_Address:8443/nifi&amp;nbsp; -- Now Credentials not working.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 01:18:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367232#M239834</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-03-30T01:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367302#M239863</link>
      <description>&lt;P&gt;So the question with you entering the correct password is still valid, even though it is a dumb question. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Nevertheless, would it be possible for you to add the nifi.properties config file here? You can replace the password properties with something else.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 12:00:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367302#M239863</guid>
      <dc:creator>cotopaul</dc:creator>
      <dc:date>2023-03-30T12:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367382#M239881</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/104295"&gt;@saquibsk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stop your NiFi service.&lt;BR /&gt;Try using the following command to reset the single user "username" and "password" to new values:&lt;/P&gt;&lt;PRE&gt;$ ./bin/nifi.sh set-single-user-credentials &amp;lt;username&amp;gt; &amp;lt;password&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then start your NiFi service and see it you can successfully login.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 20:13:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367382#M239881</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-03-30T20:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367466#M239908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;, I have tried this one also, unfortunate did not work. In fact I have deleted the entire nifi and extracted it again with new password. issue still persist. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 18:18:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367466#M239908</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-03-31T18:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367485#M239915</link>
      <description>&lt;P&gt;In this situation, a Windows 10 user attempting to connect to Windows 10 or Windows Server 2016 computers is denied access with the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remote Desktop Connection:&lt;/STRONG&gt;&lt;BR /&gt;The system administrator has restricted the type of logon (network or interactive) that you may use. For assistance, contact your system administrator or technical support.&lt;/P&gt;&lt;P&gt;This issue occurs when Network Level Authentication (NLA) is required for RDP connections, and the user is not a Remote Desktop Users group member. It can also occur if the Remote Desktop Users group has not been assigned to the Access this computer from the network user right.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 07:26:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367485#M239915</guid>
      <dc:creator>atonalw</dc:creator>
      <dc:date>2023-04-01T07:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367522#M239927</link>
      <description>&lt;P&gt;Same credentials I am using on both the places&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;provider&amp;gt;&lt;BR /&gt;&amp;lt;identifier&amp;gt;single-user-provider&amp;lt;/identifier&amp;gt;&lt;BR /&gt;&amp;lt;class&amp;gt;org.apache.nifi.authentication.single.user.SingleUserLoginIdentityProvider&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;lt;property name="Username"&amp;gt;15a7a80c-dd66-47ca-8d32-4f0c9d4ee372&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Password"&amp;gt;$2b$12$Zy.DA3JNLlgBsnhLTnb41uoTzbAVHTxoRtSaMuY5wUibm6vN7kd6y&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/provider&amp;gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error Log :&lt;/STRONG&gt; When login from remote machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Caused by: org.apache.nifi.authentication.exception.InvalidLoginCredentialsException: Password verification failed&lt;BR /&gt;at org.apache.nifi.authentication.single.user.SingleUserLoginIdentityProvider.authenticate(SingleUserLoginIdentityProvider.java:92)&lt;BR /&gt;at org.apache.nifi.web.security.spring.LoginIdentityProviderFactoryBean$1.authenticate(LoginIdentityProviderFactoryBean.java:343)&lt;BR /&gt;at org.apache.nifi.web.api.AccessResource.createAccessToken(AccessResource.java:422)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Log:&lt;/STRONG&gt; when from localhost&lt;/P&gt;&lt;P&gt;loggin successfully , log message when logged off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023-04-03 06:05:30,599 INFO [NiFi Web Server-852] org.apache.nifi.web.api.AccessResource Logout Request [57fddaf8-4a7b-40ce-b63a-23d331cb872f] Identity [15a7a80c-dd66-47ca-8d32-4f0c9d4ee372] started&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 02:18:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367522#M239927</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-04-03T02:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi: The supplied username and password are not valid when accessing it from remote machine</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367564#M239944</link>
      <description>&lt;P&gt;Good day, everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem has been resolved. I made a new subfolder called /opt/nifi_server/ and installed the NIFI in it. When I first began, it gave me the error "Unable to bind the IP with port 844." I terminated the PID and launched the Nifi.Everything is back to normal now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:57:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-The-supplied-username-and-password-are-not-valid-when/m-p/367564#M239944</guid>
      <dc:creator>saquibsk</dc:creator>
      <dc:date>2023-04-03T07:57:13Z</dc:date>
    </item>
  </channel>
</rss>

