Re: [Dhis2-devs] SMS Service Configuration Not Working on 2.27 & 2.28
Thanks Zubair, It is working fine now. On Mon, Oct 23, 2017 at 4:23 PM, Zubair Asghar Rajawrote: > Souravh, > > It has been fixed. Test it again. > > > Br, > Zubair > > On Sun, Oct 22, 2017 at 6:25 AM, Sourabh Bhardwaj > wrote: > >> Hi Zubair, >> >> Its a HTTP Gateway , it works if we call following API directly in the >> browser: >> >> http://api.sparrowsms.com/v2/sms/?token=###=###=###=test >> >> Following is the screenshot of Gateway configuration : >> >> [image: Inline image 2] >> Regards, >> >> On Sun, Oct 22, 2017 at 4:10 AM, Zubair Asghar Raja >> wrote: >> >>> Hi Sourabh, >>> Which type of sms gateway have you configured? >>> >>> BR // >>> Zubair >>> >>> >>> >>> >>> >>> >>> >>> >>> On Sat, Oct 21, 2017 at 6:15 PM, Sourabh Bhardwaj >> > wrote: >>> Hi All, I have setup a Sms Gateway. Gateway is configured successfully. But while sending a message through default send sms/ Sms widget available in Tracker Capture module it is getting failed each-time. However If I use same gateway on 2.26 , it is working fine there. Following is the response returned : *{"summaries":[{"total":1,"failed":1,"pending":0,"sent":0,"status":"FAILED","errorMessage":"failed","batchType":"SMS"}]} * On log getting error 403 forbidden : * INFO 2017-10-21 21:24:34,247 Response status code: 403 (SmsGateway.java [http-nio-8080-exec-7]) * ERROR 2017-10-21 21:24:34,249 failed (SmsMessageSender.java [http-nio-8080-exec-7]) * INFO 2017-10-21 21:28:51,252 Invoking message sender: SmsMessageSender (DefaultOutboundMessageBatchService.java [http-nio-8080-exec-4]) * ERROR 2017-10-21 21:28:51,665 Client error (SmsGateway.java [http-nio-8080-exec-4]) org.springframework.web.client.HttpClientErrorException: 403 FORBIDDEN at org.springframework.web.client.DefaultResponseErrorHandler.h andleError(DefaultResponseErrorHandler.java:63) at org.springframework.web.client.RestTemplate.handleResponse(R estTemplate.java:700) at org.springframework.web.client.RestTemplate.doExecute(RestTe mplate.java:653) at org.springframework.web.client.RestTemplate.execute(RestTemp late.java:613) at org.springframework.web.client.RestTemplate.exchange(RestTem plate.java:531) at org.hisp.dhis.sms.config.SmsGateway.send(SmsGateway.java:89) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.send(Simpl isticHttpGetGateWay.java:107) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.lambda$sen dBatch$0(SimplisticHttpGetGateWay.java:84) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel ine.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar rayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi peline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Reduc eOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline .java:499) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.sendBatch( SimplisticHttpGetGateWay.java:85) at org.hisp.dhis.sms.config.SmsMessageSender.sendMessageBatch(S msMessageSender.java:153) at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer vice.send(DefaultOutboundMessageBatchService.java:116) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel ine.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar rayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi peline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(For EachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequenti al(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline .java:418) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipel ine.java:270) at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap. java:1683) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi peline.java:471) at
Re: [Dhis2-devs] SMS Service Configuration Not Working on 2.27 & 2.28
Souravh, It has been fixed. Test it again. Br, Zubair On Sun, Oct 22, 2017 at 6:25 AM, Sourabh Bhardwajwrote: > Hi Zubair, > > Its a HTTP Gateway , it works if we call following API directly in the > browser: > > http://api.sparrowsms.com/v2/sms/?token=###=###=###=test > > Following is the screenshot of Gateway configuration : > > [image: Inline image 2] > Regards, > > On Sun, Oct 22, 2017 at 4:10 AM, Zubair Asghar Raja > wrote: > >> Hi Sourabh, >> Which type of sms gateway have you configured? >> >> BR // >> Zubair >> >> >> >> >> >> >> >> >> On Sat, Oct 21, 2017 at 6:15 PM, Sourabh Bhardwaj >> wrote: >> >>> Hi All, >>> >>> I have setup a Sms Gateway. Gateway is configured successfully. But >>> while sending a message through default send sms/ Sms widget available in >>> Tracker Capture module it is getting failed each-time. >>> >>> However If I use same gateway on 2.26 , it is working fine there. >>> >>> Following is the response returned : >>> >>> >>> *{"summaries":[{"total":1,"failed":1,"pending":0,"sent":0,"status":"FAILED","errorMessage":"failed","batchType":"SMS"}]} >>> * >>> >>> On log getting error 403 forbidden : >>> >>> >>> * INFO 2017-10-21 21:24:34,247 Response status code: 403 >>> (SmsGateway.java [http-nio-8080-exec-7]) >>> * ERROR 2017-10-21 21:24:34,249 failed (SmsMessageSender.java >>> [http-nio-8080-exec-7]) >>> * INFO 2017-10-21 21:28:51,252 Invoking message sender: >>> SmsMessageSender (DefaultOutboundMessageBatchService.java >>> [http-nio-8080-exec-4]) >>> * ERROR 2017-10-21 21:28:51,665 Client error (SmsGateway.java >>> [http-nio-8080-exec-4]) >>> org.springframework.web.client.HttpClientErrorException: 403 FORBIDDEN >>> at org.springframework.web.client.DefaultResponseErrorHandler.h >>> andleError(DefaultResponseErrorHandler.java:63) >>> at org.springframework.web.client.RestTemplate.handleResponse(R >>> estTemplate.java:700) >>> at org.springframework.web.client.RestTemplate.doExecute(RestTe >>> mplate.java:653) >>> at org.springframework.web.client.RestTemplate.execute(RestTemp >>> late.java:613) >>> at org.springframework.web.client.RestTemplate.exchange(RestTem >>> plate.java:531) >>> at org.hisp.dhis.sms.config.SmsGateway.send(SmsGateway.java:89) >>> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.send(Simpl >>> isticHttpGetGateWay.java:107) >>> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.lambda$sen >>> dBatch$0(SimplisticHttpGetGateWay.java:84) >>> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel >>> ine.java:193) >>> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar >>> rayList.java:1374) >>> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >>> java:481) >>> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >>> peline.java:471) >>> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Reduc >>> eOps.java:708) >>> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >>> java:234) >>> at java.util.stream.ReferencePipeline.collect(ReferencePipeline >>> .java:499) >>> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.sendBatch( >>> SimplisticHttpGetGateWay.java:85) >>> at org.hisp.dhis.sms.config.SmsMessageSender.sendMessageBatch(S >>> msMessageSender.java:153) >>> at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer >>> vice.send(DefaultOutboundMessageBatchService.java:116) >>> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel >>> ine.java:193) >>> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar >>> rayList.java:1374) >>> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >>> java:481) >>> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >>> peline.java:471) >>> at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(For >>> EachOps.java:151) >>> at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequenti >>> al(ForEachOps.java:174) >>> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >>> java:234) >>> at java.util.stream.ReferencePipeline.forEach(ReferencePipeline >>> .java:418) >>> at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipel >>> ine.java:270) >>> at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap. >>> java:1683) >>> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >>> java:481) >>> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >>> peline.java:471) >>> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Reduc >>> eOps.java:708) >>> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >>> java:234) >>> at java.util.stream.ReferencePipeline.collect(ReferencePipeline >>> .java:499) >>>
Re: [Dhis2-devs] SMS Service Configuration Not Working on 2.27 & 2.28
Hi Zubair, Its a HTTP Gateway , it works if we call following API directly in the browser: http://api.sparrowsms.com/v2/sms/?token=###=###=###=test Following is the screenshot of Gateway configuration : [image: Inline image 2] Regards, On Sun, Oct 22, 2017 at 4:10 AM, Zubair Asghar Rajawrote: > Hi Sourabh, > Which type of sms gateway have you configured? > > BR // > Zubair > > > > > > > > > On Sat, Oct 21, 2017 at 6:15 PM, Sourabh Bhardwaj > wrote: > >> Hi All, >> >> I have setup a Sms Gateway. Gateway is configured successfully. But while >> sending a message through default send sms/ Sms widget available in >> Tracker Capture module it is getting failed each-time. >> >> However If I use same gateway on 2.26 , it is working fine there. >> >> Following is the response returned : >> >> >> *{"summaries":[{"total":1,"failed":1,"pending":0,"sent":0,"status":"FAILED","errorMessage":"failed","batchType":"SMS"}]} >> * >> >> On log getting error 403 forbidden : >> >> >> * INFO 2017-10-21 21:24:34,247 Response status code: 403 >> (SmsGateway.java [http-nio-8080-exec-7]) >> * ERROR 2017-10-21 21:24:34,249 failed (SmsMessageSender.java >> [http-nio-8080-exec-7]) >> * INFO 2017-10-21 21:28:51,252 Invoking message sender: SmsMessageSender >> (DefaultOutboundMessageBatchService.java [http-nio-8080-exec-4]) >> * ERROR 2017-10-21 21:28:51,665 Client error (SmsGateway.java >> [http-nio-8080-exec-4]) >> org.springframework.web.client.HttpClientErrorException: 403 FORBIDDEN >> at org.springframework.web.client.DefaultResponseErrorHandler.h >> andleError(DefaultResponseErrorHandler.java:63) >> at org.springframework.web.client.RestTemplate.handleResponse(R >> estTemplate.java:700) >> at org.springframework.web.client.RestTemplate.doExecute(RestTe >> mplate.java:653) >> at org.springframework.web.client.RestTemplate.execute(RestTemp >> late.java:613) >> at org.springframework.web.client.RestTemplate.exchange(RestTem >> plate.java:531) >> at org.hisp.dhis.sms.config.SmsGateway.send(SmsGateway.java:89) >> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.send(Simpl >> isticHttpGetGateWay.java:107) >> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.lambda$sen >> dBatch$0(SimplisticHttpGetGateWay.java:84) >> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel >> ine.java:193) >> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar >> rayList.java:1374) >> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >> java:481) >> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >> peline.java:471) >> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Reduc >> eOps.java:708) >> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >> java:234) >> at java.util.stream.ReferencePipeline.collect(ReferencePipeline >> .java:499) >> at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.sendBatch( >> SimplisticHttpGetGateWay.java:85) >> at org.hisp.dhis.sms.config.SmsMessageSender.sendMessageBatch(S >> msMessageSender.java:153) >> at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer >> vice.send(DefaultOutboundMessageBatchService.java:116) >> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipel >> ine.java:193) >> at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Ar >> rayList.java:1374) >> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >> java:481) >> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >> peline.java:471) >> at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(For >> EachOps.java:151) >> at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequenti >> al(ForEachOps.java:174) >> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >> java:234) >> at java.util.stream.ReferencePipeline.forEach(ReferencePipeline >> .java:418) >> at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipel >> ine.java:270) >> at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap. >> java:1683) >> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline. >> java:481) >> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPi >> peline.java:471) >> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Reduc >> eOps.java:708) >> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline. >> java:234) >> at java.util.stream.ReferencePipeline.collect(ReferencePipeline >> .java:499) >> at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer >> vice.sendBatches(DefaultOutboundMessageBatchService.java:79) >> at org.hisp.dhis.program.message.DefaultProgramMessageService.s >> endMessages(DefaultProgramMessageService.java:209) >>
Re: [Dhis2-devs] SMS Service Configuration Not Working on 2.27 & 2.28
Hi Sourabh, Which type of sms gateway have you configured? BR // Zubair On Sat, Oct 21, 2017 at 6:15 PM, Sourabh Bhardwajwrote: > Hi All, > > I have setup a Sms Gateway. Gateway is configured successfully. But while > sending a message through default send sms/ Sms widget available in > Tracker Capture module it is getting failed each-time. > > However If I use same gateway on 2.26 , it is working fine there. > > Following is the response returned : > > > *{"summaries":[{"total":1,"failed":1,"pending":0,"sent":0,"status":"FAILED","errorMessage":"failed","batchType":"SMS"}]} > * > > On log getting error 403 forbidden : > > > * INFO 2017-10-21 21:24:34,247 Response status code: 403 (SmsGateway.java > [http-nio-8080-exec-7]) > * ERROR 2017-10-21 21:24:34,249 failed (SmsMessageSender.java > [http-nio-8080-exec-7]) > * INFO 2017-10-21 21:28:51,252 Invoking message sender: SmsMessageSender ( > DefaultOutboundMessageBatchService.java [http-nio-8080-exec-4]) > * ERROR 2017-10-21 21:28:51,665 Client error (SmsGateway.java > [http-nio-8080-exec-4]) > org.springframework.web.client.HttpClientErrorException: 403 FORBIDDEN > at org.springframework.web.client.DefaultResponseErrorHandler. > handleError(DefaultResponseErrorHandler.java:63) > at org.springframework.web.client.RestTemplate. > handleResponse(RestTemplate.java:700) > at org.springframework.web.client.RestTemplate.doExecute( > RestTemplate.java:653) > at org.springframework.web.client.RestTemplate.execute( > RestTemplate.java:613) > at org.springframework.web.client.RestTemplate.exchange( > RestTemplate.java:531) > at org.hisp.dhis.sms.config.SmsGateway.send(SmsGateway.java:89) > at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.send( > SimplisticHttpGetGateWay.java:107) > at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay. > lambda$sendBatch$0(SimplisticHttpGetGateWay.java:84) > at java.util.stream.ReferencePipeline$3$1.accept( > ReferencePipeline.java:193) > at java.util.ArrayList$ArrayListSpliterator. > forEachRemaining(ArrayList.java:1374) > at java.util.stream.AbstractPipeline.copyInto( > AbstractPipeline.java:481) > at java.util.stream.AbstractPipeline.wrapAndCopyInto( > AbstractPipeline.java:471) > at java.util.stream.ReduceOps$ReduceOp.evaluateSequential( > ReduceOps.java:708) > at java.util.stream.AbstractPipeline.evaluate( > AbstractPipeline.java:234) > at java.util.stream.ReferencePipeline.collect( > ReferencePipeline.java:499) > at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.sendBatch( > SimplisticHttpGetGateWay.java:85) > at org.hisp.dhis.sms.config.SmsMessageSender.sendMessageBatch( > SmsMessageSender.java:153) > at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer > vice.send(DefaultOutboundMessageBatchService.java:116) > at java.util.stream.ReferencePipeline$3$1.accept( > ReferencePipeline.java:193) > at java.util.ArrayList$ArrayListSpliterator. > forEachRemaining(ArrayList.java:1374) > at java.util.stream.AbstractPipeline.copyInto( > AbstractPipeline.java:481) > at java.util.stream.AbstractPipeline.wrapAndCopyInto( > AbstractPipeline.java:471) > at java.util.stream.ForEachOps$ForEachOp.evaluateSequential( > ForEachOps.java:151) > at java.util.stream.ForEachOps$ForEachOp$OfRef. > evaluateSequential(ForEachOps.java:174) > at java.util.stream.AbstractPipeline.evaluate( > AbstractPipeline.java:234) > at java.util.stream.ReferencePipeline.forEach( > ReferencePipeline.java:418) > at java.util.stream.ReferencePipeline$7$1.accept( > ReferencePipeline.java:270) > at java.util.HashMap$EntrySpliterator. > forEachRemaining(HashMap.java:1683) > at java.util.stream.AbstractPipeline.copyInto( > AbstractPipeline.java:481) > at java.util.stream.AbstractPipeline.wrapAndCopyInto( > AbstractPipeline.java:471) > at java.util.stream.ReduceOps$ReduceOp.evaluateSequential( > ReduceOps.java:708) > at java.util.stream.AbstractPipeline.evaluate( > AbstractPipeline.java:234) > at java.util.stream.ReferencePipeline.collect( > ReferencePipeline.java:499) > at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchSer > vice.sendBatches(DefaultOutboundMessageBatchService.java:79) > at org.hisp.dhis.program.message.DefaultProgramMessageService. > sendMessages(DefaultProgramMessageService.java:209) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at org.springframework.aop.support.AopUtils. > invokeJoinpointUsingReflection(AopUtils.java:333) >
[Dhis2-devs] SMS Service Configuration Not Working on 2.27 & 2.28
Hi All, I have setup a Sms Gateway. Gateway is configured successfully. But while sending a message through default send sms/ Sms widget available in Tracker Capture module it is getting failed each-time. However If I use same gateway on 2.26 , it is working fine there. Following is the response returned : *{"summaries":[{"total":1,"failed":1,"pending":0,"sent":0,"status":"FAILED","errorMessage":"failed","batchType":"SMS"}]} * On log getting error 403 forbidden : * INFO 2017-10-21 21:24:34,247 Response status code: 403 (SmsGateway.java [http-nio-8080-exec-7]) * ERROR 2017-10-21 21:24:34,249 failed (SmsMessageSender.java [http-nio-8080-exec-7]) * INFO 2017-10-21 21:28:51,252 Invoking message sender: SmsMessageSender (DefaultOutboundMessageBatchService.java [http-nio-8080-exec-4]) * ERROR 2017-10-21 21:28:51,665 Client error (SmsGateway.java [http-nio-8080-exec-4]) org.springframework.web.client.HttpClientErrorException: 403 FORBIDDEN at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:63) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613) at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:531) at org.hisp.dhis.sms.config.SmsGateway.send(SmsGateway.java:89) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.send(SimplisticHttpGetGateWay.java:107) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.lambda$sendBatch$0(SimplisticHttpGetGateWay.java:84) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.hisp.dhis.sms.config.SimplisticHttpGetGateWay.sendBatch(SimplisticHttpGetGateWay.java:85) at org.hisp.dhis.sms.config.SmsMessageSender.sendMessageBatch(SmsMessageSender.java:153) at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchService.send(DefaultOutboundMessageBatchService.java:116) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.hisp.dhis.outboundmessage.DefaultOutboundMessageBatchService.sendBatches(DefaultOutboundMessageBatchService.java:79) at org.hisp.dhis.program.message.DefaultProgramMessageService.sendMessages(DefaultProgramMessageService.java:209) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at