Hey thank you Mark, I will change the smtp_server to IP address and check if
the problem persists.
will keep you guys informed with the result.
Thanks for the hint again  :-)

Jason
On Tue, Sep 22, 2009 at 3:21 PM, Cooke, Mark <[email protected]> wrote:

>
> >
> > Now I'm focusing on the error "gaierror: (-2, 'Name or
> > service not known')" which come from the trac.log recently,
> > and I believe this is the root cause of my random email lost issue.
> > I tried http://trac.edgewall.org/ticket/8244 and then
> > http://trac.edgewall.org/changeset/1343, but there is not
> > much value informaition I need.
> >
> > Below are more detailed log:
> > ==============================================================
> > ===========================================
> > 2009-09-21 10:15:16,180 Trac[main] DEBUG: Dispatching
> > <Request "POST u'/ticket/80'">
> > 2009-09-21 10:15:16,225 Trac[web_ui] ERROR: Failure sending
> > notification on change to ticket #80: gaierror: (-2, 'Name or
> > service not known')
> > 2009-09-21 10:15:16,225 Trac[web_ui] DEBUG: Side effect for
> > ConfigurableTicketWorkflow
> > ==============================================================
> > ===========================================
> > 2009-09-21 11:56:12,674 Trac[web_ui] ERROR: Failure sending
> > notification on creation of ticket #92: gaierror: (-2, 'Name
> > or service not known')
> > 2009-09-21 11:56:12,680 Trac[main] DEBUG: Dispatching
> > <Request "GET u'/ticket/92'">
> > ==============================================================
> > ===========================================
> > gaierror: (-2, 'Name or service not known')
> > ==============================================================
> > ===========================================
> >
> > I suspect this is related to DNS, right? Please advise and
> > help, thanks all.
> >
> I did some googling and there seem to be a number of instances of
> gaierror (which was new to me) being generated from the python stdlib,
> all to do with name resolution.  Most seemed to say that using the IP
> address instead of the name was a workaround ~ could you try this?  I'm
> not sure which address is failing to resolve but if it is your smtp
> server, just stick the ip adress in the config file instead.
>
> ~ Mark C
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to