opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

error:- getting encryption key #55

Closed sudoharish closed 4 years ago

sudoharish commented 4 years ago

i m testing it on windows machine, and generated the key from an online linux terminal by head base64 command. i m not able to know whats the issue, i hope i have given the correct permitions on gcp secret manager.

**_1) config.ts

encryption

     should succeed in getting encryption key:
 Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Users\Harish\firebase\opentrace-cloud-functions-master\functions\test\opentrace\config.test.ts)_**

encyptionerror_cmd encr_config encrp_gcp

alexissinglaire commented 4 years ago

@sudoharish : do you aware your secret key is created using different project id with the one that you run the npm test? please take note if you have multiple project defined in your cloud you need to ensure the usage are in sync.

sudoharish commented 4 years ago

@alexissinglaire thanks it was a great help.now all passed just showing delay that can be ignored for now