sendgrid / opensource

SendGrid Open Source Dashboard
http://github.com/sendgrid
MIT License
35 stars 13 forks source link

Inbound parse webhook url does not work #22

Open devpro9219 opened 3 years ago

devpro9219 commented 3 years ago

I've made the webhook URL to parse incoming email on localhost(Laravel project), and it works (it leaves some logs in the local file) after I register this URL(used the ngrok) in SendGrid inbound parse when sending email to registered domain email address. But after upload this project into the host(Siteground), and replace the inbound webhook URL with this host URL in SendGrid, it doesn't work (it doesn't write any logs in the local file). I've tested this live URL using curl post and postman, and this URL works well. I don't know why the SendGrid couldn't call this live URL when receiving the incoming email. Thank you.

oleksandrtaran commented 2 years ago

same for me. I have set up the inbound parse correctly (have an authorized domain, etc.). The hook works and delivers email messages to a URL generated via https://pipedream.com/ but when I use an endpoint of my app the hook doesn't deliver messages even to the load balancer. My endpoint works and is able to accept POST "form-data" requests. I tested it via Postman.

@devpro9219 @snowman0707 Could you find out what was an issue in your cases? Thank you in advance.

sharedphysics commented 1 year ago

@oleksandrtaran @snowman0707 @devpro9219 , I spent two weeks on what seems like this same issue and found one possible answer (that worked for me):

Problem:

Solution:

I used NGINX and CertBot. To update them:

I then sent another inbound parse to SenGrid and was able to confirm that it hit my site, was logged, and was processed.