<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304989#M76705</link>
    <description>Hi,
&lt;BR /&gt; 
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; Here I attached Document.PFA. I w?d be greatful for any help.</description>
    <pubDate>Fri, 30 Aug 2013 06:30:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-30T06:30:44Z</dc:date>
    <item>
      <title>[resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304983#M76699</link>
      <description>Hi all, 
&lt;BR /&gt;I am using Enterprise Data Integration 5.2.2.r99271. I am working locally on my Windows development PC. 
&lt;BR /&gt;I have a job (which works) and I am trying to add a tSendMail as the last step in the job flow. I am using my correct mail server and port (25) in the tSendMail component. I am able to ping/telnet to the SMTP server. 
&lt;BR /&gt;When I run my job in basic mode I get the following error and no email is sent: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT color="#FF0000"&gt;javax.mail.MessagingException: Could not connect to SMTP host: mailhost.points.com, port: 25;&lt;BR /&gt; nested exception is:&lt;BR /&gt; java.net.SocketException: Network is unreachable: connect&lt;BR /&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;When I run the SAME job in Java Debug mode, it works - no error and email is received! 
&lt;BR /&gt;I have closed and re-opened Talend Studio. I have deleted and re-created the tSendMail component. Same problem. 
&lt;BR /&gt;Does anyone have any suggestions for me? TIA 
&lt;BR /&gt;Sue 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB2U.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138546iD1E39CD3401946D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB2U.png" alt="0683p000009MB2U.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAVx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154187i2F0E956A27C3668B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAVx.png" alt="0683p000009MAVx.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8QG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137935i65A676B3812A2D87/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8QG.png" alt="0683p000009M8QG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304983#M76699</guid>
      <dc:creator>soowork</dc:creator>
      <dc:date>2024-11-16T11:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304984#M76700</link>
      <description>Hi 
&lt;BR /&gt;From the message printed on the console, I see the tSendMail component still works although there displays some error message, try the following two aspects for testing: 
&lt;BR /&gt;1. Check the 'die on error' option on tSendMail to see if the job stop and throw the java exception on tSendmail if it really has a network problem. 
&lt;BR /&gt;2. Download the latest version of TOS for DI and test again. 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Aug 2013 02:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304984#M76700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T02:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304985#M76701</link>
      <description>Hi,
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; Here I attached screen shots regarding this error. I w?d be greatful for any help.</description>
      <pubDate>Thu, 29 Aug 2013 09:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304985#M76701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304986#M76702</link>
      <description>Hi, 
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error. 
&lt;BR /&gt; 
&lt;BR /&gt; Here I attached screen shots regrading this error. I w?d be greatful for any help. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB2Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153052i3F3DBCD89906EF6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB2Z.png" alt="0683p000009MB2Z.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 29 Aug 2013 09:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304986#M76702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T09:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304987#M76703</link>
      <description>I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; 
&lt;BR /&gt; Here I attached screen shots regrading this error. I w?d be greatful for any help.</description>
      <pubDate>Thu, 29 Aug 2013 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304987#M76703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304988#M76704</link>
      <description>hi gowthami,&lt;BR /&gt;first , open your own post for your request.&lt;BR /&gt;second , your screenshot show us a error from Visual SVN not from Talend studio.&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Thu, 29 Aug 2013 09:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304988#M76704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T09:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304989#M76705</link>
      <description>Hi,
&lt;BR /&gt; 
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; Here I attached Document.PFA. I w?d be greatful for any help.</description>
      <pubDate>Fri, 30 Aug 2013 06:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304989#M76705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-30T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304990#M76706</link>
      <description>Hi,
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; Here I attached Document.PFA. I w?d be greatful for any help.</description>
      <pubDate>Fri, 30 Aug 2013 06:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304990#M76706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-30T06:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304991#M76707</link>
      <description>Hi,
&lt;BR /&gt; I creating some jobs in sand box project. But when iam updating , I got SVN update error.
&lt;BR /&gt; Here I attached Document.PFA. I w?d be greatful for any help.</description>
      <pubDate>Fri, 30 Aug 2013 07:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304991#M76707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-30T07:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304992#M76708</link>
      <description>@shong - what in the console makes you think that the tSendMail was successful? If it is my first image, it was because that *was* the success case (ie running in Debug mode works). When I run it in non-debug mode, it fails and does not send an email. 
&lt;BR /&gt;I did as you suggested and added the "Die on error" and got a more verbose error message. Does this help anyone understand why tSendMail works in debug mode and otherwise fails? (I have greyed out the output that is not relevant) 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starting job j_SVM_Flow at 16:13 06/09/2013.&lt;BR /&gt;&lt;BR /&gt; connecting to socket on port 3567&lt;BR /&gt; connected&lt;BR /&gt;&lt;FONT color="#C8C8C8"&gt;moment="2013-09-06 16:13:00", job="j_SVM_Flow", origin="tWarn_4", description="j_SVM_Flow -- initial context.SuccessFlag value = false"&lt;BR /&gt;moment="2013-09-06 16:13:00", job="j_SVM_Flow", origin="tWarn_4", description="j_SVM_Flow -- initial context.SuccessFlag value = false"&lt;BR /&gt;file downloaded successfully.&lt;BR /&gt;moment="2013-09-06 16:13:02", job="j_SVM_FTP", origin="tAssert_4", status="Ok", substatus="--", description="Number of SVM files downloaded from FTP is greater than 0"&lt;BR /&gt;4368|4368&lt;BR /&gt;moment="2013-09-06 16:13:02", job="j_SVM_FTP", origin="tAssert_3", status="Ok", substatus="--", description="Sum of the file sizes locally (in bytes) matches the sum of the file sizes on the FTP server"&lt;BR /&gt;moment="2013-09-06 16:13:02", job="j_SVM_FTP", origin="tWarn_3", description="WARNING - SVM Invoice file H:\DEVBI-3443\incoming\20130822_svm_invoice.csv already existed in directory File will be overwritten."&lt;BR /&gt;moment="2013-09-06 16:13:02", job="j_SVM_FTP", origin="tAssert_6", status="Ok", substatus="--", description="Successfully processed all received SVM files -- 1 file(s)"&lt;/FONT&gt;&lt;BR /&gt;Exception in component tSendMail_1&lt;BR /&gt;javax.mail.MessagingException: Could not connect to SMTP host: mailhost.points.com, port: 25;&lt;BR /&gt; nested exception is:&lt;BR /&gt; java.net.SocketException: Network is unreachable: connect&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:295)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:176)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:125)&lt;BR /&gt; at javax.mail.Transport.send0(Transport.java:194)&lt;BR /&gt; at javax.mail.Transport.send(Transport.java:124)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tSendMail_1Process(j_SVM_Flow.java:3811)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tLoop_1Process(j_SVM_Flow.java:3386)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tWarn_4Process(j_SVM_Flow.java:2515)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tJava_2Process(j_SVM_Flow.java:2411)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow$2.run(j_SVM_Flow.java:7230)&lt;BR /&gt;moment="2013-09-06 16:13:03", job="j_SVM_Flow", origin="", status="Failed", substatus="Job execution error", description="Could not connect to SMTP host: mailhost.points.com, port: 25"&lt;BR /&gt; disconnected&lt;BR /&gt;Caused by: java.net.SocketException: Network is unreachable: connect&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.connect0(Native Method)&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.PlainSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.SocksSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.Socket.connect(Unknown Source)&lt;BR /&gt; at java.net.Socket.connect(Unknown Source)&lt;BR /&gt; at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)&lt;BR /&gt; at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)&lt;BR /&gt; ... 11 more&lt;BR /&gt;Test Failed&lt;BR /&gt;javax.mail.MessagingException: Could not connect to SMTP host: mailhost.points.com, port: 25;&lt;BR /&gt; nested exception is:&lt;BR /&gt; java.net.SocketException: Network is unreachable: connect&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:295)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:176)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:125)&lt;BR /&gt; at javax.mail.Transport.send0(Transport.java:194)&lt;BR /&gt; at javax.mail.Transport.send(Transport.java:124)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tSendMail_1Process(j_SVM_Flow.java:3811)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tLoop_1Process(j_SVM_Flow.java:3386)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tWarn_4Process(j_SVM_Flow.java:2515)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow.tJava_2Process(j_SVM_Flow.java:2411)&lt;BR /&gt; at pdwserver_local_aug23.j_svm_flow_3_0.j_SVM_Flow$2.run(j_SVM_Flow.java:7230)&lt;BR /&gt;Caused by: java.net.SocketException: Network is unreachable: connect&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.connect0(Native Method)&lt;BR /&gt; at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)&lt;BR /&gt; at java.net.AbstractPlainSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.PlainSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.SocksSocketImpl.connect(Unknown Source)&lt;BR /&gt; at java.net.Socket.connect(Unknown Source)&lt;BR /&gt; at java.net.Socket.connect(Unknown Source)&lt;BR /&gt; at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)&lt;BR /&gt; at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)&lt;BR /&gt; ... 11 more&lt;BR /&gt;Job j_SVM_Flow ended at 16:13 06/09/2013. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 Sep 2013 21:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304992#M76708</guid>
      <dc:creator>soowork</dc:creator>
      <dc:date>2013-09-06T21:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304993#M76709</link>
      <description>OK, we found the issue - see 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqkiCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/tSendMail-and-Java-1-7/td-p/110957&lt;/A&gt; 
&lt;BR /&gt;When I downgraded to Java runtime 1.6 from 1.7, the problem was resolved.</description>
      <pubDate>Mon, 09 Sep 2013 18:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304993#M76709</guid>
      <dc:creator>soowork</dc:creator>
      <dc:date>2013-09-09T18:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] error with tSendMail (Network is unreachable) but works in debug mode!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304994#M76710</link>
      <description>Please reft to this two urls : 
&lt;A href="http://stackoverflow.com/questions/1406" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/1406&lt;/A&gt; ? tp-blocked
&lt;BR /&gt;
&lt;A href="https://jira.talendforge.org/browse/TDI-28962" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-28962&lt;/A&gt;</description>
      <pubDate>Thu, 20 Mar 2014 08:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-error-with-tSendMail-Network-is-unreachable-but-works/m-p/2304994#M76710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T08:13:03Z</dc:date>
    </item>
  </channel>
</rss>

