Personal tools
You are here: Home Documentation Error References Gaierror
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Gaierror

This Error Reference applies to: Any version.
This Error Reference is intended for: Any audience.

Gaierrors occur when the server network services are not correctly configured or when a firewall is blocking nameserver lookups.

Summary

Your server's domain name resolution (DNS lookup, name lookup) is not working correctly for some reason. Typically, this problem surfaces when sending mail from the Plone site, such as password recovery mails or new account registration mails.

What to do

Ask your system administrator to configure the network correctly. Note that this could also be due to a firewall blocking nameserver access from the host, in which case your network administrator would be the person to call.

Other indicators

  • If you receive this error, you will also see that commands that access the network given in a command shell, such as ping plone.org, also are failing.

Example error screenshot

Site error gaierror screenshot

Technical description

Quoted from the Python documentation:

exception gaierror
This exception is raised for address-related errors, for getaddrinfo() and getnameinfo(). The accompanying value is a pair (error, string) representing an error returned by a library call. string represents the description of error, as returned by the gai_strerror() C function. The error value will match one of the EAI_* constants defined in this module.
by Leonard Norrgard last modified January 6, 2006 - 16:33
Contributors: Leonard Norrgård
All content is copyright Plone Foundation and the individual contributors.

hostname not FQDN is possible cause, too.

Posted by Tom Lazar at September 27, 2006 - 15:07
One other possible cause for the abovementioned DNS-issues can be a improperly set hostname, i.e. if `hostname` returns just the name of the machine and not its FQDN you will experience this issue, too, so make sure your hostname is a FQDN!.

For example 'server1.domain.tld' instead of just 'server1'.

hth,

Tom

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by