Inji mobile wallet local setup

Hi Team,

I’m trying to connect Inji mobile to the local backend services by putting the url in the credential registry setting in the emulator but getting invalid url error.
I have tried both the following urls:
http://10.0.2.2:8089
http://127.0.0.1:8089
Attaching the screenshots for reference.


Hi there! Thank you for reaching out. We are looking into your query and will get back to you soon!

Hi @swatigoel I have fixed the internet issue on my android emulator and tried connecting to local backend from Inji wallet but I’m getting invalid url error. It looks like mimoto is trying to get some token from https://iam.dev2.mosip.net this keycloak url and throwing an error. Please, suggest how should we fix this issue. Here’s the mimoto logs for your reference:

2024-06-11 10:50:32.987  INFO [mimoto,,,] 8612 --- [TaskScheduler-1] i.m.k.a.d.helper.TokenHelper             : Requesting for new Token for the provided OIDC Service(WebClient): https://iam.dev2.mosip.net/auth/realms/
2024-06-11 10:51:03.372 ERROR [mimoto,,,] 8612 --- [TaskScheduler-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.

reactor.core.Exceptions$ReactiveException: io.netty.channel.ConnectTimeoutException: connection timed out: iam.dev2.mosip.net/10.3.148.169:443
        at reactor.core.Exceptions.propagate(Exceptions.java:326) ~[reactor-core-3.1.7.RELEASE.jar:3.1.7.RELEASE]
        at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:91) ~[reactor-core-3.1.7.RELEASE.jar:3.1.7.RELEASE]
        at reactor.core.publisher.Mono.block(Mono.java:1175) ~[reactor-core-3.1.7.RELEASE.jar:3.1.7.RELEASE]
        at io.mosip.kernel.auth.defaultadapter.helper.TokenHelper.getClientToken(TokenHelper.java:130) ~[kernel-auth-adapter-1.2.0.1-B1.jar:na]
        at io.mosip.kernel.auth.defaultadapter.config.SelfTokenRenewalTaskExecutor$SelfTokenHandlerTask.run(SelfTokenRenewalTaskExecutor.java:76) ~[kernel-auth-adapter-1.2.0.1-B1.jar:na]
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE]
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]
        at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
        Suppressed: java.lang.Exception: #block terminated with an error
                at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:93) ~[reactor-core-3.1.7.RELEASE.jar:3.1.7.RELEASE]
                ... 10 common frames omitted
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: iam.dev2.mosip.net/10.3.148.169:443
        at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe$2.run(AbstractEpollChannel.java:572) ~[netty-transport-native-epoll-4.1.24.Final-linux-x86_64.jar:4.1.24.Final]
        at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38) ~[netty-common-4.1.24.Final.jar:4.1.24.Final]
        at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125) ~[netty-common-4.1.24.Final.jar:4.1.24.Final]
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-common-4.1.24.Final.jar:4.1.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[netty-common-4.1.24.Final.jar:4.1.24.Final]
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309) ~[netty-transport-native-epoll-4.1.24.Final-linux-x86_64.jar:4.1.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884) ~[netty-common-4.1.24.Final.jar:4.1.24.Final]
        ... 1 common frames omitted
        Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoLift] :
        reactor.core.publisher.Mono.create(Mono.java:172)
        reactor.ipc.netty.tcp.TcpClient.newHandler(TcpClient.java:174)
        reactor.ipc.netty.http.client.HttpClient$TcpBridgeClient.newHandler(HttpClient.java:385)
        reactor.ipc.netty.http.client.MonoHttpClientResponse.lambda$subscribe$0(MonoHttpClientResponse.java:73)
        reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:44)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.Mono.subscribe(Mono.java:3080)
        reactor.core.publisher.FluxRetryPredicate$RetryPredicateSubscriber.resubscribe(FluxRetryPredicate.java:123)
        reactor.core.publisher.MonoRetryPredicate.subscribe(MonoRetryPredicate.java:51)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoMapFuseable.subscribe(MonoMapFuseable.java:59)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.ipc.netty.http.client.MonoHttpClientResponse.subscribe(MonoHttpClientResponse.java:79)
        reactor.core.publisher.MonoMap.subscribe(MonoMap.java:55)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoPeekFuseable.subscribe(MonoPeekFuseable.java:74)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoPeekFuseable.subscribe(MonoPeekFuseable.java:74)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoPeekFuseable.subscribe(MonoPeekFuseable.java:74)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoMapFuseable.subscribe(MonoMapFuseable.java:59)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoMapFuseable.subscribe(MonoMapFuseable.java:59)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoOnErrorResume.subscribe(MonoOnErrorResume.java:44)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.Mono.subscribe(Mono.java:3080)
        reactor.core.publisher.MonoZip.subscribe(MonoZip.java:128)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoFlatMap.subscribe(MonoFlatMap.java:60)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.MonoSubscriberContext.subscribe(MonoSubscriberContext.java:47)
        reactor.core.publisher.MonoSwitchIfEmpty.subscribe(MonoSwitchIfEmpty.java:44)
        reactor.core.publisher.MonoLift.subscribe(MonoLift.java:46)
        reactor.core.publisher.Mono.block(Mono.java:1174)
        io.mosip.kernel.auth.defaultadapter.helper.TokenHelper.getClientToken(TokenHelper.java:130)
        io.mosip.kernel.auth.defaultadapter.config.SelfTokenRenewalTaskExecutor$SelfTokenHandlerTask.run(SelfTokenRenewalTaskExecutor.java:76)
        org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
Error has been observed by the following operator(s):
        |_      Mono.create(TcpClient.java:174)
        |_      Mono.defer(MonoHttpClientResponse.java:73)
        |_      Mono.retry(MonoHttpClientResponse.java:77)
        |_      Mono.cast(MonoHttpClientResponse.java:78)
        |_      Mono.map(ReactorClientHttpConnector.java:75)
        |_      Mono.doOnSubscribe(ExchangeFunctions.java:81)
        |_      Mono.doOnRequest(ExchangeFunctions.java:82)
        |_      Mono.doOnCancel(ExchangeFunctions.java:83)
        |_      Mono.map(ExchangeFunctions.java:84)
        |_      Mono.defer(TraceWebClientBeanPostProcessor.java:130)
        |_      Mono.cast(TraceWebClientBeanPostProcessor.java:131)
        |_      Mono.error(TraceWebClientBeanPostProcessor.java:143)
        |_      Mono.doAfterSuccessOrError(TraceWebClientBeanPostProcessor.java:147)
        |_      Mono.flatMap(TraceWebClientBeanPostProcessor.java:134)
        |_      Mono.switchIfEmpty(DefaultWebClient.java:317)

Hi @Aniket_Aditya this is the keycloak used for authentication for api which should not be used for local setup.
Are you getting this error for every endpoint?

@swatigoel I’m getting this error when I’m trying to set registry url from Inji wallet setting. How should we disable the keycloak for local setup?

@swatigoel I’m able to run the Inji mobile wallet app in my physical device. It is able to list the issuer and open the esignet login page. But after I enter the credentials and click login the app crashes and getting closed.

here’s the logs for refernce:

 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: SELECTED_CREDENTIAL_TYPE -> checkInternet
{
  "credType": {
    "format": "ldp_vc",
    "id": "NursingCertificateCredential",
    "scope": "nursing_certificate_vc_ldp",
    "display": [
      {
        "name": "Nursing Certificate Verifiable Credential",
        "logo": {
          "url": "https://sunbird.org/images/sunbird-logo-new.png",
 ...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] issuersMachine: done.invoke.checkInternet -> performAuthorization.idle
{
  "data": {
    "details": {
      "isConnectionExpensive": true,
      "txLinkSpeed": 14,
      "rxLinkSpeed": 14,
      "linkSpeed": 14,
      "subnet": "255.255.255.0",
      "ipAddress": "192.168.221.15",
      "frequency": 5745,
      "strength": 46,
      "bssid": "02:00:00:00:00:00"
    },
...
 LOG  [Redmi Note 7 Pro] app: INACTIVE -> ready.network.online
{}
 LOG  [Redmi Note 7 Pro] store: APP_ACTIVE -> ready
{}
 LOG  [Redmi Note 7 Pro] auth: APP_ACTIVE -> authorized
{}
 LOG  [Redmi Note 7 Pro] vcMeta: APP_ACTIVE -> ready.showTamperedPopup
{}
 LOG  [Redmi Note 7 Pro] settings: APP_ACTIVE -> idle
{}
 LOG  [Redmi Note 7 Pro] backup: APP_ACTIVE -> backingUp.idle
{}
 LOG  [Redmi Note 7 Pro] backupRestore: APP_ACTIVE -> init
{}
 LOG  [Redmi Note 7 Pro] activityLog: APP_ACTIVE -> ready.idle
{}
 LOG  [Redmi Note 7 Pro] scan: APP_ACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] request: APP_ACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] app: ACTIVE -> ready.network.online
{}
 LOG  [Redmi Note 7 Pro] store: APP_INACTIVE -> ready
{}
 LOG  [Redmi Note 7 Pro] auth: APP_INACTIVE -> authorized
{}
 LOG  [Redmi Note 7 Pro] vcMeta: APP_INACTIVE -> ready.showTamperedPopup
{}
 LOG  [Redmi Note 7 Pro] settings: APP_INACTIVE -> idle
{}
 LOG  [Redmi Note 7 Pro] backup: APP_INACTIVE -> backingUp.idle
{}
 LOG  [Redmi Note 7 Pro] backupRestore: APP_INACTIVE -> init
{}
 LOG  [Redmi Note 7 Pro] activityLog: APP_INACTIVE -> ready.idle
{}
 LOG  [Redmi Note 7 Pro] scan: APP_INACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] request: APP_INACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] app: INACTIVE -> ready.network.online
{}
 LOG  Error while Telemetry sync to server:  {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n    at settle (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:322209:37)\n    at onloadend (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:322106:29)\n    at call (native)\n    at dispatchEvent (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:31605:31)\n    at setReadyState (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:30251:29)\n    at __didCompleteResponse (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:30053:29)\n    at apply (native)\n    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:30178:52)\n    at apply (native)\n    at emit (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:2144:40)\n    at apply (native)\n    at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:2712:36)\n    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:2473:31)\n    at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:2663:15)\n    at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=io.mosip.residentapp&modulesOnly=false&runModule=true:2472:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","dataType":"json"},"method":"post","url":"https://dataset-api.obsrv.mosip.net/obsrv/v1/data/mosip-dataset","data":"{\"data\":{\"id\":\"api.mosip.telemetry\",\"params\":{\"msgid\":\"9f151be029ed861bdeaa4babf2424d83\"},\"ets\":1718696062000,\"events\":[{\"eid\":\"END\",\"ets\":1718696062000,\"mid\":\"END:a3bbaaf1554475f4891ca5dad3d8985e\",\"sid\":\"GJVSZBtIKO3r1718696025053\",\"appid\":\"KWJVQRUMT6S3\",\"actor\":{},\"edata\":{\"type\":\"App Onboarding\",\"status\":\"SUCCESS\",\"additionalParameters\":{},\"duration\":5}}]}}"},"code":"ERR_BAD_RESPONSE","status":500}
 LOG  [Redmi Note 7 Pro] app: ONLINE -> ready.focus.inactive
{
  "networkType": "wifi"
}
 LOG  [Redmi Note 7 Pro] app: ONLINE -> ready.focus.inactive
{
  "networkType": "cellular"
}
 LOG  [Redmi Note 7 Pro] store: APP_ACTIVE -> ready
{}
 LOG  [Redmi Note 7 Pro] auth: APP_ACTIVE -> authorized
{}
 LOG  [Redmi Note 7 Pro] vcMeta: APP_ACTIVE -> ready.showTamperedPopup
{}
 LOG  [Redmi Note 7 Pro] settings: APP_ACTIVE -> idle
{}
 LOG  [Redmi Note 7 Pro] backup: APP_ACTIVE -> backingUp.idle
{}
 LOG  [Redmi Note 7 Pro] backupRestore: APP_ACTIVE -> init
{}
 LOG  [Redmi Note 7 Pro] activityLog: APP_ACTIVE -> ready.idle
{}
 LOG  [Redmi Note 7 Pro] scan: APP_ACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] request: APP_ACTIVE -> inactive
{}
 LOG  [Redmi Note 7 Pro] app: ACTIVE -> ready.network.online
{}
 LOG  [Redmi Note 7 Pro] app: ACTIVE -> ready.network.online

