This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Passwords are not stored

  • 4 àwọn èsì
  • 1 ní ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ SLAG_ch

more options

We use Firefox on an Virtual Deskopt evironment (Citrix). Some user cannot store any passwords in firefox. Just after the login i click save on the password-save-notification, aferwards i check the stored passwords in the settings, and it's empty. Just few users are affected. Other users are able to safe the password on the same Website/URL. I did some tests: I created a new Firefox profile and even a new Windowsprofile (which causes a new %AppData% folder and new User-Registry) and tested it on different VMs. Nothing helps. According to an help-article, the passwords are saved in the files key4.db and logins.json which are located in the firefox profile in %APPDATA%\Mozilla\Firefox\Profiles\*random*.default\ I noticed that those files are not existing in the profiles of the users with the issue. In the profile of other users, this two files are existing. I checked the file permission of the folder, the user has full access, so this shouldn't be the cause. I have no idea. Can someone say why some user cannot store passwords in Firefox, or why those two files are not existing for this users.

Thanks everyone! Btw: We use Firefox 60.5.1esr (64-Bit)

We use Firefox on an Virtual Deskopt evironment (Citrix). Some user cannot store any passwords in firefox. Just after the login i click save on the password-save-notification, aferwards i check the stored passwords in the settings, and it's empty. Just few users are affected. Other users are able to safe the password on the same Website/URL. I did some tests: I created a new Firefox profile and even a new Windowsprofile (which causes a new %AppData% folder and new User-Registry) and tested it on different VMs. Nothing helps. According to an help-article, the passwords are saved in the files key4.db and logins.json which are located in the firefox profile in %APPDATA%\Mozilla\Firefox\Profiles\*random*.default\ I noticed that those files are not existing in the profiles of the users with the issue. In the profile of other users, this two files are existing. I checked the file permission of the folder, the user has full access, so this shouldn't be the cause. I have no idea. Can someone say why some user cannot store passwords in Firefox, or why those two files are not existing for this users. Thanks everyone! Btw: We use Firefox 60.5.1esr (64-Bit)

All Replies (4)

more options

Did you check for active policies that might disable the Password Manager?

Did you check this pref on the about:config page?

  • signon.rememberSignons

You can try to enable signon.debug to see whether that generates useful data in the Browser Console.

What happens of you copy a valid matching logins.json and key4.db pair to the profile folder?

more options

Hi Cor-el, Thanks for your help. It doesn't solve my issue. I did not set any policy, the signon.rememberSignons is set. I tried to copy the two files into the profile which didn't help. I saw some errors in the debug log, but i'm not sure what they mean.

Can you help me

LoginManagerContent:observer notified for form submission. LoginManagerContent.jsm:56 LoginManagerContent:adding <unavailable> to loginFormRootElements for <unavailable> LoginManagerContent.jsm:1597 LoginManagerContent:_onFormSubmit <unavailable> LoginManagerContent.jsm:917 LoginRecipes:_filterRecipesForForm <unavailable> LoginRecipes.jsm:260 LoginRecipes:getFieldOverrides: filtered recipes: <unavailable> LoginRecipes.jsm:285 LoginManagerContent:Username field <unavailable> has name/value: session_login_name / asdf LoginManagerContent.jsm:801 LoginManagerContent:Password field <unavailable> has name: session_password LoginManagerContent.jsm:809 nsLoginManager:Checking if logins to "https://ap.olmero.ch" can be saved. nsLoginManager.js:479 nsLoginManager:Searching for logins nsLoginManager.js:436 Login storage:_searchLogins: returning 0 logins for Object { hostname: "https://ap.olmero.ch", formSubmitURL: "https://ap.olmero.ch" } with options Object { schemeUpgrades: true } storage-json.js:374 LoginManagerPrompter:===== initialized ===== nsLoginManagerPrompter.js:729 LoginManagerPrompter:promptToSavePassword nsLoginManagerPrompter.js:741 nsLoginManager:Searching for logins nsLoginManager.js:436 Login storage:_searchLogins: returning 0 logins for Object { httpRealm: null, formSubmitURL: "https://ap.olmero.ch", hostname: "https://ap.olmero.ch" } with options Object { schemeUpgrades: true } storage-json.js:374 nsLoginManager:Searching for logins nsLoginManager.js:436 Login storage:_searchLogins: returning 0 logins for Object { httpRealm: null, formSubmitURL: "https://ap.olmero.ch", hostname: "https://ap.olmero.ch" } with options Object { schemeUpgrades: true } storage-json.js:374 LoginManagerContent:adding <unavailable> to loginFormRootElements for <unavailable> LoginManagerContent.jsm:1597 LoginManagerContent:onDOMFormHasPassword: <unavailable> <unavailable> LoginManagerContent.jsm:378 LoginManagerContent:_detectInsecureFormLikes "https://www.olmpp.ch/index-failed.html?u=61736466&reason=no_login" LoginManagerContent.jsm:488 nsLoginManager:Searching for logins nsLoginManager.js:436 Login storage:_searchLogins: returning 0 logins for Object { hostname: "https://www.olmpp.ch", formSubmitURL: "https://www.olmpp.ch" } with options Object { schemeUpgrades: true } storage-json.js:374 LoginManagerParent:sendLoginDataToChild: 0 deduped logins LoginManagerParent.jsm:218 LoginManagerContent:adding <unavailable> to loginFormRootElements for <unavailable> LoginManagerContent.jsm:1597 LoginRecipes:cacheRecipes: for: "https://www.olmpp.ch" LoginRecipes.jsm:206 LoginManagerContent:_fillForm <unavailable> LoginManagerContent.jsm:1024 LoginManagerContent:_detectInsecureFormLikes "https://www.olmpp.ch/index-failed.html?u=61736466&reason=no_login" LoginManagerContent.jsm:488 GET https://www.olmpp.ch/favicon.ico [HTTP/1.1 404 Not Found 5ms] GET https://www.olmpp.ch/favicon.ico [HTTP/1.1 404 Not Found 0ms] nsLoginManager:Searching for logins nsLoginManager.js:436 Login storage:_searchLogins: returning 0 logins for Object { httpRealm: null, formSubmitURL: "https://ap.olmero.ch", hostname: "https://ap.olmero.ch" } with options Object { schemeUpgrades: true } storage-json.js:374 nsLoginManager:Searching for logins matching origin: "https://ap.olmero.ch" formActionOrigin: "https://ap.olmero.ch" httpRealm: null nsLoginManager.js:421 Login storage:_searchLogins: returning 0 logins for Object { hostname: "https://ap.olmero.ch", formSubmitURL: "https://ap.olmero.ch", httpRealm: null } with options Object { schemeUpgrades: false } storage-json.js:374 Login storage:_findLogins: returning 0 logins storage-json.js:407 nsLoginManager:Adding login nsLoginManager.js:313 Login crypto:Failed to encrypt string. (NS_ERROR_FAILURE) crypto-SDR.js:79 Login crypto:Prompted for a master password, notifying for passwordmgr-crypto-loginCanceled crypto-SDR.js:225 NS_ERROR_ABORT: User canceled master password entry crypto-SDR.js:84 [Exception... "User canceled master password entry" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/crypto-SDR.js :: encrypt :: line 84" data: no] (unbekannt)

more options

Is there a MP set ? Quote: Login crypto:Prompted for a master password, notifying for passwordmgr-crypto-loginCanceled crypto-SDR.js:225 NS_ERROR_ABORT: User canceled master password entry crypto-SDR.js:84 [Exception... "User canceled master password entry" nsresult:

Try to rename/remove pkcs11.txt (pkcs11OLD.txt) and delete secmode.db (used previously) in the profile folder.

Are there any (external) Password Managers installed in these cases?

Maybe try a new profile and possibly a clean reinstall (i.e. delete the Firefox program folder).

You can create a new profile to test if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.

more options

No, the user doesn't use a master password. Those tow files, pks11.txt and secmode.db aren't existing in the firefox profile folder (as well as key4.db and logins.json didn't existed until i copied those from a running one). I allready tried to create several new profiles, which didn't help. Reinstalling firefox won't help i guess because other users on the same machine doesn't have this issue. This line in the logs made me curious: SLAG_ch said

[Exception... "User canceled master password entry" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: jar:file:///C:/Program%20Files/Mozilla%20Firefox/omni.ja!/components/crypto-SDR.js :: encrypt :: line 84" data: no] (unknown)

Do you know what it means?