Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

tMicrosoftCRMInput timeout

Highlighted
Five Stars

tMicrosoftCRMInput timeout

Hello, I'm facing error in object tMicrosoftCRMInput:

httpclientexception:java.net.connectexception

It seems to be a connection timeout exactly after 1 hour, even if the object has a Timeout property set to a much higher value.

Is there someone who can help me?

Many thanks

Max

Highlighted
Moderator

Re: tMicrosoftCRMInput timeout

Hello,

We need more information to address your issue.

Could you please clarify in which Talend version/edition you are? How did you set your tMicrosoftCRMInput? There is an option "Reuse Http Client" in advanced setting which retain the current connection or clear it to release the connection.

Note: This property is not available for Microsoft CRM ON-PREMISE 2015.

Best regards

Sabrina

 
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Five Stars

Re: tMicrosoftCRMInput timeout

Hello Sabrina,
thanks for the answer, I'm using Talend 7.0.1 and Dynamics 365.

 

These are the option I've set:
Authentication Type = ONLINE
API Version = v2016
Registerer application type = Native App
Timeout: 14400
Reuse Http Client = YES
Max number of reconnection attempts = 100

 

I tried "Reuse Http Client = NO", it didn't work.

The error changes randomly:

1. java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.

2. org.apache.olingo.client.api.communication.ODataClientErrorExceptionSmiley Sad401) Unauthorized [HTTP/1.1 401 Unauthorized]

3. java.net.ConnectException: Connection timed out: connect

 

But always after 60 minutes.
Timeout is set properly.

 

Any ideas?

Thank you so much
Massimiliano

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog