Closed rucciva closed 5 years ago
Shed some light. the behaviour is only found when creating plugins with PUT method. even at 1 route 1 service 3 plugins, the plugins will not get executed. But after creating the plugins with POST method, the plugins get executed normally. i notice that the PUT method in 1.0.0 is slightly different than in 0.14.x.
git clone https://github.com/rucciva/kong-plugin-bug
cd kong-plugin-bug && git checkout create-plugin-with-post && docker-compose up -d && docker-compose logs -f set-up
curl localhost:8000/api-3/v1.0.0
. the plugins is executed@rucciva Thank you for the investigation! I sent a PR to fix this.
We just release 1.0.2, which should address this issue. Thanks for the report @rucciva!
Please read the CONTRIBUTING.md guidelines to learn on which channels you can seek for help and ask general questions:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#where-to-seek-for-help
Summary
After creating around 72 services, 72 route, 3*72 route's plugins, 72 consumer, 72 routes + consumers plugins, when sending the request to any route, the plugins won't get executed. Only after kong reload or restart does the plugins get executed
Steps To Reproduce
git clone https://github.com/rucciva/kong-plugin-bug
cd kong-plugin-bug && docker-compose up -d && docker-compose logs -f set-up
curl localhost:8000/api-3/v1.0.0
. No plugins get executeddocker-compose exec kong kong reload
ordocker-compose exec kong kong restart
Additional Details & Logs
Kong version (
1.0.0
)Kong debug-level startup logs
Kong error logs
Kong configuration
Operating system: Linux (docker)