How to installation MOSIP pre registration in local computer ? when executed error

this is my log error

{“@timestamp”:“2024-03-05T10:58:58.652+07:00”,“@version”:“1”,“message”:“Fetching config from server at : https://dev.mosip.net”,“logger_name”:“org.springframework.cloud.config.client.ConfigServicePropertySourceLocator”,“thread_name”:“restartedMain”,“level”:“INFO”,“level_value”:20000,“appName”:“pre-registration-application-service”}
{“@timestamp”:“2024-03-05T10:59:21.458+07:00”,“@version”:“1”,“message”:“Connect Timeout Exception on Url - https://dev.mosip.net. Will be trying the next url if available”,“logger_name”:“org.springframework.cloud.config.client.ConfigServicePropertySourceLocator”,“thread_name”:“restartedMain”,“level”:“INFO”,“level_value”:20000,“appName”:“pre-registration-application-service”}
{“@timestamp”:“2024-03-05T10:59:21.458+07:00”,“@version”:“1”,“message”:“Could not locate PropertySource: I/O error on GET request for "https:// dev.mosip. net/pre-registration/mz/develop-v2": Connection timed out: connect; nested exception is java.net.ConnectException: Connection timed out: connect”,“logger_name”:“org.springframework.cloud.config.client.ConfigServicePropertySourceLocator”,“thread_name”:“restartedMain”,“level”:“WARN”,“level_value”:30000,“appName”:“pre-registration-application-service”}

Hi @Anis_Fajar

Thanks for sharing the logs @mayuradesh please look into the logs and provide the resolution to solve this.

Best Regards,
Team MOSIP

hi @sanchi-singh24
Is there a guide for deployment on a local computer? I don’t have a server yet

Hi

As of now you will need some deployment env where all MOSIP modules are available. You can point the local URL’s to the same.
If not, you will have to host the dependent modules and postgres locally.

You can use collab.mosip.net to see the demo version of pre reg running.

~ Mayura

1 Like

You can take the following actions to install MOSIP pre-registration on your local computer:

  • Acquire the pre-registration package for MOSIP here: To download the pre-registration package, go to the official MOSIP website or repository.

  • Set up Required conditions: Ensure that the computer you’re using satisfies the needs in order to use MOSIP. Deploying the Java Development Kit (JDK) is usually part of this.

  • Take the Package Out: Extract the contents of the pre-registration package into a directory on your desktop or laptop after downloading it.

  • Configuration: Inside the extracted directory, locate the configuration files and make modifications as needed. This could entail defining server ports, database configurations, etc.

  • Database Setup: A database backend is necessary for MOSIP. Verify that a compatible database server—such as PostgreSQL or MySQL—is installed. Establish a user and database with the rights indicated in the configuration.

  • Run MOSIP: Use the relevant command or script included in the package to launch the MOSIP initial registration application. Depending on your OS, this could be a command like./run.sh or./start.bat.

  • Access MOSIP: After the application has started, use a web browser to access MOSIP pre-registration by entering the URL and port (such as http://localhost:8080) that were provided during configuration.

You can find troubleshooting proposals in the MOSIP documentation and community forums if you want further help.

Thanks @smithjohn for the guidance and detailed steps it will surely help the user to continue further and unblock it.