Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8C6FD848 for ; Tue, 18 Dec 2012 09:40:14 +0000 (UTC) Received: (qmail 35314 invoked by uid 500); 18 Dec 2012 09:40:14 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 35207 invoked by uid 500); 18 Dec 2012 09:40:12 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 35137 invoked by uid 99); 18 Dec 2012 09:40:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 09:40:09 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of beanslee2007@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 09:40:04 +0000 Received: by mail-pb0-f43.google.com with SMTP id um15so301914pbc.30 for ; Tue, 18 Dec 2012 01:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7yzhUlc/aQMs3X7UjEYlMPNUwU7Ai1VbWvX5yiCcGrA=; b=BE/zBi+wuysTTSDwwoCMVYnIGhxfoF5SO+LuVVfSte4jCTxF1WmfUzR/MWd3lHY7Ko dqYY2zeyKUPZEDdtfJtT4lOsKZvnD0IAzC1guaegCazlM1pX+QvLjgJfokyn3FyuxHsH /n9w+vZYNRTGwzEBdvr5JMaV4DN5xJajeloQ7w97ShKu2sF6BWGVehNKUpK78U69VUYj 2IsakxMX8hIWpeTIyf1z4vQsih7sMvfUAnT1e+qmFkucoQSiwOfjbLjcBOF5owu8cwr1 kNTaI5YQnx6XaR0lZM7Q/O3PFTVieBtHidqgHhWtykgONvonkSh+xX6oWhh8RX/YxmEU jf8w== MIME-Version: 1.0 Received: by 10.68.209.133 with SMTP id mm5mr5084796pbc.42.1355823584578; Tue, 18 Dec 2012 01:39:44 -0800 (PST) Received: by 10.68.5.170 with HTTP; Tue, 18 Dec 2012 01:39:44 -0800 (PST) Date: Tue, 18 Dec 2012 17:39:44 +0800 Message-ID: Subject: cloudstack 4.0 mail alert always fail From: beans lee To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b10cf93230e7a04d11d471f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b10cf93230e7a04d11d471f Content-Type: text/plain; charset=ISO-8859-1 hi, i set the Global ConfigurationParameters in this(the smtp server is on the internet,like gmail ... ): alert.email.addresses yyy@xxx.com alert.email.sender xxx@xxx.com alert.smtp.host Smtp.xxx.com alert.smtp.password xxxx alert.smtp.port 25 alert.smtp.useAuth True alert.smtp.username xxx and when i have restarted the manage server ,but int the server log can found below errors: 2012-12-18 15:44:03,899 ERROR [cloud.alert.AlertManagerImpl] (Cluster-Notification-1:null) Problem sending email alert javax.mail.MessagingException: Exception reading response; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:275) at javax.mail.Service.connect(Service.java:156) at javax.mail.Service.connect(Service.java:105) at com.cloud.alert.AlertManagerImpl$EmailAlert.sendAlert(AlertManagerImpl.java:790) at com.cloud.alert.AlertManagerImpl.sendAlert(AlertManagerImpl.java:268) at com.cloud.alert.ClusterAlertAdapter.onClusterNodeJoined(ClusterAlertAdapter.java:73) at com.cloud.alert.ClusterAlertAdapter.onClusterAlert(ClusterAlertAdapter.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.cloud.utils.events.SubscriptionMgr$SubscriberInfo.execute(SubscriptionMgr.java:147) at com.cloud.utils.events.SubscriptionMgr.notifySubscribers(SubscriptionMgr.java:77) at com.cloud.cluster.ClusterManagerImpl.notifyNodeJoined(ClusterManagerImpl.java:633) at com.cloud.cluster.ClusterManagerImpl$5.run(ClusterManagerImpl.java:854) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:542) at sun.security.ssl.InputRecord.read(InputRecord.java:374) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:850) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1190) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:805) at sun.security.ssl.AppInputStream.read(AppInputStream.java:94) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440) ... 23 more can anybody help me? thanks!!! --047d7b10cf93230e7a04d11d471f--