on 10-09-2015 2:37 PM
Hello Experts,
I followed blog series on building the iFlow (part 1 to 5). I am able to deploy the iFlow but dont get any email. When i look into message monitoring, i can see its status as FAILED.
Looking into logs (Properties>Log) gives me below info
Message Processing Log{
ContextName = WeatherReport_Oct
IntermediateError = true
MessageGuid = AFYXvbn8tVzDhu811HbtarWt3Evo
Node = vsa615192.od.sap.biz
OverallStatus = FAILED
StartTime = Fri Oct 09 13:14:33 UTC 2015
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Entering Camel route route18{
StartTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 created in Endpoint[quartz2://WeatherReportOctTimerEventDefinition11?fireNow=true&trigger.repeatCount=0&trigger.repeatInterval=0]{
StartTime = Fri Oct 09 13:14:33 UTC 2015
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 in direct://WeatherReport_Oct_TimerEventDefinition_1{
StartTime = Fri Oct 09 13:14:33 UTC 2015
StepId = to21
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 in removeHeaders[*]{
StartTime = Fri Oct 09 13:14:33 UTC 2015
StepId = removeHeaders10
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 in setHeader[CamelHttpMethod]{
StartTime = Fri Oct 09 13:14:33 UTC 2015
StepId = ServiceTask_1
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 in setHeader[CamelHttpQuery]{
StartTime = Fri Oct 09 13:14:33 UTC 2015
StepId = setHeader23
StopTime = Fri Oct 09 13:14:33 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 in ahc:http://api.openweathermap.org/data/2.5/weather?clientConfig=#clientConfig_Receiver_DownloadWeather&c...{
Error = org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking http://api.openweathermap.org/data/2.5/weather?q=chippenham%2CUK&mode=XML with statusCode: 401
Sent To URI = direct://WeatherReport_Oct_TimerEventDefinition_1
StartTime = Fri Oct 09 13:14:33 UTC 2015
StepId = to22
StopTime = Fri Oct 09 13:14:33 UTC 2015
Time Taken = 30
Children [
Exchange ID-vsa615192-od-sap-biz-40204-1444264582174-11-2 failed{
StartTime = Fri Oct 09 13:14:33 UTC 2015
Status = FAILED
Children [
Exiting Camel route route18{
StartTime = Fri Oct 09 13:14:33 UTC 2015
} ] } ] } ] } ] } ] } ] } ] } ] } ] }
Note: i have verified API call (http://api.openweathermap.org/data/2.5/weather?q=chippenham%2CUK&mode=XML) from this link
Also, i cant request tracing to be enabled on my tenant.
When i look into Web UI:
I am able to see info for one message flow channel but for other it shows nothing. Is it a strange behavior?
What went wrong?
Regards,
JK
Now new error:
Error = javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JK,
We just found that we need to signup to use this service.
After registration append the API key as given below it should work.
Regards, Midhun
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now i created a new iFlow project and chose below settings for HTTP channel
For 'Mail Channel' , address is smtp.gmail.com:587
(Credential Name-> i have got after creating and deploying a credential artifacts as mentioned here)
After deployment, i get different error:
StartTime = Mon Oct 12 10:27:35 UTC 2015
StepId = setBody7
StopTime = Mon Oct 12 10:27:35 UTC 2015
Children [
Processing exchange ID-vsa615192-od-sap-biz-40204-1444264582174-14-2 in ref:sender_mail1{
Error = com.sun.mail.smtp.SMTPSendFailedException: 530-5.5.1 Authentication Required. Learn more at
530 5.5.1 https://support.google.com/mail/answer/14257 ry1sm18978548wjb.24 - gsmtp
Sent To URI = direct://WR12Oct_TimerEventDefinition_1
StartTime = Mon Oct 12 10:27:35 UTC 2015
StepId = to32
StopTime = Mon Oct 12 10:27:35 UTC 2015
Time Taken = 570
Children [
Exchange ID-vsa615192-od-sap-biz-40204-1444264582174-14-2 failed{
StartTime = Mon Oct 12 10:27:35 UTC 2015
Status = FAILED
Is this something went wrong on gmail server to deliver a message?
Regards,
JK
Hi JK,
The service used is down. You may have to test this again later.
I have tried this tutorial today and it worked. But the sample APIs are not available now. You should be able to test it once it is up.
Regards, Midhun
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.