SAP Knowledge Base Article - Preview

3375295 - Freshly intsalled Desktop Agent stays at "Connecting" status and has the error "Could not get the public key"


User is not able to connect to an iRPA/BPA tenant with a fresh installation of the Desktop Agent. Login page can popup then after logging in successfully, agent stayed at "Connecting".

An error similar to the below ones are found in the Desktop Agent log during the tenant activation. 

 "function preventLock failed: Cannot find module 'C:\\Users\\...\\AppData\\Local\\Programs\\SAPDesktopAgent\\resources\\app.asar\\addons\\node_activex.node'\nRequire stack:\n- C:\\Program Files (x86)\\SAP\\SAPDesktopAgent\\resources\\app.asar\\node_modules\\irpa_common\\lib\\originalRequire.js\n- C:\\Program Files (x86)\\SAP\\SAPDesktopAgent\\resources\\app.asar\\node_modules\\irpa_common\\lib\\common.js\n- C:\\Program Files (x86)\\SAP\\SAPDesktopAgent\\resources\\app.asar\\node_modules\\irpa_common\\index.js\n- C:\\Program Files (x86)\\SAP\\SAPDesktopAgent\\resources\\app.asar\\main.js\n- ",


"Could not get the public key. The issue could be that your work manager is deprecated"

Removing the tenant and add a new one and reactivate does not help.



  • SAP Build Process Automation
  • SAP Intelligent Robotic Process Automation


KBA , BPI-PA , SAP Process Automation , CA-ML-IPA , IPA , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.