The key error is here:
Temporary failure in name resolution
The fact it was working fine and no code changes aslomg with this error. Its either a network or DNS issue. Specifically that name is saying it can't resolve the domain name either because of issues with DNS directly or a potential network problem.