X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

Firefox add-on signing using web-ext takes more than 5 minutes!

Veröffentlicht

I am using web-ext to get my extension signed from firefox. Recently, I have noticed that the time it takes to get it signed has increased drastically.

My gradle task is defined as:


task signFirefoxExtension(dependsOn: ['webExtension', 'npmInstall']) {

   doLast {
       exec {
           // retrieve the node bin path to set the PATH environment
           String nodeBin = file("${project.projectDir}/node").list()[0]
           environment("PATH", "${project.projectDir}/node/$nodeBin/bin:\$PATH")
           commandLine "mkdir", "-p", "$buildDir/browser-extension/firefox/extensions"
           commandLine "${project.projectDir}/node_modules/.bin/web-ext", "sign",
                       "-s", "$buildDir/tmp/webext",
                       "-a", "$buildDir/tmp/webext",
                       "--verbose",
                       "--timeout=300000",
                       "--channel", "unlisted",
                       "--api-key=<KEY>",
                       "--api-secret=<SECRET>"
           standardOutput = new FileOutputStream("${buildDir}/tmp/web-ext.out");
       }
   }

}

I have configured 5 min for the signing timeout but I am seeing frequent timeouts.

Are there others out there facing the same problem? Is there anything that can be done to make this signing faster?

I am using web-ext to get my extension signed from firefox. Recently, I have noticed that the time it takes to get it signed has increased drastically. My gradle task is defined as: task signFirefoxExtension(dependsOn: ['webExtension', 'npmInstall']) { doLast { exec { // retrieve the node bin path to set the PATH environment String nodeBin = file("${project.projectDir}/node").list()[0] environment("PATH", "${project.projectDir}/node/$nodeBin/bin:\$PATH") commandLine "mkdir", "-p", "$buildDir/browser-extension/firefox/extensions" commandLine "${project.projectDir}/node_modules/.bin/web-ext", "sign", "-s", "$buildDir/tmp/webext", "-a", "$buildDir/tmp/webext", "--verbose", "--timeout=300000", "--channel", "unlisted", "--api-key=<KEY>", "--api-secret=<SECRET>" standardOutput = new FileOutputStream("${buildDir}/tmp/web-ext.out"); } } } I have configured 5 min for the signing timeout but I am seeing frequent timeouts. Are there others out there facing the same problem? Is there anything that can be done to make this signing faster?

Geändert am von Vaibhav Tripathi

Ausgewählte Lösung

Hello Vaibhav Tripathi,

Would you please take a look at this thread :

https://github.com/mozilla/web-ext/issues/1773

Maybe you could start a new issue ?

Or maybe here :

https://discourse.mozilla.org/t/web-ext-sign-command-is-timing-out/49670

Diese Antwort im Kontext lesen 1
Zitieren

Mehr Details zum System

Anwendung

  • User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Weitere Informationen

McCoy
  • Top 10 Contributor
572 Lösungen 5342 Antworten
Veröffentlicht

Ausgewählte Lösung

Hello Vaibhav Tripathi,

Would you please take a look at this thread :

https://github.com/mozilla/web-ext/issues/1773

Maybe you could start a new issue ?

Or maybe here :

https://discourse.mozilla.org/t/web-ext-sign-command-is-timing-out/49670

Hello Vaibhav Tripathi, Would you please take a look at this thread : https://github.com/mozilla/web-ext/issues/1773 Maybe you could start a new issue ? Or maybe here : https://discourse.mozilla.org/t/web-ext-sign-command-is-timing-out/49670
Hat Ihnen das weitergeholfen? 1
Zitieren

Fragesteller

Awesome! Thanks McCoy, it looks like it is an issue with web-ext and not with how Mozilla signs add-ons.

Thanks a lot for the pointers. Cheers!

Awesome! Thanks McCoy, it looks like it is an issue with web-ext and not with how Mozilla signs add-ons. Thanks a lot for the pointers. Cheers!
Hat Ihnen das weitergeholfen?
Zitieren
McCoy
  • Top 10 Contributor
572 Lösungen 5342 Antworten
Veröffentlicht

I'm glad I could help  !

I'm glad I could help !
Hat Ihnen das weitergeholfen?
Zitieren
Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.