-
Notifications
You must be signed in to change notification settings - Fork 614
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
webhookAuthenticateURL does not work #4058
Comments
Thank you @tuliofaria , Let us take a look at your case |
Hi @tuliofaria 2022-03-27 20:13:58,425 [RTMPConnectionExecutor-1] ERROR i.a.s.AcceptOnlyStreamsWithWebhook - Couldn't connect Webhook for Stream Authentication java.lang.NullPointerException 2022-03-27 20:13:58,425 [RTMPConnectionExecutor-1] INFO i.a.e.webrtc.WebRTCApplication - W3C x-category:session x-event:disconnect c-ip:103.87.56.123 c-client-id:0 |
Nice @yashtandon113 ! Is there any docs to start contributing to the project? I was trying to set a local environment to investigate this - but it was confusing to me (it´s been a long time I don´t have a local env for java 😓 ). |
Hi @tuliofaria , Thank you for investigating the contribution. It's very kind of you. You can just send PR to the master branch. On the other hand, we're preparing contribution guide You can build the project with this documentation -> https://resources.antmedia.io/docs/building-ams-from-source Please let me know if we can help further for your contribution |
Short description
I´m trying to use webhookAuthenticateURL and following https://github.com/ant-media/Ant-Media-Server/wiki/Webhook-Authentication-for-Publishing-Streams but, even with the URL set, I didnt receive any request on https://webhook.site/.
Checking the logs, it only appears nullpointer exception in line 59 of this file: https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/java/io/antmedia/security/AcceptOnlyStreamsWithWebhook.java#L59
I´m using OBS to test and tried to send everything. Custom query params, such ?test=value but the error is the same.
Environment
The text was updated successfully, but these errors were encountered: