Missing dynamic modules on Api Server Angular HTML5

Hello,

Problem:

We have a strange bug on the Api Server in the new Angular portal. We get randomly missing dynamic modules when the user restarts IIS.

Workaround:

Currently we need to delete the cache inside the App_Data folder if this bug is present.

Product:

One Identity Manager 9.2.1. 

When we build the new Api portal we do use the npm run build:watch:dynamic <NAME> of the dynamic modules. We even tried to contact the support and they provided the hotfix 4440193. The .dlls that the hotfix has are the same in the DB.

Did we miss something when we were developing our Api portal? We do have some custom API endpoints but they work fine. 

Thank you for the help,

Zan

Parents
  • Hi, Zan,

    That happens here with  v9.2.0 too.
    Tech support provided a hotfix , 474664 but the problem is still there.  Randomly, IIS refuses to load custom modules (dynamic or not)  placed in the imxweb\custom folder. The ony workaround is to restart the iis service. 

    Every now and then the log  file shows messages like this: 

    "25-03-05 07:32:04.9691 ERROR (    WebLog ) : Error while decompressing plugin tsb to C:\inetpub\wwwroot\ApiServer\App_Data\WebCache\html\tsb System.IO.IOException: El archivo 'C:\inetpub\wwwroot\ApiServer\App_Data\WebCache\html\tsb\esm2020\lib\accounts\accounts.module.mjs' ya existe. (the file already exists)"

    , but even that, the modules are loaded. Until, we do not know when or why, it wont load them anymore and the service must be restarted.

Reply
  • Hi, Zan,

    That happens here with  v9.2.0 too.
    Tech support provided a hotfix , 474664 but the problem is still there.  Randomly, IIS refuses to load custom modules (dynamic or not)  placed in the imxweb\custom folder. The ony workaround is to restart the iis service. 

    Every now and then the log  file shows messages like this: 

    "25-03-05 07:32:04.9691 ERROR (    WebLog ) : Error while decompressing plugin tsb to C:\inetpub\wwwroot\ApiServer\App_Data\WebCache\html\tsb System.IO.IOException: El archivo 'C:\inetpub\wwwroot\ApiServer\App_Data\WebCache\html\tsb\esm2020\lib\accounts\accounts.module.mjs' ya existe. (the file already exists)"

    , but even that, the modules are loaded. Until, we do not know when or why, it wont load them anymore and the service must be restarted.

Children
No Data