Hello Experts!
In one of the DEV Environment I am unable to duplicate Applications. Getting below Error
ResponseError: Maximo error
at Object.badRequest (/graphite/node_modules/garage-utils/lib/errors.js:36:5)
at handleMaxServerErr (/graphite/packages/config-server/src/BaseService.js:155:305)
at MaximoService.maximoFetch (/graphite/packages/config-server/src/BaseService.js:27:111)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Other System Properties below Look Fine
- mxe.int.webappurl
- mxe.rest.webappurl
- mxe.oslc.webappurl
- mxe.oslc.restwebappurl
Is there something I am possibly missing?
------------------------------
Sudheshna J
------------------------------
Original Message:
Sent: Wed November 08, 2023 03:34 PM
From: Bartosz Marchewka
Subject: MAF 8.11 docker tool - error connecting to maximo
Hi Jamina,
Just an idea to double check if these Maximo properties are set correctly:
- mxe.int.webappurl
- mxe.rest.webappurl
- mxe.oslc.webappurl
- mxe.oslc.restwebappurl
------------------------------
Bartosz Marchewka
Original Message:
Sent: Mon November 06, 2023 06:02 PM
From: Jamina Agic
Subject: MAF 8.11 docker tool - error connecting to maximo
Hi Dirk, thank you for your answer. Yes traffic is unencrypted, but what is strange is that I have another environment where everything working fine. Same websphere version, maximo 7.6.1.3 and mobile for EAM 8.11. Only difference is non-domain environment on site where docker MAF tool is working fine.
------------------------------
Jamina Agic
Original Message:
Sent: Mon November 06, 2023 05:23 PM
From: Dirk Huppertz
Subject: MAF 8.11 docker tool - error connecting to maximo
Hi Jamina,
"Unexpected token < in JSON" points to that the response in an XML (or HTML) and not a JSON.
As you are using unencrypted http, you can capture the traffic an look what is within the response.
Best regards Dirk
------------------------------
Dirk Huppertz
Senior Project Manager
S&T Deutschland GmbH
Aachen
Original Message:
Sent: Mon November 06, 2023 07:00 AM
From: Jamina Agic
Subject: MAF 8.11 docker tool - error connecting to maximo
Hi, I have one problem with MAF 8.11 tool on docker while connecting to maximo for eam 7.6.1.3.
With API key is connection is working, but when I try to modify app publish is not working,
With username and password it doesn't work.
This it the error I have on docker log:
2023-11-06 12:45:38 stack: ResponseError: invalid json response body at http://maximotest.ephzhb.loc/maximo/webclient/login/login.jsp?appservauth=true reason: Unexpected token < in JSON at position 1
2023-11-06 12:45:38 at Object.internalServerError (/graphite/node_modules/garage-utils/lib/errors.js:36:5)
2023-11-06 12:45:38 at /graphite/packages/config-server/src/server.js:91:20
2023-11-06 12:45:38 at Layer.handle_error (/graphite/node_modules/express/lib/router/layer.js:71:5)
2023-11-06 12:45:38 at trim_prefix (/graphite/node_modules/express/lib/router/index.js:326:13)
2023-11-06 12:45:38 at /graphite/node_modules/express/lib/router/index.js:286:9
2023-11-06 12:45:38 at Function.process_params (/graphite/node_modules/express/lib/router/index.js:346:12)
2023-11-06 12:45:38 at next (/graphite/node_modules/express/lib/router/index.js:280:10)
2023-11-06 12:45:38 at Layer.handle_error (/graphite/node_modules/express/lib/router/layer.js:67:12)
2023-11-06 12:45:38 at trim_prefix (/graphite/node_modules/express/lib/router/index.js:326:13)
2023-11-06 12:45:38 at /graphite/node_modules/express/lib/router/index.js:286:9
2023-11-06 12:45:38 --
2023-11-06 12:45:38 originalError: {
2023-11-06 12:45:38 "message": "invalid json response body at http://maximotest.ephzhb.loc/maximo/webclient/login/login.jsp?appservauth=true reason: Unexpected token < in JSON at position 1",
2023-11-06 12:45:38 "type": "invalid-json"
2023-11-06 12:45:38 }
------------------------------
Jamina Agic
------------------------------