SocketError (getaddrinfo: nodename nor servname provided, or not known):

568 views
Skip to first unread message

"Wolas!"

unread,
Apr 27, 2011, 11:26:43 AM4/27/11
to Capistrano
Hey guys,

My problem is that i get this error (SocketError (getaddrinfo:
nodename nor servname provided, or not known)) when i send email
through my rails app: Rails 3, Thin, Capistrano of course, OSX Snow
Leopard.

I have looked everywhere for a solution to this and found it in less
than 5 minutes. The problem apparently is that the ssh session that
started the thin servers is closed and so, Rails for some obscure
reason, pops this message. If i log into the server and restart my
servers manually (thin restart -C config/thin.yml) everything works
fine from there on.

Because capistrano always restarts the servers with a ssh session
which is always closed, this problem is persistent. Someone has any
ideas?

Mucha appreciate it

Lee Hambley

unread,
Apr 27, 2011, 12:48:46 PM4/27/11
to capis...@googlegroups.com
I'm sorry, but the way thin handles sockets is not connected to capistrano, I don't think - but please post back with more details.


--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en

Reply all
Reply to author
Forward
0 new messages