Article ID: 129645, created on Oct 23, 2016, last review on Feb 24, 2017

  • Applies to:
  • Operations Automation

Symptoms

Attempt to import Exchange contacts via CSV fails with Service unavailable error:

Service Unavailable
The corresponding service is not available at the moment. Try again in 2-3 minutes.
For more information please contact your service provider.

Other time-consuming operations may fail with the similar error e.g. loading some APS2.0 pages.

The following message can be found in httpd error_log on the branding host:

[error] [client 192.168.0.1] (70007)The timeout specified has expired: proxy: error reading status line from remote server 10.1.2.3, referer: https://cp.hosting.domain.tld/servlet/Turbine/action/exchange.contacts.ContactsMultHandler/bw_id/cd31a728756c7c1f9f34a1151f57e30b/uai/4208.99037/
[error] [client 192.168.0.1] proxy: Error reading from remote server returned by /servlet/Turbine/action/exchange.bulk_import.ContactsImportWizardHandler/bw_id/cd31a728756c7c1f9f34a1151f57e30b/uai/4209.99051/, referer: https://cp.hosting.domain.tld/servlet/Turbine/action/exchange.contacts.ContactsMultHandler/bw_id/cd31a728756c7c1f9f34a1151f57e30b/uai/4208.99037/

Or the following could be observed in poa.log or core.log depending on OA version:

DBG [UI:473b269e:10101504:1487908022936 RequestProcessor-2285757 pau 500389092]: com.parallels.pa.service.db.ejb.DBServiceBean Could not acquire connection idorg.hibernate.exception.GenericJDBCException: Could not open connection
DBG [UI:473b269e:10101504:1487908022936 1:16453:ef4c3b90 Exchange ]: [ Exchange::MailBoxManagerImpl::importEntities] <=== EXIT (by exception) [300.222969]

Cause

Apache timeout set on the branding host is not enough to handle the import operation. Operation requires more time than default PAU transaction timeout (300 seconds).

Resolution

  1. check the timeout on the branding host:

    # less /etc/httpd/conf/httpd.conf  | grep -i '^timeout'
    Timeout 30
    
  2. if it is small as shown above, increase it:

    # less /etc/httpd/conf/httpd.conf  | grep -i '^timeout'
    Timeout 120
    

    and restart pemhttpd service on the branding host in case of Legacy Shared Hosting:

    # service pemhttpd restart
    

    or

    # service httpd restart
    

    in case of NG hosting.

  3. Consider splitting big list of emails into smaller ones and import them one by one.
  4. 4.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF