I've started getting the following warning/error when I start my microgateways:
current edgemicro version is 2.4.6 warning: config download from https://edgemicroservices-eu-west-1.apigee.net/edgemicro/bootstrap/organization/my-org/environment/d... returned 401 Unauthorize
I am running two microgateway, each in it's own ./edgemicro/ sub folder with their own <org>-<env>-config and cache-config yaml files. I have moved the common default config up to the default ./edgemicro root.
Fortunately, as the startup uses the cached config this doesn't present a problem at present. The jwt public key and products are downloaded successfully as well.
Any ideas why this might be happening and how I might resolve it appreciated.
Michael McD.
Solved! Go to Solution.
I suspect the key and secret used to start microgateway was not the right one (for that org/environment).
I suspect the key and secret used to start microgateway was not the right one (for that org/environment).
Yep, I ran edgemicro configure again and used the newly generated key and secret and all is well again.
I also deleted the auto-generated <org>-<env>-config.yaml file from the default /.edgemicor root as it's not needed by by microgateway instances.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |