Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login using my own server locally #2127

Open
hghost50 opened this issue Apr 28, 2023 · 20 comments
Open

Can't login using my own server locally #2127

hghost50 opened this issue Apr 28, 2023 · 20 comments

Comments

@hghost50
Copy link

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

@gururani-abhishek
Copy link
Contributor

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

@hghost50
Copy link
Author

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

@gururani-abhishek
Copy link
Contributor

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
Copy link
Contributor

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

@hghost50
Copy link
Author

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

@hghost50
Copy link
Author

hghost50 commented May 4, 2023

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

@gururani-abhishek
Copy link
Contributor

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?

@hghost50
Copy link
Author

hghost50 commented May 4, 2023

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
Copy link
Author

hghost50 commented May 4, 2023

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
Copy link
Author

hghost50 commented May 4, 2023

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

@gururani-abhishek
Copy link
Contributor

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?

@hghost50
Copy link
Author

hghost50 commented May 4, 2023

Yes i tested it on RESTClient is working.

@PratyushSingh07
Copy link
Collaborator

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

@hghost50
Copy link
Author

hghost50 commented May 5, 2023

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
Copy link
Author

hghost50 commented May 6, 2023

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

@hghost50
Copy link
Author

hghost50 commented May 9, 2023

Any idea?

4 similar comments
@hghost50
Copy link
Author

hghost50 commented May 9, 2023

Any idea?

@hghost50
Copy link
Author

hghost50 commented May 9, 2023

Any idea?

@hghost50
Copy link
Author

hghost50 commented May 9, 2023

Any idea?

@hghost50
Copy link
Author

hghost50 commented May 9, 2023

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants