Closed Bug 1742169 Opened 4 years ago Closed 3 years ago

"AutoConfig Alert : Netscape.cfg/AutoConfig failed. Please contact..." lockPref

Categories

(Core :: AutoConfig (Mission Control Desktop), defect)

Firefox 94
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: ericouellet2, Assigned: mkaply)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

Start firefox and get error message

Actual results:

See attachement.
Alerte AutoConfig
Netscape.cfg/AutoConfig a échoué. Veuillez contacter votre administrateur système. Erreur : lockPref échoué: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nlsPrefBRanch.lockPref]" nsREsult... location: "JS frame :: prefcalls.js :: lockPref :: line 77" data: no]

Expected results:

No error

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Assignee: nobody → mozilla
Component: JavaScript Engine → AutoConfig (Mission Control Desktop)

do you work at a company that could have customized your Firefox?

can you send me the file with the extension cfg in the same directory where Firefox is installed? probably Firefox.cfg or Mozilla.cfg

I work for a very large company (20 000 employees where, soemtimes, the IT does some security configurations on our computer (GPO or other) that causes us some weird problems.

The only file found of the 2 mentioned on my C: drive was: C:\Program Files\Mozilla Firefox\mozilla.cfg (attached).
But I installed Firefox myself recently, and the date of the file is 2021-06-30 which is a lot older than last week, where I installed it.

It would be nice that Mozilla would verify they have access to that file in read (file exists) and also in write (if required) and push a clear warning about the problem in order for us to fix and/or ask IT to fix the problem.
Also perhaps, to verify that the version of the .cfg file is the right one for the actual running version of firefox?

Also, I think the configuration file should never be into "program files". It should be into AppData or MyDocument.
A regular user (not admin) should not try to write to "Program files".

Attached file mozilla.cfg

Copy of the asked file

So this is a file that was put down by your IT department and they made a mistake which is causing the problem.

This line (line 35):

lockPref("security.ssl3.rsa_des_ede3_sha");

is invalid. It should have a true or false after the value.

It worked previously because that preference existed, but since it has been removed, it causes the error.

You should reach out to your IT folks and let them know. Feel free to have them reach out to me if they have questions.

You can also let them know we now have enterprise policy so they don't need to use Autoconfig anymore.

https://github.com/mozilla/policy-templates/blob/master/README.md

And the reason this file is in Program Files is so that an IT person can install and a user can't easily change it without admin privileges.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED

Thank you. In fact i'm admin of my machine.
I completely uninstall every firefox version and removed every folder from program files and program files (x86).
I re-installed and everything is fine now, firefox works great... Until my company IT dept will break apart every thing again.

Thank you very much for your support,
Eric

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: