IBM Support

When setting up a Gateway Edge device, it is necessary to manually set the MWI_HOST parameter

Troubleshooting


Problem

When you are setting up a Gateway Edge device, it is required to manually set the MWI_HOST parameter.

Symptom

The POST request to create a Gateway does not return the MWI_HOST parameter. Example response:

{
"id": "g:main:edge:dec-june-mas",
"deviceTypeInfo": {},
"info": {
"deviceClass": "gateway",
"description": "MWI_DEVICE user:undefined organization:1"
},
"type": "gateway",
"docType": "device",
"createdAt": "2021-06-16T19:39:25.151Z",
"modifiedAt": "2021-06-16T19:39:24.828Z",
"createdBy": 1,
"modifiedBy": 1,
"vendorId": "dec-june-mas",
"vendor": "edge",
"location": {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-9.092434,
55.176651
]
},
"properties": {}
},
"user": 41,
"organization": 1,
"authToken": "obfuscated",
"gateway": {
"WIOTP_CLIENT_ID": "g:main:edge:dec-june-mas",
"WIOTP_DEVICE_TYPE": "edge",
"WIOTP_DEVICE_ID": "dec-june-mas",
"WIOTP_DEVICE_PW": "obfuscated",
"WIOTP_ORG": "main",
"MWI_HOST": "",
"MWI_TENANT_ID": "44",
"MWI_ORG_KEY": "ORG.44",
"MWI_USER_ID": 41
}
}

Resolving The Problem

The MWI_HOST should be set to the same base URL of your MAS installation. For example: safety.workspace.maximo.com. Set this parameter manually when configuring the Gateway for use.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000GoDCAA0","label":"Maximo Safety"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.0"}]

Document Information

Modified date:
02 November 2021

UID

ibm16474155