Error: Connection failed with Oauth2Couldn't connect to host

  • 7019243
  • 02-Sep-2015
  • 07-Aug-2017

Environment


Retain 3.x
GoogleApps Module

Situation


GoogleApp jobs are not able to dredge mail. Found warning in RetainWorker log:
2015-09-02 10:55:33,145 WARN [RTWQuartzScheduler_Archive_Worker-7] com.gwava.gdata.GoogleIMAP: Connection failed with Oauth2Couldn't connect to host, port: imap.gmail.com, 993; timeout -1

Resolution


Your firewall needs to have certain ports opened for Retain to connect to GoogleApps.

See: Ports Used by Retain

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2608.