MeshCentral icon indicating copy to clipboard operation
MeshCentral copied to clipboard

ERR: TypeError: Cannot set properties of null (setting 'MpsType')

Open b8two opened this issue 5 months ago • 2 comments

Describe the bug Looking at the meshcentral log;

TypeError: Cannot set properties of null (setting 'MpsType')
    at Object.attemptCiraSyncResponse (/opt/meshcentral/node_modules/meshcentral/amtmanager.js:2075:28)
    at Object.<anonymous> (/opt/meshcentral/node_modules/meshcentral/amt/amt.js:149:186)
    at _EnumContinueSink (/opt/meshcentral/node_modules/meshcentral/amt/amt.js:118:22)
    at /opt/meshcentral/node_modules/meshcentral/amt/amt.js:99:88
    at Array.<anonymous> (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman.js:51:17)
    at CreateWsmanComm.obj.gotNextMessages (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:513:26)
    at CreateWsmanComm.obj.xxProcessHttpResponse (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:442:17)
    at CreateWsmanComm.obj.xxOnSocketData (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:414:25)
    at obj.socket.onData (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:204:65)
    at ProcessCommand (/opt/meshcentral/node_modules/meshcentral/mpsserver.js:1118:63)

This error also exists (But appeared the previous day)

TypeError: Cannot read properties of undefined (reading 'DetectionStrings')
    at Object.attemptCiraSyncResponse (/opt/meshcentral/node_modules/meshcentral/amtmanager.js:2059:108)
    at Object.<anonymous> (/opt/meshcentral/node_modules/meshcentral/amt/amt.js:149:186)
    at _EnumContinueSink (/opt/meshcentral/node_modules/meshcentral/amt/amt.js:118:22)
    at /opt/meshcentral/node_modules/meshcentral/amt/amt.js:99:88
    at Array.<anonymous> (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman.js:51:17)
    at CreateWsmanComm.obj.gotNextMessages (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:513:26)
    at CreateWsmanComm.obj.xxProcessHttpResponse (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:442:17)
    at CreateWsmanComm.obj.xxOnSocketData (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:414:25)
    at obj.socket.onData (/opt/meshcentral/node_modules/meshcentral/amt/amt-wsman-comm.js:204:65)
    at ProcessCommand (/opt/meshcentral/node_modules/meshcentral/mpsserver.js:1118:63)

The only reference I found to MpsType was in amtmanager.js server.MpsType = policy['MpsType']; // MpsType was added in Intel AMT 11.6

Is this an issue for environments with devices that have Intel AMT versions older than 11.6 ?

Server Software:

  • OS: Ubuntu
  • Virtualization: Docker
  • Network: WAN, reverse proxy, ssl offload
  • Version: 1.1.27
  • Node: 20.17.0

Server Console:

> amtstats
Total Intel AMT devices: 370
Un-provisionned: 67
Provisionned: 303
Versions: 
  6.0.3: 10
  7.1: 1
  8.0.4: 1
  8.0.13: 2
  9.0.31: 15
  9.1: 1
  9.1.20: 1
  9.1.41: 26
  10.0.56: 2
  11.6.10: 1
  11.6.12: 1
  11.8: 3
  11.8.50: 85
  11.8.55: 1
  11.8.65: 4
  11.8.83: 1
  11.8.86: 27
  11.8.92: 1
  11.8.94: 1
  12.0.0: 1
  12.0.5: 13
  12.0.35: 1
  12.0.40: 1
  12.0.81: 24
  14.1.53: 118
  14.1.72: 1
  16.1.25: 26
  16.1.30: 1

b8two avatar Sep 04 '24 07:09 b8two