Giter Club home page Giter Club logo

eventkit-rails's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eventkit-rails's Issues

Error while deploying on Heroku

Hi,

When deploying on heroku I got the follow error.

-----> Ruby app detected
-----> Compiling Ruby/Rails
!
! An error occurred while installing ruby-2.1.3
!
! Heroku recommends you use the latest supported Ruby version listed here:
! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
!
! For more information on syntax for declaring a Ruby version see:
! https://devcenter.heroku.com/articles/ruby-versions
!
! Note: Only the most recent version of Ruby 2.1 is supported on Cedar-14
!
! Debug InformationCommand: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.1.3.tgz -s -o - | tar zxf - ' failed unexpectedly:
!
! gzip: stdin: unexpected end of file
! tar: Child returned status 1
! tar: Error is not recoverable: exiting now
!
! Push rejected, failed to compile Ruby app.
! Push failed

Any ideas on the solution?

Thank you.

doesn't receive any event

deployed this recently. When I try to test it, no event is showing up on the site kamva-sendgrid.herokuapp.com

No events are posted

Good day,

I am no expert at this so please bare with me. I manage to deploy the app to heroku and find the logs for the app created and this is what I see:

2015-12-16T18:27:33.727360+00:00 heroku[router]: at=info method=POST path="/ " host=eventreporting.herokuapp.com request_id=105cc41b-bf3b-4138-86e1-4cda3ed6e4a2 fwd="167.89.121.251" dyno=web.1 connect=1ms service=2ms status=400 bytes=28

When I go to sendgrid to send a test post I get:

2015-12-16T18:27:33.736266+00:00 app[web.1]: Started POST "/%0A%0A%0A" for 167.89.125.224 at 2015-12-16 18:27:33 +0000
2015-12-16T18:27:33.739092+00:00 app[web.1]:
2015-12-16T18:27:33.739094+00:00 app[web.1]: ActionController::RoutingError (No route matches [POST] "/%0A%0A%0A"):
2015-12-16T18:27:33.739096+00:00 app[web.1]: vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.8/lib/action_dispatch/middle
ware/debug_exceptions.rb:21:in `call'

Any help would be greatly appreciated. Thanks.

Event API fails to search on type_id

When doing a search from ember on the type column I'm getting the following exception.

App 14766 stdout: Processing by Api::V1::EventsController#index as JSON
App 14766 stdout:   Parameters: {"descending"=>"1", "detailed"=>"{\"type\":[\"\\\"bounced\\\"\"]}", "like"=>"true", "limit"=>"10", "offset"=>"0", "sortby"=>"timestamp"}
App 14766 stdout: PG::UndefinedColumn: ERROR:  column "type" does not exist
App 14766 stdout: LINE 1: SELECT COUNT(*) FROM "events"  WHERE ("type" LIKE '%"bounced...
App 14766 stdout:                                               ^
App 14766 stdout: : SELECT COUNT(*) FROM "events"  WHERE ("type" LIKE '%"bounced"%')
App 14766 stdout: Completed 500 Internal Server Error in 2ms
App 14766 stdout: 
App 14766 stdout: ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR:  column "type" does not exist
App 14766 stdout: LINE 1: SELECT COUNT(*) FROM "events"  WHERE ("type" LIKE '%"bounced...
App 14766 stdout:                                               ^
App 14766 stdout: : SELECT COUNT(*) FROM "events"  WHERE ("type" LIKE '%"bounced"%')):
App 14766 stdout:   app/controllers/api/v1/events_controller.rb:61:in `index'

The request is searching on the type column rather than the type_id column.

I can see there is a conditions in the receiver for renaming this key when coming back from sendgrid. Looks like the events_controller can be safely corrected to accept type_id

Events not showing up in heroku

Can't pull up the email events in heroku from the campaigns i sent March 28, 2018. When will those be reflected in heroku? I need to access those ASAP
capture789

How to delete events on demand?

