Validation took too long to complete

I get this error message when trying to create a signed extension with jpm sign. Sometimes it works but most of the time is doesn’t with this error message. What is the problem?

Update 1: I found out how to download the signed extension from https://addons.mozilla.org/ after it timed out. But I prefer for jpm sign not to time out.

Update 2: I got this error again now but I couldn’t download the extension from https://addons.mozilla.org/, the new version is not there. I filed a new bug report.

Update 3: The version was there after ~15 minutes. But I can’t download it, there is an error.

It’s likely related to the complexity of your add-on. Removing unneeded code and files can help in reducing validation time.

This sounds like a known bug in jpm. Try upgrading to 1.0.4 and file an issue if you still run into it: https://github.com/mozilla-jetpack/jpm/issues

I’m already using jpm version 1.0.4. I think it’s a bug/timeout problem which I hope will be fixed in the next version.

OK, this is a bug we don’t know about then. We’d like to fix it! Can you run it like jpm --verbose sign... next time and file a bug with a text log that I can look at? If you were able to get the signed file from AMO but jpm sign timed out then it means the API responded in an unexpected way.

OK, if it happens again I’ll file a bug.

Hmm, I think this is a different error. I provided details in the bug report.

What is the problem with our credentials? I downloaded them from https://addons.mozilla.org/en-US/developers/addon/api/key/ . We already released new versions of our extensions for Chrome and Safari last week, only Firefox we can’t release because of this bug.

https://addons.mozilla.org/firefox/downloads/file/382680/wisestamp-4.7.20.1-fx.xpi?src=devhub

We’re sorry, but we can’t find what you’re looking for.

The page or file you requested wasn’t found on our site. It’s possible that you clicked a link that’s out of date, or typed in the address incorrectly.

If you typed in the address, please double check the spelling.
If you followed a link from somewhere, please let us know at webmaster@mozilla.com. Tell us where you came from and what you were looking for, and we’ll do our best to fix it.
Or you can just jump over to some of the popular pages on our website.

Are you interested in a list of featured add-ons?
Do you want to search for add-ons? You may go to the search page or just use the search field above.
If you prefer to start over, just go to the add-ons front page.

Looks like you are not logged in or logged in with the wrong account.

Thank you, I logged in again and it worked.