You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Eugene Adjei-Djan <ea...@gmail.com> on 2020/03/29 07:52:12 UTC

Can long in community app

I forked the community app and run it, meanwhile i cant log in when
baseApiUrl is set to my local fineract installation or to demo.mifos.io
I get error 401 using credential mifos / password

Thanks

Re: Can long in community app

Posted by Vishwas Babu <vi...@gmail.com>.
Guys,

Please ensure that your fineract platform is up and running before
connecting with the community app.

Instructions for setting up and verifying the installation by using the
code from the develop branch or
https://github.com/apache/fineract/tree/1.3.1 (1.3.1) follow :

1) Ensure the requisite software is set up as described in
https://github.com/apache/fineract#requirements
Please ensure that your MySQL credentials match those listed at
https://github.com/apache/fineract/blob/develop/fineract-provider/build.gradle#L141


2) Start the fineract platform by running the 3 commands listed at
https://github.com/apache/fineract#instructions-how-to-run-for-local-development
 .

3) Try running
https://localhost:8443/fineract-provider/api/v1/clients?tenantIdentifier=default
on
your browser (with credentials mifos/password).
At this step, you might have to accept the validity of the locally signed
certificate.

If you are not able to get a 200 OK, there is an issue with your Fineract
installation. Please share the log file at server startup and we can help.

Following this, you should be able to log in from the community app as well.

@scott: Tomcat might be logging the port it is listening to as 8080.
However, tomcat would only be listening on https://localhost:8443
(irrespective of which instructions you followed)

Regards,
Vishwas


On Sun, 29 Mar 2020 at 09:55, Eugene Adjei-Djan <ea...@gmail.com>
wrote:

> Thanks Percy, will try and give you feedback
>
> On Sun, Mar 29, 2020 at 12:54 PM Percy Enoabane <pe...@gmail.com>
> wrote:
>
>> Eugene I am running one I forked from fineract github repo
>> <https://github.com/apache/fineract> .Maybe your branch is behind.
>>
>> On Sun, Mar 29, 2020 at 5:45 PM Eugene Adjei-Djan <ea...@gmail.com>
>> wrote:
>>
>>> Hi Percy which version of the api are I running? I’m running the one I
>>> downloaded from the website and the community app is the one I forked from
>>> github. Tried severally and can’t log in
>>>
>>> On Sun, Mar 29, 2020 at 12:42 PM Scott Dunbar <sc...@xigole.com.invalid>
>>> wrote:
>>>
>>>> Thanks Percy - I'm missing where it shows you how to run a local
>>>> Fineract platform.  The readme's are all a mess and they all say to use
>>>> https but nothing actually works.  I'll keep digging - thanks for another
>>>> pointer.
>>>>
>>>> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <
>>>> percyayukashu@gmail.com> wrote:
>>>>
>>>>> I run according to ReadMe and then follow the steps using postman as
>>>>> shown here
>>>>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>>>>> .
>>>>>
>>>>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
>>>>> wrote:
>>>>>
>>>>>> Percy - how are you running the Fineract side of this?  If I run
>>>>>> according to the README it only listens on port 8080.
>>>>>>
>>>>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <
>>>>>> percyayukashu@gmail.com> wrote:
>>>>>>
>>>>>>> Hello Eugene
>>>>>>> Using the community app with local Fineract 1.x platform the
>>>>>>> credential mifos / password works for me. Even the demo
>>>>>>> <https://demo.openmf.org/> website works with those credentials.
>>>>>>> But running the community app with the API running elsewhere
>>>>>>> credentials doesn't work.
>>>>>>> You can try with local Fineract and community app running at the
>>>>>>> same time using
>>>>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>>>>>> .
>>>>>>>
>>>>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <
>>>>>>> eadjeidjan@gmail.com> wrote:
>>>>>>>
>>>>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>>>>> baseApiUrl is set to my local fineract installation or to
>>>>>>>> demo.mifos.io
>>>>>>>> I get error 401 using credential mifos / password
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Scott Dunbar
>>>>>> Cell: 303 667 6343
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Scott Dunbar
>>>> Cell: 303 667 6343
>>>>
>>>

Re: Can long in community app

Posted by Eugene Adjei-Djan <ea...@gmail.com>.
Thanks Percy, will try and give you feedback

On Sun, Mar 29, 2020 at 12:54 PM Percy Enoabane <pe...@gmail.com>
wrote:

> Eugene I am running one I forked from fineract github repo
> <https://github.com/apache/fineract> .Maybe your branch is behind.
>
> On Sun, Mar 29, 2020 at 5:45 PM Eugene Adjei-Djan <ea...@gmail.com>
> wrote:
>
>> Hi Percy which version of the api are I running? I’m running the one I
>> downloaded from the website and the community app is the one I forked from
>> github. Tried severally and can’t log in
>>
>> On Sun, Mar 29, 2020 at 12:42 PM Scott Dunbar <sc...@xigole.com.invalid>
>> wrote:
>>
>>> Thanks Percy - I'm missing where it shows you how to run a local
>>> Fineract platform.  The readme's are all a mess and they all say to use
>>> https but nothing actually works.  I'll keep digging - thanks for another
>>> pointer.
>>>
>>> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <pe...@gmail.com>
>>> wrote:
>>>
>>>> I run according to ReadMe and then follow the steps using postman as
>>>> shown here
>>>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>>>> .
>>>>
>>>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
>>>> wrote:
>>>>
>>>>> Percy - how are you running the Fineract side of this?  If I run
>>>>> according to the README it only listens on port 8080.
>>>>>
>>>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <
>>>>> percyayukashu@gmail.com> wrote:
>>>>>
>>>>>> Hello Eugene
>>>>>> Using the community app with local Fineract 1.x platform the
>>>>>> credential mifos / password works for me. Even the demo
>>>>>> <https://demo.openmf.org/> website works with those credentials.
>>>>>> But running the community app with the API running elsewhere
>>>>>> credentials doesn't work.
>>>>>> You can try with local Fineract and community app running at the same
>>>>>> time using
>>>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>>>>> .
>>>>>>
>>>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <
>>>>>> eadjeidjan@gmail.com> wrote:
>>>>>>
>>>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>>>> baseApiUrl is set to my local fineract installation or to
>>>>>>> demo.mifos.io
>>>>>>> I get error 401 using credential mifos / password
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Scott Dunbar
>>>>> Cell: 303 667 6343
>>>>>
>>>>
>>>
>>> --
>>> Scott Dunbar
>>> Cell: 303 667 6343
>>>
>>

Re: Can long in community app

Posted by Percy Enoabane <pe...@gmail.com>.
Eugene I am running one I forked from fineract github repo
<https://github.com/apache/fineract> .Maybe your branch is behind.

On Sun, Mar 29, 2020 at 5:45 PM Eugene Adjei-Djan <ea...@gmail.com>
wrote:

> Hi Percy which version of the api are I running? I’m running the one I
> downloaded from the website and the community app is the one I forked from
> github. Tried severally and can’t log in
>
> On Sun, Mar 29, 2020 at 12:42 PM Scott Dunbar <sc...@xigole.com.invalid>
> wrote:
>
>> Thanks Percy - I'm missing where it shows you how to run a local Fineract
>> platform.  The readme's are all a mess and they all say to use https but
>> nothing actually works.  I'll keep digging - thanks for another pointer.
>>
>> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <pe...@gmail.com>
>> wrote:
>>
>>> I run according to ReadMe and then follow the steps using postman as
>>> shown here
>>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>>> .
>>>
>>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
>>> wrote:
>>>
>>>> Percy - how are you running the Fineract side of this?  If I run
>>>> according to the README it only listens on port 8080.
>>>>
>>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello Eugene
>>>>> Using the community app with local Fineract 1.x platform the
>>>>> credential mifos / password works for me. Even the demo
>>>>> <https://demo.openmf.org/> website works with those credentials.
>>>>> But running the community app with the API running elsewhere
>>>>> credentials doesn't work.
>>>>> You can try with local Fineract and community app running at the same
>>>>> time using
>>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>>>> .
>>>>>
>>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <
>>>>> eadjeidjan@gmail.com> wrote:
>>>>>
>>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>>> baseApiUrl is set to my local fineract installation or to
>>>>>> demo.mifos.io
>>>>>> I get error 401 using credential mifos / password
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Scott Dunbar
>>>> Cell: 303 667 6343
>>>>
>>>
>>
>> --
>> Scott Dunbar
>> Cell: 303 667 6343
>>
>

Re: Can long in community app

