keystonejs / keystone-classic

Node.js CMS and web app framework
http://v4.keystonejs.com
MIT License
14.64k stars 2.21k forks source link

Issue when integrated SendGrid as E-mail service #2395

Closed sagarrao closed 8 years ago

sagarrao commented 8 years ago

I tried to integrate sendgrid coz of the recent developments with Mandrill. But, my app(deployed on heroku) suffers wherein none of the css/js loads. The page renders but without any css applied. On my console I see logs like :

404 /{app-name|/js/lib/jqueryfileupload/vendor/jquery.ui.widget.js

So, on and so forth. Once I remove sendGrid and add Mandrill this works but I can't send emails coz I don't have a paid account. Some more logs from heroku:

2016-03-09T09:05:01.946249+00:00 app[web.1]: GET /keystone/signin 200 185.563 ms
2016-03-09T09:05:02.268157+00:00 heroku[router]: at=info method=GET path="/keystone/images/logo.png" host=qa-excelsior.herokuapp.com request_id=83d6d540-fb1e-4f9f-918c-3c45816c546e fwd="122.167.71.110" dyno=web.1 connect=0ms service=7ms status=302 bytes=350
2016-03-09T09:09:14.687106+00:00 heroku[router]: at=info method=GET path="/keystone/galleries" host=qa-excelsior.herokuapp.com request_id=918ed045-5570-4013-822f-a0b866fb4643 fwd="122.167.71.110" dyno=web.1 connect=1ms service=6ms status=302 bytes=401
2016-03-09T09:09:14.691188+00:00 app[web.1]: GET /keystone/galleries 302 2.218 ms
2016-03-09T09:09:15.063556+00:00 heroku[router]: at=info method=GET path="/keystone/signin?from=/keystone/galleries" host=qa-excelsior.herokuapp.com request_id=2af66129-7632-4ee5-8928-f839e6df2425 fwd="122.167.71.110" dyno=web.1 connect=2ms service=95ms status=200 bytes=1179
2016-03-09T09:09:15.067391+00:00 app[web.1]: GET /keystone/signin?from=/keystone/galleries 200 89.881 ms
2016-03-09T09:09:15.389656+00:00 heroku[router]: at=info method=GET path="/keystone/images/logo.png" host=qa-excelsior.herokuapp.com request_id=e13960f3-38d5-4417-b4a0-fa6c77066ee7 fwd="122.167.71.110" dyno=web.1 connect=1ms service=5ms status=302 bytes=350
2016-03-09T09:09:15.768296+00:00 heroku[router]: at=info method=GET path="/keystone/signin?from=/keystone/images/logo.png" host=qa-excelsior.herokuapp.com request_id=d3de73f4-daf7-4793-bc62-b67c7b1e4682 fwd="122.167.71.110" dyno=web.1 connect=2ms service=95ms status=200 bytes=1186.

Node version is 4.2.4...

mxstbr commented 8 years ago

This is not something we currently support, sorry. We'll look into supporting different/more providers after the v4 release, see #528 and #250!

Note: I think this might be a problem with your template, since the error message in the console is "/{app-name|..." this looks like a wrongly configured template and not related to sendgrid.

sagarrao commented 8 years ago

Actually, it was a case of node 5.7 being used when being deployed to heroku. I downgraded to v5.6 and things became normal again...