osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Mifos-developer] Error in setting up Message gateway


Hi Santosh

 

Attached is my External Service configuration for one of my tenant, I cant seem to find where am wrong

 

Regards

From: Santosh Math <santosh@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: 09 August 2018 09:22
To: innocent@xxxxxxxxxxxxxxxxxx
Cc: Sifiso Mtetwa <sifiso@xxxxxxxxxxxxxxxxxx>; Mifos software development <mifos-developer@xxxxxxxxxxxxxxxxxxxxx>; Dev <dev@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Mifos-developer] Error in setting up Message gateway

 

Hi Innocent,

 

Message gateway server is running. Looks like platform server is not able  to connect message gateway server because 'External Service is not configured'. 

 

By the way , your  platform server is running locally? 

 

 

 

On Thu, Aug 9, 2018 at 12:42 PM, <innocent@xxxxxxxxxxxxxxxxxx> wrote:

Hi Santosh

 

Please find attached screen short for message gateway server running

 

e

 

Regards

 

From: Santosh Math <santosh@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: 08 August 2018 16:55
To: innocent@xxxxxxxxxxxxxxxxxx
Cc: Sifiso Mtetwa <sifiso@xxxxxxxxxxxxxxxxxx>; Mifos software development <mifos-developer@xxxxxxxxxxxxxxxxxxxxx>; Dev <dev@xxxxxxxxxxxxxxxxxxx>


Subject: Re: [Mifos-developer] Error in setting up Message gateway

 

Please share the screenshot of the message gateway server running.

 

On Wed 8 Aug, 2018, 8:24 PM Santosh Math, <santosh@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi Innocent, 

Are u sure message gateway server is running successfully?

 

On Wed 8 Aug, 2018, 6:53 PM , <innocent@xxxxxxxxxxxxxxxxxx> wrote:

Hi Santosh

 

I am having challenges with setting up message gateway on windows tomcat server.

When I try to create sms campaign am getting an error

 

 field is required

error.msg.unable.to.connect.to.intermediate.server

 

also the drop down for sms provider is not pick data in the database

kindly Assist

 

Regards

 

Innocent Marozva

 

 

From: sifiso@xxxxxxxxxxxxxxxxxx <sifiso@xxxxxxxxxxxxxxxxxx>
Sent: 08 August 2018 09:17
To: 'Mifos software development' <mifos-developer@xxxxxxxxxxxxxxxxxxxxx>
Cc: innocent@xxxxxxxxxxxxxxxxxx
Subject: RE: [Mifos-developer] Error in setting up Message gateway

 

Hi Innocent,

 

Checked your url and it is not loading. Please check that your ip address and portal are the correct ones used to access your tenants.

 

Sifiso

 

From: innocent@xxxxxxxxxxxxxxxxxx <innocent@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, August 8, 2018 9:08 AM
To: 'Mifos software development' <mifos-developer@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Mifos-developer] Error in setting up Message gateway

 

Hi @all

 

Could you please clarify on setting message gateway, am also facing some challenges in trying to get key using REST ,

 

Using url

 

My url: https://52.53.14.67:8445/tenants

Body content  : application/json; charset=UTF-8

Using POST method

Body :                                 {

"tenantId":"metcash",

"description": "SMS Campaign"

}

 

 

 

Error message

 

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

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

               at sun.security.ssl.Alerts.getSSLException(Unknown Source)

               at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)

               at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

               at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

               at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)

               at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)

               at sun.security.ssl.Handshaker.processLoop(Unknown Source)

               at sun.security.ssl.Handshaker.process_record(Unknown Source)

               at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

               at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

               at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

               at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

               at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)

               at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)

               at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)

               at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)

               at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)

               at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)

               at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)

               at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)

               at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)

               at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

               at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

               at org.wiztools.restclient.HTTPClientRequestExecuter.execute(HTTPClientRequestExecuter.java:391)

               at org.wiztools.restclient.ui.RESTViewImpl$3.run(RESTViewImpl.java:341)

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

               at sun.security.validator.PKIXValidator.doBuild(Unknown Source)

               at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)

               at sun.security.validator.Validator.validate(Unknown Source)

               at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)

               at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)

               at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

               ... 21 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

               at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)

               at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)

               at java.security.cert.CertPathBuilder.build(Unknown Source)

               ... 27 more

 

 

 

From: Santosh Math <santosh@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: 06 August 2018 14:53
To: Mifos software development <
mifos-developer@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Mifos-developer] Error in setting up Message gateway

 

Hi Deepak,

 

Twilio is trying to call(I mean while sending sms)  only valid IP address or valid domain name mapped to the IP address. Since, http://localhost:9191 is neither IP address ,nor domain name, it's throwing above error message. Could you try with system having domain name or IP address? 

 

 

On Mon, Aug 6, 2018 at 1:58 PM, Deepak Nesarikar via Mifos-developer <mifos-developer@xxxxxxxxxxxxxxxxxxxxx> wrote:

Waiting for your reply

 

Regards,

Deepak Nesarikar

+91-8668860988



-----Deepak Nesarikar/PUN/IN/STTL wrote: -----

To: mifos-developer@xxxxxxxxxxxxxxxxxxxxx
From: Deepak Nesarikar/PUN/IN/STTL
Date: 03/08/2018 06:38PM
Cc: Rutuja Kamble/PUN/IN/STTL@Softcell, Tanzeem Sayed/PUN/IN/STTL@Softcell
Subject: Error in setting up Message gateway

Dear Team,

 

We are getting error in setting up Message gateway. We are following the steps mentioned in the user manual. We are hitting the localhost:9191 using the REST client. PFA the screenshots ( 

 

Also we have configured the twilio credentials in the mifosx. After creating hook and trigerring it we, are getting below error. Please help. 

 

Regards,

Deepak Nesarikar

+91-8668860988



[attachment "apierror.png" removed by Deepak Nesarikar/PUN/IN/STTL]
[attachment "apierror1.png" removed by Deepak Nesarikar/PUN/IN/STTL]
[attachment "tomcatlog.png" removed by Deepak Nesarikar/PUN/IN/STTL]


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Mifos-developer mailing list
mifos-developer@xxxxxxxxxxxxxxxxxxxxx
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer



 

--

Thanks & Regards

Santosh Math

QA Engineer

Conflux Technologies Pvt Ltd

Office: +91-080-41208662 | 

Address: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043 INDIA



 

--

Thanks & Regards

Santosh Math

QA Engineer

Conflux Technologies Pvt Ltd

Office: +91-080-41208662 | 

Address: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block, Bengaluru, Karnataka, 560043 INDIA