Hi. I'm constantly hitting the Heroku free db limits before the 1 month minimum auto delete is up.
Once I've downloaded the data to CSV files, I would like to be able to blank the databases to continue getting new data. Is there any way to do this on demand?

Download result as CSV fails

Hi,

While downloading events from eventkit, we are facing error. This happens only while downloading 'open' type of events, for other types we are able to download successfully.
The error text as follows: Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

Can you please have a look at this issue?

Thanks!!

Receive 403 Forbidden

Just installed to Heroku.

I have entered correct url in SendGrid settings (url includes username/password => works fine to log in to browser), However no events are logged when I click on "Test your integration".

Heroku log shows:

2016-06-22T00:19:49.857925+00:00 app[web.1]: Started POST "/" for 167.89.125.229 at 2016-06-22 00:19:49 +0000

2016-06-22T00:19:49.861072+00:00 app[web.1]: Processing by ReceiverController#handle_post as HTML

2016-06-22T00:19:49.861484+00:00 app[web.1]: Parameters: {"_json"=>[{"email"=>"[email protected]",
... removed...
"url"=>"http://www.sendgrid.com/", "asm_group_id"=>10}]}}

2016-06-22T00:19:49.862537+00:00 app[web.1]: Filter chain halted as :header_check rendered or redirected

2016-06-22T00:19:49.862669+00:00 app[web.1]: Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)

Heroku Install Not Receiving Events

Deployed Event Kit Rails via the Heroku button. I didn't touch a line of code.
Install went quick and smooth. The result was the setup GUI webpage. I completed the set up and my information was correctly saved. Next stop: Authentication, followed by the main page GUI which displays the latest collected events.

Problem: It never registered any events. I used the testing function from SendGrid's back-end and it returned 401 errors, but I verified the credentials.

I contacted SendGrid support. They verified that 401 errors were not occurring, although they were being displayed. They claim that 500 errors were the errors which were actually occurring.

One of the guys from support tried to quickly execute a Heroku deployment and he was able to duplicate the errors.

In short, the Rails Event Kit is not registering events when deployed via Heroku.

events separated by users

HI,

This is working perfectly , however if you have multiple sub-accounts and you want to have the events delivered separately on my heroku account.
I would like to see the events for each user .

This can be achieved in any way ?

I created new users in heroku and used different notification urls for each subusers .. however they all are gathered in the same account and I cannot see how I can see only the event for a specified user.

In the filtering search field I cannot find this

lost log/pass

Is it possible to retrieve login and password somehow, didn't used an ap for a while and forgot it?

Deploy error on heroku

-----> Ruby app detected
-----> Installing bundler 1.17.3
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
!
! The Ruby version you are trying to install does not exist on this stack.
!
! You are trying to install ruby-2.2.4 on heroku-18.
!
! Ruby ruby-2.2.4 is present on the following stacks:
!
! - cedar-14
! - heroku-16
!
! Heroku recommends you use the latest supported Ruby version listed here:
! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
!
! For more information on syntax for declaring a Ruby version see:
! https://devcenter.heroku.com/articles/ruby-versions
!
! Push rejected, failed to compile Ruby app.
! Push failed

I have managed to change the stack, but only from a previously created app, but I can't find doing it with an app with auto deploy. Help please, I need an effective and easy way to manage sendgrid feedback.

Succesfully tried the integration tool just once

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

[Webhook] Resend events

Hello, it would be great to add a feature that allows me to resend some events that might have failed/rejected on my "webhook receiver" endpoint.

Error while downloading CSV file

Hi,

We have setup the event notification using Heroku and we receive all the notifications there but while downloading the csv file we are facing issue. We have been using it for last 3 months and this is never happened before. Using detailed search we search for some event type and it is downloading csv for all types except 'Open'. It is throwing below error.

Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

Now, I am not sure where to look for the logs. Can you please help us resolving the issue as quickly as possible.

