mifos-mobile icon indicating copy to clipboard operation
mifos-mobile copied to clipboard

Can't login using my own server locally

Open hghost50 opened this issue 1 year ago • 20 comments

Summary:

Steps to reproduce:

When i change the API ENDPOINT to my domain name in BaseURL.kt

Expected behaviour:

It should log into my accountm without error

Observed behaviour:

It displays an error: Error During Login

hghost50 avatar Apr 28 '23 01:04 hghost50

Hey @hghost50, join our slack channel there you may find more information and can also get troubleshooting information regarding hosting this app on a local server. link to slack

gururani-abhishek avatar Apr 28 '23 16:04 gururani-abhishek

Ok i will. Do you have any idea about this issue?

hghost50 avatar Apr 29 '23 00:04 hghost50

It might be related to the specifics of new API endpoints that you've added. I would suggest go ahead and post your detailed query in our slack channel.

gururani-abhishek avatar Apr 29 '23 08:04 gururani-abhishek

It might be related to the specifics of new API endpoints that you've added. I would suggest go ahead and post your detailed query in our slack channel.

@hghost50

gururani-abhishek avatar Apr 29 '23 08:04 gururani-abhishek

Is possible to connect mifos mobile to your own local server Ubuntu?

hghost50 avatar Apr 29 '23 13:04 hghost50

Still stuck at this point even in slack mifos. anybody with an idea?

hghost50 avatar May 04 '23 14:05 hghost50

Hey @hghost50 What local sever are you trying to create? The API endpoints right now are self-service Fineract APIs, changing them to anything else won't really work unless required changes are made to the mobile application. I'll be able to help you better, if you can share more details into what are you trying to accomplish?

gururani-abhishek avatar May 04 '23 17:05 gururani-abhishek

This is what i want to accomplish: i want to use my mifos x platform which i already installed locally on Ubuntu server 18.04 to connect the mifos mobile app.

hghost50 avatar May 04 '23 17:05 hghost50

Here is the way i proceed:

  • Had deploy mifos x platform on ubuntu 18.04 (already done)
  • Now i want to connect the mifos mobile to my mifos x platform, had change the url from demo.mifos.io (const val API_ENDPOINT = "demo.mifos.io") to my local domain name in mifos-mobile/app/src/debug/java/org/mifos/mobile/api/BaseURL.kt
  • But when i try to enter username and password, it pops up an error: Error During Login

hghost50 avatar May 04 '23 17:05 hghost50

i want to use my own data, instead of the demo data

hghost50 avatar May 04 '23 17:05 hghost50

Did you check the working of new API Endpoints on Postman? Also lemme tag my friend, let's see if he can help us. Hey @PratyushSingh07, do you have any idea regarding this?

gururani-abhishek avatar May 04 '23 17:05 gururani-abhishek

Yes i tested it on RESTClient is working.

hghost50 avatar May 04 '23 18:05 hghost50

Here is the way i proceed:

  • Had deploy mifos x platform on ubuntu 18.04 (already done)
  • Now i want to connect the mifos mobile to my mifos x platform, had change the url from demo.mifos.io (const val API_ENDPOINT = "demo.mifos.io") to my local domain name in mifos-mobile/app/src/debug/java/org/mifos/mobile/api/BaseURL.kt
  • But when i try to enter username and password, it pops up an error: Error During Login

theres another BaseURL file in mobile/app/src/release/java/org/mifos/mobile/api/BaseURL.kt if I am not mistaken. Do make the changes there as well and see if it works out. Apart from that I am not really sure as to what the error can be

PratyushSingh07 avatar May 04 '23 20:05 PratyushSingh07

Had did the changes in mobile/app/src/release/java/org/mifos/mobile/api/BaseURL.kt, is still not connecting to the mifos mobile.

hghost50 avatar May 05 '23 00:05 hghost50

Is the issue coming from the mifosx platform? is there any configurations to make on the mifos x platform (localy)?

hghost50 avatar May 06 '23 13:05 hghost50

Any idea?

hghost50 avatar May 09 '23 23:05 hghost50

Any idea?

hghost50 avatar May 09 '23 23:05 hghost50

Any idea?

hghost50 avatar May 09 '23 23:05 hghost50

Any idea?

hghost50 avatar May 09 '23 23:05 hghost50

Any idea?

hghost50 avatar May 09 '23 23:05 hghost50