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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Listmonk
  3. Possible package configuration issue with bounce processing webhook endpoint

Possible package configuration issue with bounce processing webhook endpoint

Scheduled Pinned Locked Moved Listmonk
5 Posts 2 Posters 714 Views 2 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.
    • dev-cbD Offline
      dev-cbD Offline
      dev-cb
      wrote on last edited by dev-cb
      #1

      Hi,

      according to the official Listmonk docs, there is an API endpoint for recording bounces.
      See: Webhook API

      But the response is 405 Not Allowed (nginx) – anonymized:

      curl -X POST -k -u "admin:password" https://sub.domain.tld/webhooks/bounce \
          -H "Content-Type: application/json" \
          --data '{"email": "eample@listmonk.app", "campaign_uuid": "e8ad4fdb-52e3-4907-b6a3-1c89c7dcb67f", "source": "api_test", "type": "hard", "meta": "{\"additional\": \"info\"}}'
      
      <html>
      <head><title>405 Not Allowed</title></head>
      <body>
      <center><h1>405 Not Allowed</h1></center>
      <hr><center>nginx</center>
      </body>
      </html>
      

      You might notice that I had to use the -k flag to ignore SSL issues since that was the first response without ignoring SSL issues:

      curl: (60) SSL certificate problem: self signed certificate
      More details here: https://curl.se/docs/sslcerts.html
      
      curl failed to verify the legitimacy of the server and therefore could not
      establish a secure connection to it. To learn more about this situation and
      how to fix it, please visit the web page mentioned above.
      

      Anyone experiencing same issue?

      girishG 1 Reply Last reply
      0
      • dev-cbD dev-cb

        Hi,

        according to the official Listmonk docs, there is an API endpoint for recording bounces.
        See: Webhook API

        But the response is 405 Not Allowed (nginx) – anonymized:

        curl -X POST -k -u "admin:password" https://sub.domain.tld/webhooks/bounce \
            -H "Content-Type: application/json" \
            --data '{"email": "eample@listmonk.app", "campaign_uuid": "e8ad4fdb-52e3-4907-b6a3-1c89c7dcb67f", "source": "api_test", "type": "hard", "meta": "{\"additional\": \"info\"}}'
        
        <html>
        <head><title>405 Not Allowed</title></head>
        <body>
        <center><h1>405 Not Allowed</h1></center>
        <hr><center>nginx</center>
        </body>
        </html>
        

        You might notice that I had to use the -k flag to ignore SSL issues since that was the first response without ignoring SSL issues:

        curl: (60) SSL certificate problem: self signed certificate
        More details here: https://curl.se/docs/sslcerts.html
        
        curl failed to verify the legitimacy of the server and therefore could not
        establish a secure connection to it. To learn more about this situation and
        how to fix it, please visit the web page mentioned above.
        

        Anyone experiencing same issue?

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

        @dev-cb said in Possible package configuration issue with bounce processing webhook endpoint:

        You might notice that I had to use the -k flag to ignore SSL issues since that was the first response without ignoring SSL issues

        I think you have to start here first. Are you able to visit Listmonnk on your browser without any certificate issue ? If so, curl https://sub.domain.tld should work. Does that work ?

        dev-cbD 1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          I somehow suspect the request is going to another app or something else. Listmonk doesn't use nginx, so I am not sure why you get a response from nginx...

          1 Reply Last reply
          0
          • girishG girish

            @dev-cb said in Possible package configuration issue with bounce processing webhook endpoint:

            You might notice that I had to use the -k flag to ignore SSL issues since that was the first response without ignoring SSL issues

            I think you have to start here first. Are you able to visit Listmonnk on your browser without any certificate issue ? If so, curl https://sub.domain.tld should work. Does that work ?

            dev-cbD Offline
            dev-cbD Offline
            dev-cb
            wrote on last edited by dev-cb
            #4

            @girish said in Possible package configuration issue with bounce processing webhook endpoint:

            If so, curl https://sub.domain.tld should work. Does that work ?

            Correct – works as expected.

            @girish said in Possible package configuration issue with bounce processing webhook endpoint:

            I somehow suspect the request is going to another app or something else. Listmonk doesn't use nginx, so I am not sure why you get a response from nginx...

            Nevermind. In the meantime, I found the issue.. Wrong TLD. 🦆

            1 Reply Last reply
            1
            • dev-cbD Offline
              dev-cbD Offline
              dev-cb
              wrote on last edited by
              #5

              Thank you! right hints 😉

              1 Reply Last reply
              0
              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