Hitting the docker container running externally (or using an IP address instead of localhost) was causing certain requests to be forced over https due to our content security policy that was configured. We made changes in 8.10.6 (which was designed to support 8.10 IFIX 04) to handle this. I believe there is still an issue in this scenario during the preview where we have the preview hardcoded to expect it running on localhost. This we made a change for 8.11 but have not yet backported it to 8.10. When we make fixes, it's only on new builds. IE 8.10.5 will never get either of these fixes.
Opening a support case is the proper way to track and get fixes to these types of issues.
Original Message:
Sent: Mon September 11, 2023 01:14 PM
From: Bincy Jose
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hello Steven,
Thank you for your input. We were able to connect to Maximo server for MAF config tool using IP address, but still we could not proceed with development as the mobile app XMLs not loading in MAF config tool.
As part of troubleshooting, we had to spend some time to get the WSL2 enabled in server where we have the docker desktop installed.
Even with a new docker container using the latest MAF image 8.10.5 for mobile version 8.10, we face the same issue in getting XMLs loaded in MAF.
Furthermore, from chrome inspect we see that loader.js is failing while downloading the apps and its routing to "https" resulting into monaco-editor@0.33.0/min/vs/loader.js"">https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js" title="https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js" href="https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js" rel="noreferrer noopener" target="_blank" class="fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn">https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js
whereas in IBM techzone VM we see its routing to
monaco-editor@0.33.0/min/vs/base/worker/workerMain.js"">https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/base/worker/workerMain.js" title="https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/base/worker/workermain.js" href="https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/base/worker/workerMain.js" rel="noreferrer noopener" target="_blank" class="fui-Link ___1eya986 f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1x7u7e9 f10aw75t fsle3fq f17ae5zn">https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/base/worker/workerMain.js
Could you please suggest if we have any workaround on this.
Thanks in advance,
Bincy
------------------------------
Bincy Jose
Original Message:
Sent: Fri August 11, 2023 12:58 PM
From: Steven Shull
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
The applications/maximo/maxmobile directory structure was related to the WAR we had in 8.7 and earlier versions. Starting in 8.8 that was removed. If you had upgraded from earlier versions there was a manual step required to remove it (since we're just extracting a zip over the install). Removing the mobile web module from Maximo Mobile 8.8 . The only purpose of this WAR was to download the MOBILELOGIN application since that needed to be downloaded without authentication. We instead enhanced our REST API to support retrieving this application without the need for a WAR.
Unable to connect could be a variety of things. The first thing to check is to ensure you're using the properly formatted URL. It should look something like https://mydomain.com/maximo (or if you use an alternative context to /maximo use that). You should not have anything after /maximo and need to include the /maximo. Earlier versions of the configuration utility would automatically add /maximo so you could get away with just providing the domain. But we changed this around the 8.8 timeline (can't remember if it was 8.8 or 8.9) to support users with other contexts than /maximo.
Assuming it is not the issue above, the docker container will often log useful information. For example, if you have a self-signed SSL certificate or one that isn't trusted by the docker container you will need to disable SSL validation by setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable. We documented that here: Running the Docker image .
Other things to check are to ensure that your docker container can connect to the server. If you need a VPN to access the application for example, your VPN may not allow traffic from the container. Or you may have issues resolving the DNS and need to use IP address instead.
Once you're able to connect, make sure the system property mxe.oslc.webappurl is set correctly. I see customers that have this as the default localhost or have refreshed a lower environment without updating it. Some of our actions (such as duplicating an application) will use this URL and will fail if it's not set correctly.
------------------------------
Steven Shull
Original Message:
Sent: Fri August 11, 2023 08:42 AM
From: Bincy Jose
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi Steven,
Could you please clarify the folder structure which we should verify in Maximo root folder to conclude a successful installation on Maximo mobile for EAM 8.10 with Maximo 7.6.1.3.
We have seen that "applications\maximo\maxmobile" folder structure for Maximo Mobile for EAM 8.8 version. Should that be the same for Mobile 8.10 as well?
Checking the same since we are facing the issue like "Unable to connect" to Maximo using MAF configuration application.
Also would like to understand if Hyper-V feature and nested virtualization is mandatory for the Mobile for EAM 8.10 to connect using MAF.
Thanks,
Bincy
------------------------------
Bincy Jose Maximo Consultant
Original Message:
Sent: Mon June 12, 2023 08:52 AM
From: Steven Shull
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
8.8 & 8.9 we were missing the security template for inventory counting but it should exist in 8.10 or higher along with the new receiving application. I am sorry this was missing on your version because it is a bit of a pain to figure out without looking at the app.xml for the application.
------------------------------
Steven Shull
Original Message:
Sent: Fri June 09, 2023 10:18 PM
From: Patrik Nilsson
Subject: Additional information in the Installing and configuring Maximo Mobile 8.10 for EAM guide?
Hi,
Been looking in to the guide for 8.9 & 8,10 and I believe chapter 7 missing some information around the "new" inventpry applications.We got some issues when loading data to the mobile as we where missing read in an OS.
In Chap 7 the work mgmt apps are described i.e. Table 9 that will guide you in how to set up Maximo OS security. (Technician and Approvals applications object structures, query information, and security authorizations) also the function to apply "Manage / Apply template." - "Object Structure Authorization" is empty under Security groups. Or is that part only used for Work Centers?
// Patrik
------------------------------
Patrik Nilsson
------------------------------