Posted by Eugene Adjei-Djan <ea...@gmail.com>.
Hi Percy which version of the api are I running? I’m running the one I
downloaded from the website and the community app is the one I forked from
github. Tried severally and can’t log in

On Sun, Mar 29, 2020 at 12:42 PM Scott Dunbar <sc...@xigole.com.invalid>
wrote:

> Thanks Percy - I'm missing where it shows you how to run a local Fineract
> platform.  The readme's are all a mess and they all say to use https but
> nothing actually works.  I'll keep digging - thanks for another pointer.
>
> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <pe...@gmail.com>
> wrote:
>
>> I run according to ReadMe and then follow the steps using postman as
>> shown here
>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>> .
>>
>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
>> wrote:
>>
>>> Percy - how are you running the Fineract side of this?  If I run
>>> according to the README it only listens on port 8080.
>>>
>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
>>> wrote:
>>>
>>>> Hello Eugene
>>>> Using the community app with local Fineract 1.x platform the credential
>>>> mifos / password works for me. Even the demo <https://demo.openmf.org/>
>>>> website works with those credentials.
>>>> But running the community app with the API running elsewhere
>>>> credentials doesn't work.
>>>> You can try with local Fineract and community app running at the same
>>>> time using
>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>>> .
>>>>
>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
>>>> wrote:
>>>>
>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>> baseApiUrl is set to my local fineract installation or to
>>>>> demo.mifos.io
>>>>> I get error 401 using credential mifos / password
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>
>>> --
>>> Scott Dunbar
>>> Cell: 303 667 6343
>>>
>>
>
> --
> Scott Dunbar
> Cell: 303 667 6343
>

Re: Can long in community app

Posted by Percy Enoabane <pe...@gmail.com>.
Ok if you have any issues let me know. Maybe I can help.

On Sun, Mar 29, 2020 at 5:42 PM Scott Dunbar <sc...@xigole.com.invalid>
wrote:

> Thanks Percy - I'm missing where it shows you how to run a local Fineract
> platform.  The readme's are all a mess and they all say to use https but
> nothing actually works.  I'll keep digging - thanks for another pointer.
>
> On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <pe...@gmail.com>
> wrote:
>
>> I run according to ReadMe and then follow the steps using postman as
>> shown here
>> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
>> .
>>
>> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
>> wrote:
>>
>>> Percy - how are you running the Fineract side of this?  If I run
>>> according to the README it only listens on port 8080.
>>>
>>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
>>> wrote:
>>>
>>>> Hello Eugene
>>>> Using the community app with local Fineract 1.x platform the credential
>>>> mifos / password works for me. Even the demo <https://demo.openmf.org/>
>>>> website works with those credentials.
>>>> But running the community app with the API running elsewhere
>>>> credentials doesn't work.
>>>> You can try with local Fineract and community app running at the same
>>>> time using
>>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>>> .
>>>>
>>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
>>>> wrote:
>>>>
>>>>> I forked the community app and run it, meanwhile i cant log in when
>>>>> baseApiUrl is set to my local fineract installation or to
>>>>> demo.mifos.io
>>>>> I get error 401 using credential mifos / password
>>>>>
>>>>> Thanks
>>>>>
>>>>
>>>
>>> --
>>> Scott Dunbar
>>> Cell: 303 667 6343
>>>
>>
>
> --
> Scott Dunbar
> Cell: 303 667 6343
>

Re: Can long in community app

Posted by Scott Dunbar <sc...@xigole.com.INVALID>.
Thanks Percy - I'm missing where it shows you how to run a local Fineract
platform.  The readme's are all a mess and they all say to use https but
nothing actually works.  I'll keep digging - thanks for another pointer.

On Sun, Mar 29, 2020 at 10:33 AM Percy Enoabane <pe...@gmail.com>
wrote:

> I run according to ReadMe and then follow the steps using postman as shown
> here
> <https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
> .
>
> On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
> wrote:
>
>> Percy - how are you running the Fineract side of this?  If I run
>> according to the README it only listens on port 8080.
>>
>> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
>> wrote:
>>
>>> Hello Eugene
>>> Using the community app with local Fineract 1.x platform the credential
>>> mifos / password works for me. Even the demo <https://demo.openmf.org/>
>>> website works with those credentials.
>>> But running the community app with the API running elsewhere credentials
>>> doesn't work.
>>> You can try with local Fineract and community app running at the same
>>> time using
>>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>>> .
>>>
>>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
>>> wrote:
>>>
>>>> I forked the community app and run it, meanwhile i cant log in when
>>>> baseApiUrl is set to my local fineract installation or to demo.mifos.io
>>>> I get error 401 using credential mifos / password
>>>>
>>>> Thanks
>>>>
>>>
>>
>> --
>> Scott Dunbar
>> Cell: 303 667 6343
>>
>

