26
Views
2
Comments
Database connection issue in Android application after installation

Dear Support Team,

Greetings of the day


Recently we have developed an android application using OutSystems but after application deployment we are facing below issue:-


[Issue]

Unable to connect with Database: App is not able to fetch data from database the screen appears with pop up saying ‘The connection has timed Out’ (Please Refer to slide 1 in attached document ) however it is working fine in preview mode in browser and in PWA mode in device itself.


[Request]

If possible can we have online discussion on mentioned issue ? As we are new into this Environment kindly support us to resolve this.


Android DB connection Issue.pptx
UserImage.jpg
Priyanka Sharma

Hi Alok,

To troubleshoot and resolve the issue, you can consider the following steps:

  • Verify the network connection: Ensure that the Android device has a stable internet connection and can access the database server. Check if other apps or services can connect to the server successfully.
  • Check server availability: Confirm that the database server is up and running, and there are no issues with its accessibility. You may need to contact the server administrator or hosting provider to check server status.
  • Firewall and security settings: Ensure that the firewall settings on the server and network do not block incoming connections from the Android application.
  • Check database configuration: Verify that the database credentials, host address, and port number used in the Android application are correct and up-to-date.
  • Increase timeout settings: If the connection is consistently slow, you can try increasing the timeout settings in the Android application's database connection code. However, keep in mind that longer timeouts may impact the overall user experience.

Hope above steps will help you to resolve your issue. 

Best of luck.

UserImage.jpg
kumar alok

hello Priyanka Thank you so much for your quick support, the issue was because of network security. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.