Search code examples
ruby-on-railsherokudevise

Errno::EAFNOSUPPORT (Address family not supported by protocol - socket(2)):


Errno::EAFNOSUPPORT (Address family not supported by protocol - socket(2)): 

Error message from Heroku, devise, sendgrid. Hoping someone can explain and help me fix.

And now its this:

Net::SMTPAuthenticationError (535 5.7.8 Error: authentication failed: authentication failure):

update

I answered my own question.


Solution

  • These errors were not very descriptive. In fact the problem was that sendgrid had not provisioned this account until several hours after it was created thus trying to use devise with sendgrid on heroku didn't work for quite some times. Took over night for me.

    Solution: Give it time :( not what you wanted to hear but its true :)