[resolved] tRestClient Connection refused

Highlighted
One Star

[resolved] tRestClient Connection refused

Hello,

I created a web service very simple et i deployed in talend runtime. When I call 5000 times this web service continuously, it crashes with the error : Connection refused. Do you have an idea?

Accepted Solutions
One Star

Re: [resolved] tRestClient Connection refused

I found the solution. If i put 'Connection: keep-alive' in the header of the http, there is no problem.

All Replies
Moderator

Re: [resolved] tRestClient Connection refused

Hi,
When I call 5000 times this web service continuously, it crashes with the error : Connection refused.

Did your web service job works well in studio? Is there any more error message about "Connection refused" issue in tesb.log when you call this webservice 5000 times?
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.
One Star

Re: [resolved] tRestClient Connection refused

check http://localhost:8040/services for real service URL location
One Star

Re: [resolved] tRestClient Connection refused

I found the solution. If i put 'Connection: keep-alive' in the header of the http, there is no problem.
Moderator

Re: [resolved] tRestClient Connection refused

Hi louislinlin,
Thanks for marking this topic as resolved and sharing your solution with us.
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.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read