@swatigoel I suspect it to be happening due to telemetry. Please, suggest.

@Aniket_Aditya this will not happen because of telemetry. Still you can try commenting the send events in this file TelemetryUtils.js and see if it works.

@swatigoel after commenting out the send events I’m not seeing any telemetry related error in the logs but the behaviour is still same… after submitting details on esignet page the app closes. also I’m seeing few errors:

 ERROR  init failed [Error: Unable to resolve host "http": No address associated with hostname]
 LOG  model download result is = false
 LOG  init with: {"withFace":{"encoder":{"tfModel":{"path":"https://http://localhost:8089/inji/model.tflite","inputWidth":160,"inputHeight":160,"outputLength":512,"modelChecksum":"797b4d99794965749635352d55da38d4748c28c659ee1502338badee4614ed06"}},"matcher":{"threshold":1}}}
 ERROR  init failed [Error: Unable to resolve host "http": No address associated with hostname]
 LOG  model download result is = false
 LOG  init with: {"withFace":{"encoder":{"tfModel":{"path":"https://http://localhost:8089/inji/model.tflite","inputWidth":160,"inputHeight":160,"outputLength":512,"modelChecksum":"797b4d99794965749635352d55da38d4748c28c659ee1502338badee4614ed06"}},"matcher":{"threshold":1}}}
 ERROR  init failed [Error: Unable to resolve host "http": No address associated with hostname]
 LOG  model download result is = false
 LOG  init with: {"withFace":{"encoder":{"tfModel":{"path":"https://http://localhost:8089/inji/model.tflite","inputWidth":160,"inputHeight":160,"outputLength":512,"modelChecksum":"797b4d99794965749635352d55da38d4748c28c659ee1502338badee4614ed06"}},"matcher":{"threshold":1}}}
 ERROR  init failed [Error: Unable to resolve host "http": No address associated with hostname]
 LOG  model download result is = false
 LOG  init with: {"withFace":{"encoder":{"tfModel":{"path":"https://http://localhost:8089/inji/model.tflite","inputWidth":160,"inputHeight":160,"outputLength":512,"modelChecksum":"797b4d99794965749635352d55da38d4748c28c659ee1502338badee4614ed06"}},"matcher":{"threshold":1}}}
 ERROR  init failed [Error: Unable to resolve host "http": No address associated with hostname]
 LOG  model download result is = false

it is adding ‘https’ to the mimoto host.