Problem

MOSIP is unable to send OTP

Design Overview

Solution

Check whether all the below 5 components are up and running:

  1. Keycloak

    1. Open the keycloak URL in the browser and check

  2. kernel-otpmanager-service

    1. Login to ‘mosip_kernel database’s ‘kernel using the mosipuser/Mosip@123. NOTE: ‘mosipuser’ is a read-only user. In all database, you will find the same read-only user with the same credentials. Check whether the OTP had been generated in table ‘otp_transaction’. You can authenticate using the value in ‘otp’ column name. Example query is , "SELECT otp FROM kernel.otp_transaction where id like '%prereg_userId%' order by generated_dtimes desc limit 1";

    2. You can also check the Swagger URL. For example, https://qa.mosip.io/v1/otpmanager/swagger-ui.html

  3. kernel-emailnotification-service

    1. Check the Swagger URL. For example, https://qa.mosip.io/v1/emailnotifier/swagger-ui.html

  4. kernel-smsnotification-service

    1. Check the Swagger URL. For example, https://qa.mosip.io/v1/smsnotifier/swagger-ui.html

  5. kernel-auth-service

    1. Check the Swagger URL. For example, https://qa.mosip.io/v1/authmanager/swagger-ui.html

Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu below.

Related articles

The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.

Image source files

Related issues