{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • General
    • Edge/API Management
    • Developer Portal
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Microgateway /
avatar image
0
Question by IT Boardroomlimited · Jun 04, 2018 at 06:28 AM · 45 Views microgatewayshared flowsconfiguration

edgemicro cannot synchronise settings when starting

My local edgemicro does not seem to be able to download latest configuration. I think so because I deleted some endpoints and created new ones, but edgemicro still can see those deleted but cannot see newly created. Then if I try to re-start edgemicro, it reports "404 Not Found" on /products endpoint:

$ edgemicro start -o it-xxxxxxxx-eval -e test -k xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -s xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

current nodejs version is v8.11.2
current edgemicro version is 2.5.16
info: jwk_public_keys download from null returned 200 undefined
info: config download from https://edgemicroservices.apigee.net/edgemicro/bootstrap/organization/it-xxxxxxxx-eval/environment/test returned 200 OK
warning: products download from https://it-xxxxxxxx-eval-test.apigee.net/edgemicro-auth/products returned 404 Not Found
warning: error downloading config, please check bootstrap configuration Error: Not Found
    at _loadStatus (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:352:12)
    at Request._callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:217:17)
    at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1163:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
failed to retieve config from gateway. continuing, will try cached copy..
Error: Not Found
    at _loadStatus (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:352:12)
    at Request._callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/lib/network.js:217:17)
    at Request.self.callback (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1163:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/edgemicro/node_modules/microgateway-config/node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
using cached configuration from /root/.edgemicro/it-xxxxxxxx-eval-test-cache-config.yaml
PROCESS PID : 19310
warning: jwt_public_key download from https://it-xxxxxxxx-eval-test.apigee.net/edgemicro-auth/publicKey returned 404 Not Found


Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

· Add your answer
  • Sort: 
avatar image
0

Answer by srinandans · Jun 04, 2018 at 02:59 PM

It appears you have deleted/undeployed the edgemicro-auth proxy.

Comment
Add comment Show 2 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image IT Boardroomlimited · Jun 04, 2018 at 10:58 PM 0
Link

You are probably right. There is no such proxy.

But why it should be there?

Also, why its absence stops edgemicro from synchronizing the config?

avatar image srinandans ♦ IT Boardroomlimited · Jun 05, 2018 at 01:02 AM 0
Link

The "edgemicro configure" steps creates it. It should not be deleted if you're using MG.

The proxy is how MG synchronizes with Edge (at least for part of the data).

Your answer

Hint: You can notify a user about this post by typing @username

Up to 5 attachments (including images) can be used with a maximum of 5.0 MB each and 25.0 MB total.

Follow this Question

Answers Answers and Comments

59 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I get past the "verify" step when configuring Microgateway? 1 Answer

edge microgateway plugin 2 Answers

productionization of edge micro: running micro gateway under systemd 1 Answer

MicroGateway configuration errors on Windows 10. 6 Answers

Configuring Microgateway 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • Edge/API Management
  • Developer Portal
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges