Hi, Did you try using IP address of the machine in stead of using localhost?
On Mon 17 Jun, 2019, 5:21 PM Afika Soyamba, <soyam...@gmail.com> wrote: > Hi Santosh > > How was this issue solve. I have setup Mifos and I am struggling with the > SMS gateway setup. > > > *http://localhost:9191/message-gateway-0.0.1/tenants/ > <http://www.google.com/url?q=http%3A%2F%2Fhostname%3A9191%2Ftenants%2F&sa=D&sntz=1&usg=AFQjCNEyQnDJywvvjtTu4kWVVjev5npa0g> > * > I get the following. > {"timestamp":1558660851456,"status":405,"error":"Method Not > Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request > method 'POST' not supported","path":"/message-gateway-0.0.1/tenants/"} > > Can you please assist me. > > Regards > Afika > > > > > > > On Tuesday, 11 September 2018 04:27:49 UTC+2, Santosh Math wrote: >> >> Hi Innocent, >> Let's take a call today on hangout. I will be online after 2 hours >> >> On Mon 10 Sep, 2018, 8:31 PM , <inno...@taatconsulting.com> wrote: >> >>> Hi Santosh >>> >>> am not able to configure using >>> *http://localhost:9191/message-gateway-0.0.1/tenants/ >>> <http://hostname:9191/tenants/> >>> or http://50.63.13.67:9191/message-gateway-0.0.1/tenants/ >>> <http://50.63.13.67:9191/message-gateway-0.0.1/tenants/> , *getting an >>> error: {"timestamp":1536591247480,"status":405,"error":"Method Not >>> Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request >>> method 'POST' not supported","path":"/message-gateway-0.0.1/tenants/"} >>> >>> >>> >>> however if i use : *http://50.63.13.67:9191/tenants/ >>> <http://50.63.13.67:9191/tenants/> *,in external Service will , if i >>> put end_point : message-gateway-0.0.1/ , will get an error when i Create >>> Campaign >>> >>> Regards >>> >>> Innocent Marozva >>> >>> >>> --------- Original Message --------- >>> Subject: Re: sms campaigns not picking sms provider >>> From: "Santosh Math" <san...@confluxtechnologies.com> >>> Date: 9/10/18 5:09 am >>> To: "Innocent Marozva" <inno...@taatconsulting.com> >>> Cc: "Mifos software development" <mifos-d...@lists.sourceforge.net>, >>> "mifos-users" <mifos...@lists.sourceforge.net> >>> >>> Keep host name as localhost as shown here. https://mobile.openmf.org >>> >>> On Mon 10 Sep, 2018, 4:40 PM Innocent Marozva, < >>> inno...@taatconsulting.com> wrote: >>> >>>> Hi Santosh >>>> >>>> >>>> >>>> Find attached file for external service config >>>> >>>> >>>> >>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for >>>> Windows 10 >>>> >>>> >>>> >>>> *From: *Santosh Math >>>> *Sent: *10 September 2018 12:53 >>>> *To: *inno...@taatconsulting.com >>>> *Cc: *Mifos software development; mifos-users >>>> *Subject: *Re: sms campaigns not picking sms provider >>>> >>>> >>>> >>>> Hi Innocent, >>>> >>>> Please share the external services configuration. >>>> >>>> >>>> >>>> On Mon 10 Sep, 2018, 1:57 PM , <inno...@taatconsulting.com> wrote: >>>> >>>> Hi Santosh >>>> >>>> >>>> >>>> 1. I used postman to send sms using the body request POST https:// >>>> 160.119.101.52:8445/message-gateway-0.0.1/sms >>>> >>>> >>>> >>>> [{ >>>> >>>> "internalId":"27", >>>> >>>> "mobileNumber":"263716634105", >>>> >>>> "message":"Hello from Fineract ", >>>> >>>> "providerId":"2" >>>> >>>> >>>> >>>> }] >>>> >>>> Messages was successful delivered to mobile >>>> >>>> >>>> >>>> 1. Am getting an error when I try to configure sms campaign see >>>> attached application.yml and >>>> 2. External Service Configuration >>>> >>>> Host_name : 160.119.101.52 >>>> >>>> Port_number :8445 >>>> >>>> End_point : /message-gateway-0.0.1 >>>> >>>> Tenant_app_key : F64255912F218293D6E5594E1DA76F8E >>>> >>>> >>>> >>>> Kindly assist >>>> >>>> >>>> >>>> Kind Regards >>>> >>>> >>>> >>>> Innocent Marozva >>>> >>>> +263716634105 >>>> >>>> >>>> >>> > On Tuesday, 11 September 2018 04:27:49 UTC+2, Santosh Math wrote: >> >> Hi Innocent, >> Let's take a call today on hangout. I will be online after 2 hours >> >> On Mon 10 Sep, 2018, 8:31 PM , <inno...@taatconsulting.com> wrote: >> >>> Hi Santosh >>> >>> am not able to configure using >>> *http://localhost:9191/message-gateway-0.0.1/tenants/ >>> <http://hostname:9191/tenants/> >>> or http://50.63.13.67:9191/message-gateway-0.0.1/tenants/ >>> <http://50.63.13.67:9191/message-gateway-0.0.1/tenants/> , *getting an >>> error: {"timestamp":1536591247480,"status":405,"error":"Method Not >>> Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request >>> method 'POST' not supported","path":"/message-gateway-0.0.1/tenants/"} >>> >>> >>> >>> however if i use : *http://50.63.13.67:9191/tenants/ >>> <http://50.63.13.67:9191/tenants/> *,in external Service will , if i >>> put end_point : message-gateway-0.0.1/ , will get an error when i Create >>> Campaign >>> >>> Regards >>> >>> Innocent Marozva >>> >>> >>> --------- Original Message --------- >>> Subject: Re: sms campaigns not picking sms provider >>> From: "Santosh Math" <san...@confluxtechnologies.com> >>> Date: 9/10/18 5:09 am >>> To: "Innocent Marozva" <inno...@taatconsulting.com> >>> Cc: "Mifos software development" <mifos-d...@lists.sourceforge.net>, >>> "mifos-users" <mifos...@lists.sourceforge.net> >>> >>> Keep host name as localhost as shown here. https://mobile.openmf.org >>> >>> On Mon 10 Sep, 2018, 4:40 PM Innocent Marozva, < >>> inno...@taatconsulting.com> wrote: >>> >>>> Hi Santosh >>>> >>>> >>>> >>>> Find attached file for external service config >>>> >>>> >>>> >>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for >>>> Windows 10 >>>> >>>> >>>> >>>> *From: *Santosh Math >>>> *Sent: *10 September 2018 12:53 >>>> *To: *inno...@taatconsulting.com >>>> *Cc: *Mifos software development; mifos-users >>>> *Subject: *Re: sms campaigns not picking sms provider >>>> >>>> >>>> >>>> Hi Innocent, >>>> >>>> Please share the external services configuration. >>>> >>>> >>>> >>>> On Mon 10 Sep, 2018, 1:57 PM , <inno...@taatconsulting.com> wrote: >>>> >>>> Hi Santosh >>>> >>>> >>>> >>>> 1. I used postman to send sms using the body request POST https:// >>>> 160.119.101.52:8445/message-gateway-0.0.1/sms >>>> >>>> >>>> >>>> [{ >>>> >>>> "internalId":"27", >>>> >>>> "mobileNumber":"263716634105", >>>> >>>> "message":"Hello from Fineract ", >>>> >>>> "providerId":"2" >>>> >>>> >>>> >>>> }] >>>> >>>> Messages was successful delivered to mobile >>>> >>>> >>>> >>>> 1. Am getting an error when I try to configure sms campaign see >>>> attached application.yml and >>>> 2. External Service Configuration >>>> >>>> Host_name : 160.119.101.52 >>>> >>>> Port_number :8445 >>>> >>>> End_point : /message-gateway-0.0.1 >>>> >>>> Tenant_app_key : F64255912F218293D6E5594E1DA76F8E >>>> >>>> >>>> >>>> Kindly assist >>>> >>>> >>>> >>>> Kind Regards >>>> >>>> >>>> >>>> Innocent Marozva >>>> >>>> +263716634105 >>>> >>>> >>>> >>> > On Tuesday, 11 September 2018 04:27:49 UTC+2, Santosh Math wrote: >> >> Hi Innocent, >> Let's take a call today on hangout. I will be online after 2 hours >> >> On Mon 10 Sep, 2018, 8:31 PM , <inno...@taatconsulting.com> wrote: >> >>> Hi Santosh >>> >>> am not able to configure using >>> *http://localhost:9191/message-gateway-0.0.1/tenants/ >>> <http://hostname:9191/tenants/> >>> or http://50.63.13.67:9191/message-gateway-0.0.1/tenants/ >>> <http://50.63.13.67:9191/message-gateway-0.0.1/tenants/> , *getting an >>> error: {"timestamp":1536591247480,"status":405,"error":"Method Not >>> Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request >>> method 'POST' not supported","path":"/message-gateway-0.0.1/tenants/"} >>> >>> >>> >>> however if i use : *http://50.63.13.67:9191/tenants/ >>> <http://50.63.13.67:9191/tenants/> *,in external Service will , if i >>> put end_point : message-gateway-0.0.1/ , will get an error when i Create >>> Campaign >>> >>> Regards >>> >>> Innocent Marozva >>> >>> >>> --------- Original Message --------- >>> Subject: Re: sms campaigns not picking sms provider >>> From: "Santosh Math" <san...@confluxtechnologies.com> >>> Date: 9/10/18 5:09 am >>> To: "Innocent Marozva" <inno...@taatconsulting.com> >>> Cc: "Mifos software development" <mifos-d...@lists.sourceforge.net>, >>> "mifos-users" <mifos...@lists.sourceforge.net> >>> >>> Keep host name as localhost as shown here. https://mobile.openmf.org >>> >>> On Mon 10 Sep, 2018, 4:40 PM Innocent Marozva, < >>> inno...@taatconsulting.com> wrote: >>> >>>> Hi Santosh >>>> >>>> >>>> >>>> Find attached file for external service config >>>> >>>> >>>> >>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for >>>> Windows 10 >>>> >>>> >>>> >>>> *From: *Santosh Math >>>> *Sent: *10 September 2018 12:53 >>>> *To: *inno...@taatconsulting.com >>>> *Cc: *Mifos software development; mifos-users >>>> *Subject: *Re: sms campaigns not picking sms provider >>>> >>>> >>>> >>>> Hi Innocent, >>>> >>>> Please share the external services configuration. >>>> >>>> >>>> >>>> On Mon 10 Sep, 2018, 1:57 PM , <inno...@taatconsulting.com> wrote: >>>> >>>> Hi Santosh >>>> >>>> >>>> >>>> 1. I used postman to send sms using the body request POST https:// >>>> 160.119.101.52:8445/message-gateway-0.0.1/sms >>>> >>>> >>>> >>>> [{ >>>> >>>> "internalId":"27", >>>> >>>> "mobileNumber":"263716634105", >>>> >>>> "message":"Hello from Fineract ", >>>> >>>> "providerId":"2" >>>> >>>> >>>> >>>> }] >>>> >>>> Messages was successful delivered to mobile >>>> >>>> >>>> >>>> 1. Am getting an error when I try to configure sms campaign see >>>> attached application.yml and >>>> 2. External Service Configuration >>>> >>>> Host_name : 160.119.101.52 >>>> >>>> Port_number :8445 >>>> >>>> End_point : /message-gateway-0.0.1 >>>> >>>> Tenant_app_key : F64255912F218293D6E5594E1DA76F8E >>>> >>>> >>>> >>>> Kindly assist >>>> >>>> >>>> >>>> Kind Regards >>>> >>>> >>>> >>>> Innocent Marozva >>>> >>>> +263716634105 >>>> >>>> >>>> >>> _______________________________________________ > Mifos-users mailing list > Mifos-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mifos-users >
_______________________________________________ Mifos-users mailing list Mifos-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-users