-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook does not work as intended #999
Comments
What are you doing to expect a web hook callback? Are you sending a command? Enrolling a device? The web hook is event-based. It'll send callbacks when events happen. What event are you trying to get to happen? Separately, this log:
.. It appears you have not uploaded an APNs push certificate. Have you followed the docs? https://github.com/micromdm/micromdm/blob/main/docs/user-guide/quickstart.md#configure-an-apns-certificate |
As in this video, I have APNS certificate set up but i don't see any traffic from webhook like in the video. |
What are you doing to expect web hook traffic? Can you enroll a device? Does that succeed? Can you enqueue a command and have it be delivered? If you turn on HTTP debug flag do you see responses and HTTP traffic? You're not supposed to have web hook traffic if nothing's happening. |
|
Ahh, okay. The logs you posted didn't show any activity, just the startup and then.. nothing. Yeah so if you see the log lines show up but not webhook requests I'd double-check your server access from MicroMDM (firewalls? Proxies?). Also can you hit your web hook handler with e.g curl from the same network micromdm is on? Usually micromdm will throw errors if it can't connect. Finally I'd double check the simple stuff: that the actual CLI switches are correct and also check any pathing issues to the webhook (eg trailing slash in url etc). Hope those help! |
@jessepeterson Do you know way to expose webhook from micromdm in k8s? |
@piotrt-niceguys this seems more like a k8s question than a MicroMDM question. If you're sending traffic to the webhook and it's hitting MicroMDM instead, it sounds like you have some sort of misconfiguration. |
The micromdm service run in
System:
Processor: M1 pro
System: 14.4.1 (23E224)
What version of
micromdm
are you using?1.12.1
What
micromdm
command did you run?What did you expect to see?
I does not see the that webhook is working on adress
What did you see instead?
I got this messages:
Api work fine, but i don't have any data from webhook. Does i require further configuration with mdmctl to work properly?
The text was updated successfully, but these errors were encountered: