[SSL Pinning Plugin] Failed to install - No HPKP Configuration Found

Forge Component
(4)
Published on 5 Feb (3 weeks ago) by OutSystems R&D
4 votes
Published on 5 Feb (3 weeks ago) by OutSystems R&D

Please see error below.  The git URL is resolving to a 404 page - if I was able to view the utils.js file, I'm sure that I could resolve on my own.

Thanks!


Failed to install 'cordova-outsystems-sslpinning': CordovaError: No HPKP configuration found.

    at Object.loadConfigFile (/Users/mabs04/NativeBuilder/builds/97ee6975-301f-48a4-9fa0-1397afcc183d/source/plugins/cordova-outsystems-sslpinning/hooks/utils.js:74:15)

    at module.exports (/Users/mabs04/NativeBuilder/builds/97ee6975-301f-48a4-9fa0-1397afcc183d/source/plugins/cordova-outsystems-sslpinning/hooks/check_requirements.js:13:11)

    at runScriptViaModuleLoader (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:188:18)

    at runScript (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:164:16)

    at /Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20

    at _fulfilled (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/q/q.js:787:54)

    at self.promiseDispatch.done (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/q/q.js:816:30)

    at Promise.promise.promiseDispatch (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/q/q.js:749:13)

    at /Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/q/q.js:810:14

    at flush (/Users/mabs04/.nodenv/versions/8.14.1/lib/node_modules/cordova/node_modules/q/q.js:108:17)

Error: No HPKP configuration found.

Hi Ross,

Is it 404 only for utils.js resource or all the assets on the git URL?

Could that be the git branch is not existing (merged and deleted) any more?

Regards,

Swatantra

The 404 is on the github URL in the extensibility configuration:

https://7f669fab2d2d8be939dd6a1108d874d002d4861d:@github.com/OutSystems/cordova-outsystems-sslpinning.git#3.0.1

I think this was some issue with the pinning.json file.  I tried one more time with a new file and it is building