Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. EspoCRM
  3. BUG: Webhooks don't seem to work

BUG: Webhooks don't seem to work

Scheduled Pinned Locked Moved Solved EspoCRM
9 Posts 3 Posters 3.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shrey
    wrote on last edited by shrey
    #1

    On a fresh instance of EspoCRM, i set up webhooks for all the events possible:

    50254267-b5b0-4f61-ab84-0cb09f5c9394-image.png


    But none of them seems to be working.

    How do i diagnose this issue?

    Have already set the log_level to 'DEBUG', but no errors are generated when the webhook should be firing.


    Also, as per this: https://docs.espocrm.com/administration/webhooks/#debugging,
    i inspected the webhook_queue_item and the webhook_event_queue_item tables.

    I can see that the webhook_event_queue_item table contains the 'generated webhook events' correctly.

    But no webhook is ever sent!
    Have tried URLs from 3 different services/servers.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shrey
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Could it be related to:

        webhookConnectTimeout = 5 (seconds)
        
        webhookTimeout = 10 (seconds)
        

        Maybe increase those two? Is the problem here that n8n is not getting called?

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zonzonzon
          wrote on last edited by
          #4

          I'm get same problem with espo on cloudron . How to fix this ?

          girishG 1 Reply Last reply
          1
          • Z zonzonzon

            I'm get same problem with espo on cloudron . How to fix this ?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @zonzonzon How can we reproduce this?

            Z 1 Reply Last reply
            0
            • girishG girish

              @zonzonzon How can we reproduce this?

              Z Offline
              Z Offline
              zonzonzon
              wrote on last edited by
              #6

              @girish

              I have tried adding a webhook from n8n or webhook.site to Espo. But it seems that no information is received.

              "PUT /api/v1/Task/66075443ba45c859a HTTP/1.1" 200 974 "https://domain/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
              "GET /api/v1/Task/66075443ba45c859a/stream?after=2024-03-29%2023%3A53%3A30&filter=&maxSize=&offset=0&orderBy=number&order=desc HTTP/1.1" 200 21 "https://domain/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"

              1 Reply Last reply
              1
              • Z Offline
                Z Offline
                zonzonzon
                wrote on last edited by
                #7

                I was able to fix this issue by simply following the instructions 'Request sending is processed by a scheduled job Process Webhook Queue (Administration > Scheduled Jobs)

                1 Reply Last reply
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @zonzonzon ah good catch! It seems newer installations don't have jobs by default. Our old espocrm has it.

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @zonzonzon apparently, we added these manually when we installed EspoCRM.

                    @shrey I have added a doc note for the fix - https://docs.cloudron.io/apps/espocrm/#cron-jobs

                    1 Reply Last reply
                    0
                    • girishG girish has marked this topic as solved on

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search