Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Talend Version | All versions |
Summary |
|
Additional Versions | |
Product | Data Integration |
Component | Studio |
Problem Description | Running a Job in Studio with remote Target Exec shows the following refused connection:
[statistics]connecting to socket on port 3615 [statistics] connection refused ... Unable to connect to xx.xxx.xxx.x on port 3615
The IP address of the Studio machine is xx.xxx.xxx.x, which is assumed to be accessible from the JobServer machine. |
Problem root cause | Because you are running the Job with statistics enabled, Studio picks a random port in a configured range (in this case, 3615), and provides it to JobServer to use to send statistics to Studio. However, JobServer can't use this port because it is either not open or there is a security restriction on the JobServer machine. |
Solution or Workaround | Disable statistics by going to the Job Run tab > Advanced settings and clearing the Statistics check box.
Or if you need statistics, make sure the port picked up by Studio is open from your JobServer machine. These ports are from a range that you can configure in Studio by going to Preferences > Talend > Run/Debug > Stats port range. |
JIRA ticket number |
The remote engine also needs to be configured to enable this feature:
in org.talend.remote.jobserver.server.cfg set
# Enable the process message publisher or not. false by default
org.talend.remote.jobserver.server.TalendJobServer.ENABLED_PROCESS_MESSAGE=true
It is set to false by default
Hello @mbutry
Really thanks for your sharing your solution here and we will update it after making an investigation on this use case.
Best regards
Sabrina