Comments (3)
Hi, have you been editing the vmq_webhooks.conf
file by hand? It shouldn't be possible to add a webhooks with a non-existing plugin hook like publish
when using the vmq-admin
tool. I suspect some changes were done to the file behind the back of vmq_webhooks
which would then not pick up the changes. Could you completely restart VerneMQ and see what is then reported using vmq-admin webhooks status
, paste the contents of vmq_webhooks.conf
and vmq_plugin.conf
?
from vmq_webhooks.
Yes, I edit the vmq_webhooks.conf by hand cause I load my custom conf during the docker startup.
You've guessed right.
vmq-admin webhooks register hook=publish endpoint="http://localhost"
results Invalid value: "publish"
I placed the vmq_webhooks.conf here: /app/broker/plugins/vmq_webhooks/_build/default/lib/vmq_webhooks/priv/vmq_webhooks.conf
After restart VerneMQ the output, which I posted above, looks still the same.
I think the vmq_webhooks plugin loads the conf without validating it.
from vmq_webhooks.
Since we're integrating everything into the vernemq.conf
file this issue is no longer relevant. Closing.
from vmq_webhooks.
Related Issues (14)
- auth_on_subscribe, auth_on_publish not being called. HOT 2
- Plugin enable failing with an error HOT 9
- Webhooks Compilation Failure HOT 4
- Documentation gap regarding webhook conflicts HOT 1
- Add optional caching for `auth_on_subscribe` and `auth_on_publish` hooks HOT 1
- Persisting web hooks across broker restarts HOT 11
- When VerneMQ triggers event "auth_on_subscribe" and "auth_on_publish" HOT 1
- "Auth on Publish" fails repeatly HOT 3
- Saving webhooks on stop, loading webhooks on start HOT 3
- Payload format HOT 3
- Subscriber_id modifier with auth_on_register hook is not applied HOT 4
- Received payload is not JSON error on "on_publish" hook HOT 2
- auth_on_register username/password are "undefined" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmq_webhooks.