Thanks,
Hemant
sendgrid error

Deployment to heroku not working

Here is the message received when trying to deploy to heroku 18:

-----> Ruby app detected
-----> Compiling Ruby/Rails
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
       Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
 !
 !     An error occurred while installing ruby-2.2.4
 !     
 !     This version of Ruby is not available on Heroku-18. The minimum supported version
 !     of Ruby on the Heroku-18 stack can found at:
 !     
 !     https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Events not showing on heroku app

Hello,

I am using the eventkit-rails heroku app to track the events of the sendgrid. Earlier we were using Reflector.io app to send the data to our site and the Heroku app. But as Reflector.io app is down most of the time. So we are now sending the Webhook data to the heroku app Url by curl post request through our custom link. But still the events are not shown in the app. We have checked the log file of the heroku app and can see the data flow in it. But it doesn't show in the app.

We send the data to the heropku app in the same json format that is sent by the send grid webhook.

Is their any specific format of the data that is tracked by the heroku app?

Or is their any other way also to send the data to the app?

You can check the screen shots of the log file

https://prnt.sc/hd5vqb
https://prnt.sc/hd5vtn

Thanks

Can't access to GUI

Hi

I deployed EventKit on a Heroku account. The events are saved correctly on the database but the GUI always show an error when trying to access it.

image

Any idea why is this happening?

Request timeout issue on Heroku

Hi,

In the last couple days I started receiving this errors from our Heroku app account.

2016-01-15T16:13:56.982182+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/" host=sendgridwebhooks.herokuapp.com request_id=7c9ad137-4e08-4089-8d50-f09d8b7654ab fwd="167.89.121.247" dyno=web.1 connect=2ms service=30000ms status=503 bytes=0

This causes my Heroku app dashboard to crash and not be available for accessing on web.

I mention that I'm not on the free Heroku account .. i have a paid DB in order to increase my storage space and also professional Dyno's for better results.

Can anyone shed some light into this issue?

The Heroku support has give me this response and they advised my to open a issue report here

Our router will drop a long-running request after 30 seconds and throw an H12 error but the dyno behind it will continue processing the request until it is completed. This means that the specific web server process that is processing the longer-running request will not be available to handle new requests until the request it is currently processing is completed. If this happens to a few of your Unicorn workers inside of the same dyno you can start queueing requests at the dyno-level. This effect tends to compound, and you'll see request queueing in New Relic and eventually H12 errors, even for unrelated (normally fast) URLs, such as static assets.

Deploy to Heroku not working

I can't deploy the file on heroku is there any way to fix this?

-----> Ruby app detected
-----> Compiling Ruby/Rails
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
!
! An error occurred while installing ruby-2.2.4
!
! This version of Ruby is not available on Heroku-18. The minimum supported version
! of Ruby on the Heroku-18 stack can found at:
!
! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
!
! Push rejected, failed to compile Ruby app.
! Push failed

Deployment to Hiroku failed

How do we overcome the problem below if we are novices? Thanks.

-----> Ruby app detected
-----> Installing bundler 1.17.3
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-18/ruby-2.2.4.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
!
! The Ruby version you are trying to install does not exist on this stack.
!
! You are trying to install ruby-2.2.4 on heroku-18.
!
! Ruby ruby-2.2.4 is present on the following stacks:
!
! - cedar-14
! - heroku-16
!
! Heroku recommends you use the latest supported Ruby version listed here:
! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
!
! For more information on syntax for declaring a Ruby version see:
! https://devcenter.heroku.com/articles/ruby-versions
!
! Push rejected, failed to compile Ruby app.
! Push failed

The URL could not be found (401)

I followed the setup steps after "deploy to Heroku" button. It told me to put this url into the configured Event notification app:
http://postuser:[email protected]/

When doing "Test Your Integration" in SendGrid, I get:
"The URL could not be found (401)"

The instructions were pretty simple. Any idea what I could be going wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.