My Oracle Support Banner

Error Connecting to Office365 using Exchange Web Services in Import Processor Job "The request failed. The request failed. Connect to outlook.office365.com:443", "Connection timed out: connect" (Doc ID 2716408.1)

Last updated on OCTOBER 02, 2020

Applies to:

Oracle WebCenter Enterprise Capture - Version 12.2.1.3.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Unable to connect to Microsoft mailbox through Exchange Web Services (EWS)  in Oracle WebCenter Enterprise Capture 12.2.1.3 with <Patch:31458724> using an Import Processor Email Provider job. Attempting to connect to address:

https://outlook.office365.com/ews/exchange.asmx

The outlook cert has already been installed in the JDK cacerts store and the credentials provided in the job are correct.  The error returned in the capture managed server log reads as:

[2020-08-28T15:20:58.271+00:00] [capdev_1] [ERROR] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: af6c8c0a-8d00-463f-9156-1ff16419880f-0000012b,1:28] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error connecting to account[[

oracle.odc.exception.CaptureException: Error connecting to account

at oracle.odc.importprocessor.email.ExchangeEmailSource.processAccount(ExchangeEmailSource.java:294)

at oracle.odc.importprocessor.email.ExchangeEmailSource.processExchange(ExchangeEmailSource.java:188)

at oracle.odc.importprocessor.email.EmailSource.process(EmailSource.java:1368)

...

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

Caused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. Connect to outlook.office365.com:443 [outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>] failed: Connection timed out: connect

at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74)

at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)

...

at microsoft.exchange.webservices.data.core.service.folder.Folder.bind(Folder.java:147)

at oracle.odc.importprocessor.email.ExchangeEmailSource.processAccount(ExchangeEmailSource.java:289)

... 54 more

Caused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. Connect to outlook.office365.com:443 [outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>] failed: Connection timed out: connect

at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:729)

at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:639)

at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)

... 60 more

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to outlook.office365.com:443 [outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>, outlook.office365.com/<IP Address>] failed: Connection timed out: connect

at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158)

at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338)

...

at microsoft.exchange.webservices.data.core.request.HttpClientWebRequest.executeRequest(HttpClientWebRequest.java:292)

at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:720)

... 62 more

Caused by: java.net.ConnectException: Connection timed out: connect

at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)

...

at java.net.Socket.connect(Socket.java:606)

at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337)

at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)

... 72 more

]]

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.