sendgrid / eventkit-rails

An open source project for integrating with SendGrid's Event Webhook.
Open Software License 3.0
53 stars 73 forks source link

Succesfully tried the integration tool just once #9

Closed jalagrange closed 9 years ago

jalagrange commented 9 years ago

I succesfully tested my sendgrid integration once during the setup of the app. However once I was logged in and everything was setup, I haven't been able to do a second successfull event notification test and keep getting a 401 from Sendgrid's Event Notification app settings.

UPDATE>>>>>>>>

My eventkit-rails app on Heroku is actually receiving all notifications however its not writing to the DB given it's returning a Completed 401 Unauthorized in 179ms

scottkawai commented 9 years ago

Hi there,

There is an existing problem with the "Test Your Integration" button and HTTP Basic Auth (see issue #3) that would result in 401 errors. Actual event POSTs, though, go through fine. Are your normal events showing up? If not, reach out to support at support.sendgrid.com so that they can take a look at your account.

jalagrange commented 9 years ago

Im looking at my eventkit log and sendgrid correctly sends the events to my app. However upon receiving it, my eventkit app returns a 401 and does not save anything in the DB

This is what the log says after a Notification is received:

Processing by ReceiverController#handle_post as HTML 2015-05-06T21:14:10.551634+00:00 app[web.1]: Filter chain halted as :header_check rendered or redirected 2015-05-06T21:14:10.551763+00:00 app[web.1]: Completed 401 Unauthorized in 109ms (ActiveRecord: 1.5ms)

scottkawai commented 9 years ago

Got it - shoot an email to support@sendgrid.com with your SendGrid account username so that we can take a look at a few things on the account.

jalagrange commented 9 years ago

Sure thing, il keep you updated

scottkawai commented 9 years ago

Looks like we got this sorted out in the ticket and was related to the "Test Your Integration" button (similar to issue #3).

ericpeters0n commented 8 years ago

@jalagrange @scottkawai What was the solution here, please? Seeing the same :header_check issue preventing Eventkit from recording events as sent from the Sendgrid Heroku add-on (not the "Test Integration" button)

hadifarnoud commented 7 years ago

please advice how to fix it