-- 
Scott Dunbar
Cell: 303 667 6343

Re: Can long in community app

Posted by Percy Enoabane <pe...@gmail.com>.
I run according to ReadMe and then follow the steps using postman as shown
here
<https://cwiki.apache.org/confluence/display/FINERACT/Using+rest+client+for+passing+api+requests>
.

On Sun, Mar 29, 2020 at 4:19 PM Scott Dunbar <sc...@xigole.com.invalid>
wrote:

> Percy - how are you running the Fineract side of this?  If I run according
> to the README it only listens on port 8080.
>
> On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
> wrote:
>
>> Hello Eugene
>> Using the community app with local Fineract 1.x platform the credential
>> mifos / password works for me. Even the demo <https://demo.openmf.org/>
>> website works with those credentials.
>> But running the community app with the API running elsewhere credentials
>> doesn't work.
>> You can try with local Fineract and community app running at the same
>> time using
>> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
>> .
>>
>> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
>> wrote:
>>
>>> I forked the community app and run it, meanwhile i cant log in when
>>> baseApiUrl is set to my local fineract installation or to demo.mifos.io
>>> I get error 401 using credential mifos / password
>>>
>>> Thanks
>>>
>>
>
> --
> Scott Dunbar
> Cell: 303 667 6343
>

Re: Can long in community app

Posted by Scott Dunbar <sc...@xigole.com.INVALID>.
Percy - how are you running the Fineract side of this?  If I run according
to the README it only listens on port 8080.

On Sun, Mar 29, 2020 at 6:57 AM Percy Enoabane <pe...@gmail.com>
wrote:

> Hello Eugene
> Using the community app with local Fineract 1.x platform the credential
> mifos / password works for me. Even the demo <https://demo.openmf.org/>
> website works with those credentials.
> But running the community app with the API running elsewhere credentials
> doesn't work.
> You can try with local Fineract and community app running at the same time
> using
> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
> .
>
> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
> wrote:
>
>> I forked the community app and run it, meanwhile i cant log in when
>> baseApiUrl is set to my local fineract installation or to demo.mifos.io
>> I get error 401 using credential mifos / password
>>
>> Thanks
>>
>

-- 
Scott Dunbar
Cell: 303 667 6343

Re: Can long in community app

Posted by Eugene Adjei-Djan <ea...@gmail.com>.
thanks team finally got it resolved and can access the community app





On Sun, Mar 29, 2020 at 8:57 AM Percy Enoabane <pe...@gmail.com>
wrote:

> Hello Eugene
> Using the community app with local Fineract 1.x platform the credential
> mifos / password works for me. Even the demo <https://demo.openmf.org/>
> website works with those credentials.
> But running the community app with the API running elsewhere credentials
> doesn't work.
> You can try with local Fineract and community app running at the same time
> using
> http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
> .
>
> On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
> wrote:
>
>> I forked the community app and run it, meanwhile i cant log in when
>> baseApiUrl is set to my local fineract installation or to demo.mifos.io
>> I get error 401 using credential mifos / password
>>
>> Thanks
>>
>

Re: Can long in community app

Posted by Percy Enoabane <pe...@gmail.com>.
Hello Eugene
Using the community app with local Fineract 1.x platform the credential
mifos / password works for me. Even the demo <https://demo.openmf.org/>
website works with those credentials.
But running the community app with the API running elsewhere credentials
doesn't work.
You can try with local Fineract and community app running at the same time
using
http://localhost:9002/?baseApiUrl=https://localhost:8443&tenantIdentifier=default
.

On Sun, Mar 29, 2020 at 8:53 AM Eugene Adjei-Djan <ea...@gmail.com>
wrote:

> I forked the community app and run it, meanwhile i cant log in when
> baseApiUrl is set to my local fineract installation or to demo.mifos.io
> I get error 401 using credential mifos / password
>
> Thanks
>