Webhooks not working

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
wildhart
Posts: 32
Joined: Tue May 11, 2021 8:54 pm

Webhooks not working

Post by wildhart » Thu Sep 02, 2021 4:00 am

Hi,

Can you confirm whether the webhooks feature is working at the moment? I've noticed they've not been coming through for a while.

If I go to the webhooks subscription page (https://allcleargroup.simprosuite.com/s ... scriptions) and send a test webhook that doesn't come through either.

If I use postman to send a webhook to my server I can see it in the logs.
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: Webhooks not working

Post by Muqeet » Thu Sep 02, 2021 4:08 am

Will take a look and get back to you shortly.
Muqeet
API Developer | simPRO Software Group
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: Webhooks not working

Post by Muqeet » Thu Sep 02, 2021 4:49 am

We are experiencing high number of webhook request at the moment which could be why you must be experiencing delays in the message delivery. The messages are being still delivered in the orderly manner at the moment.
Muqeet
API Developer | simPRO Software Group
sultan_kazi_
Posts: 5
Joined: Tue Sep 28, 2021 11:17 am

Re: Webhooks not working

Post by sultan_kazi_ » Tue Sep 28, 2021 11:24 am

Hi Muqeet,

I hope you are well.

I tried testing the webhooks subscription from the System Setup menu and it worked all fine but they are not working for the trigger event itself (such as creating a job). Could you please advice?

Thank you very much.

Kind regards,
Sultan
ConsoleDev
Posts: 8
Joined: Tue Jul 20, 2021 9:18 am

Re: Webhooks not working

Post by ConsoleDev » Tue Sep 28, 2021 1:53 pm

I can confirm I am also experiencing this issue.

I have enabled webhook notification and created a new job but did not receive a webhook request.
robbertcha
Posts: 416
Joined: Thu Apr 15, 2021 10:07 pm

Re: Webhooks not working

Post by robbertcha » Tue Sep 28, 2021 11:36 pm

Hi,

We are looking into this issue now, thank you for your information.
Robbert
API Developer | simPRO Software Group
User avatar
michelle
Posts: 132
Joined: Tue Jul 03, 2018 12:30 pm
Location: Brighton
Contact:

Re: Webhooks not working

Post by michelle » Thu Sep 30, 2021 4:37 pm

Hi there, I've also had trouble with the job.created webhooks yesterday. We seem to have not received some jobs - was there a fault or some sort of delay with the webhooks?

Thanks
Michelle
wildhart
Posts: 32
Joined: Tue May 11, 2021 8:54 pm

Re: Webhooks not working

Post by wildhart » Mon Oct 04, 2021 8:12 am

Hi,

I haven't seen any webhooks in my logs since 30th September...

Pressing "Test Subscription" on the webhook page doesn't come through in my logs either, but sending a manual POST to my webhook url appears in my logs instantly.

Is there a problem?
wildhart
Posts: 32
Joined: Tue May 11, 2021 8:54 pm

Re: Webhooks not working

Post by wildhart » Mon Oct 04, 2021 8:39 am

Interestingly, pressing the "Test Subscription" button works for my local dev sever which doesn't use SSL. My test and live server which use lets-encrypt SLL certs don't receive the test webhooks from simpro (but they can from postman).

Maybe this is related to the expiry of the lets-encrypt root CA: https://letsencrypt.org/docs/dst-root-c ... mber-2021/
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: Webhooks not working

Post by Muqeet » Tue Oct 05, 2021 1:22 am

Hello Chris,

I have checked the logs for your build and from that I have found out that some of the callback is returning `SSL certificate problem: certificate has expired` and there are some timing out.

We have a 15 seconds timeout on message delivery request. Make sure to acknowledge the request and sent back the response quickly instead of processing the business logic based on that event.

I am sending you a private message with more details. Please have a look.
Muqeet
API Developer | simPRO Software Group
Post Reply