Addons-server: Some .crx files are considered corrupt/invalid erroneously

Created on 5 Apr 2020  路  3Comments  路  Source: mozilla/addons-server

Hi, I tried to upload my Extension for the first time at approximately 13:40 hours (UTC +2). The add-on is unlisted.

The add-on is a CRX export of an already working Chrome Extension.

dist.zip

This is the URL where I submitted the extension: https://addons.mozilla.org/de/developers/addon/submit/upload-unlisted

I got the following error messages:

image

devhub p4 prod_bug

Most helpful comment

I've tried to reproduce the issue and it seems that for the .crx package the validation will fail with the error message posted above.
If I simply change the archive extension from .crx to .zip, the validation is completed successfully.

If I rename other valid .zip archives to .crx, the error will reproduce as well.

All 3 comments

I've tried to reproduce the issue and it seems that for the .crx package the validation will fail with the error message posted above.
If I simply change the archive extension from .crx to .zip, the validation is completed successfully.

If I rename other valid .zip archives to .crx, the error will reproduce as well.

Although the workaround mentioned above helps, we should still investigate why the .crx archive triggered that error. I will re-open the issue for this specific purpose.

Should be fixed by https://github.com/mozilla/addons-server/pull/15870 (goes to production next Thursday)

Was this page helpful?
0 / 5 - 0 ratings