{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • 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 Amar Uprety · Oct 30, 2018 at 06:27 PM · 100 Views quotaquota policy

Edge MicroGateway Quota Plugin Not Working

I have configured the quota plugin and started the microgateway. I have added the quota policy into the config file of the edge microgateway. I run the curl command with Bearer token but the quota fault is not raised at all. I have placed quota after oauth in the org-eval-config.yaml file sequence. I am using node version 6.9.1 and edgemicro version is 2.5.7

I went over the following links:

https://community.apigee.com/questions/14983/how-do-i-get-quota-working-in-microgateway.html

But the problem still prevails.

Suggestions??

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

  • Sort: 
avatar image
0
Best Answer

Answer by srinandans · Oct 31, 2018 at 06:58 PM

There was a bug in the quota plugin. Can you please try with 2.5.27-beta?

npm install -g edgemicro@beta
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 Amar Uprety · Oct 31, 2018 at 08:35 PM 0
Link

I tried it with edgemicro beta and now it is giving me this error:

(node:742) TimeoutOverflowWarning: 2678400000 does not fit into a 32-bit signed integer.
Timeout duration was set to 1.

Also, when I run edgemicro verify, it is giving me this with quota:

verifying quota with configured products: FAIL

I have the quota set as 4 per minute in the API product which is linked to the edgemicro proxy. I do get the 200 response but the quota is not enforced.

avatar image Amar Uprety Amar Uprety · Nov 01, 2018 at 07:33 PM 0
Link

It is working now. I had 4 processes for edgemicro which multiplied the quota by 4 giving me an error. When I specified 1 edgemicro process, the fault is raised. Thank you for your help.

Follow this Question

Answers Answers and Comments

63 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 avatar image avatar image avatar image avatar image

Related Questions

Set quota policy on edge microgateway for each consumer app/developer 1 Answer

How do I get Quota working in Microgateway? 4 Answers

How frequently does Edge Micro reports (or downloads) Quota information back to Edge? 1 Answer

How can we avoid option call in edge micro from an webapp 1 Answer

Can we have multiple quota option in product 2 Answers

  • 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
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • 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