Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Unable to login to Maximo Mobile Windows App

    Posted Wed November 15, 2023 09:51 PM

    Hello Team,

    We have installed Maximo mobile for EAM app on the server and trying to access that using the URL. But while trying to login using the correct credentials we get the error as "Login error, please validate your network connection or username and password". We can access MAF and also preview changes using the same URL and same credentials.



    ------------------------------
    Chinmaya Kore
    ------------------------------


  • 2.  RE: Unable to login to Maximo Mobile Windows App

    Posted Wed November 15, 2023 10:48 PM

    Sometimes, I get this error when I'm connected to a VPN. Validate that you can open the Maximo URL on the same computer on which you're trying to use the app.

    Try also attaching the logs from your app so it can give us more details of what could be causing this issue.



    ------------------------------
    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    Australia
    ------------------------------



  • 3.  RE: Unable to login to Maximo Mobile Windows App

    Posted Thu December 21, 2023 10:21 AM

    Hi Maycon Belfort, 

    We are experiencing similar issue, below are the extract from logs


    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : StatusCode:400
    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : ReasonPhrase:Bad Request
    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : Response content:{"Error":{"reasonCode":null,"message":"system#invalidsecurityconfig","statusCode":"400"}}
    2023-12-20 15:37:33.826 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.825Z: [ERROR]: [mobilelogin]: [JS-MAXLDAPAuthenticator]: Login Failed{"code":"400","message":"system#invalidsecurityconfig","url":"https://maximopdv.altagas.ca/maximo/oslc/login?csrf=1&lean=1&relativeuri=1&internalvalues=1","jsonRespons...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:37:33.828 -07:00 [DBG] {"SourceContext":"Shell.App"} : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\nosync\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db'.
       at System.IO.FileSystem.GetAttributes(String fullPath)
    2023-12-20 15:37:33.828 -07:00 [DBG] {"SourceContext":"Shell.App"} : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\nosync\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db'.
       at System.IO.FileSystem.GetAttributes(String fullPath)
       at System.IO.File.GetAttributes(String path)
       at IBM.Maximo.Mobile.Plugin.FilePlugin.IsDir(String filePath)
       at IBM.Maximo.Mobile.Plugin.FilePlugin.ResolveLocalFileSystemURL(String URL)
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    2023-12-20 15:37:33.828 -07:00 [WRN] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : Send return To JS: FilePlugin.ResolveLocalFileSystemURL: {"id":"19","success":false,"result":"Could not find a part of the path \u0027C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\nosync\\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db\u0027.","type":"return","sender":"FilePlugin.ResolveLocalFileSystemURL"}
    2023-12-20 15:37:33.830 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.830Z: [ERROR]: [mobilelogin]: [JS-AnywhereAuthenticator]: Connect login to locally{}
    2023-12-20 15:37:33.831 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.831Z: [ERROR]: [mobilelogin]: [JS-MaximoClient]: Login Failed.
    2023-12-20 15:37:37.566 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : CoreWebView2_SourceChanged: False
    2023-12-20 15:37:40.339 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : CoreWebView2_SourceChanged: False
    2023-12-20 15:37:40.372 -07:00 [INF] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: {"name":"MaximoMobile_logs-20231220.txt","fullPath":"C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\logs\\MaximoMobile_logs-20231220.txt","fs":{"name":"persistent","root":{"name":"persistent","fullPath":"...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:37:40.372 -07:00 [INF] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: {"isFile":true,"isDirectory":false,"name":"persistent","fullPath":"C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\logs\\MaximoMobile_logs-20231220.txt","filesystem":"<FileSystem: persistent>","nativeURL":...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:38:07.314 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.FileOpener2"} : C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\logs\MaximoMobile_logs-20231220.txt



    ------------------------------
    Rohith Nellutla
    ------------------------------



  • 4.  RE: Unable to login to Maximo Mobile Windows App

    Posted Thu December 21, 2023 10:21 AM

    Hi Chinmaya - Any luck on your issue? If yes, can you post the steps here on how you fixed it. 

    It will be helpful, coz we are facing the same issue.  Attaching the extract from Logs:


    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : StatusCode:400
    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : ReasonPhrase:Bad Request
    2023-12-20 15:37:33.822 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.Utilities"} : Response content:{"Error":{"reasonCode":null,"message":"system#invalidsecurityconfig","statusCode":"400"}}
    2023-12-20 15:37:33.826 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.825Z: [ERROR]: [mobilelogin]: [JS-MAXLDAPAuthenticator]: Login Failed{"code":"400","message":"system#invalidsecurityconfig","url":"https://maximopdv.altagas.ca/maximo/oslc/login?csrf=1&lean=1&relativeuri=1&internalvalues=1","jsonRespons...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:37:33.828 -07:00 [DBG] {"SourceContext":"Shell.App"} : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\nosync\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db'.
       at System.IO.FileSystem.GetAttributes(String fullPath)
    2023-12-20 15:37:33.828 -07:00 [DBG] {"SourceContext":"Shell.App"} : System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\nosync\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db'.
       at System.IO.FileSystem.GetAttributes(String fullPath)
       at System.IO.File.GetAttributes(String path)
       at IBM.Maximo.Mobile.Plugin.FilePlugin.IsDir(String filePath)
       at IBM.Maximo.Mobile.Plugin.FilePlugin.ResolveLocalFileSystemURL(String URL)
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    2023-12-20 15:37:33.828 -07:00 [WRN] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : Send return To JS: FilePlugin.ResolveLocalFileSystemURL: {"id":"19","success":false,"result":"Could not find a part of the path \u0027C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\nosync\\20dbb24a83a1d2e652640ce9d83573b39dbed90c9d27bbede3d7ed4c6b38de15.db\u0027.","type":"return","sender":"FilePlugin.ResolveLocalFileSystemURL"}
    2023-12-20 15:37:33.830 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.830Z: [ERROR]: [mobilelogin]: [JS-AnywhereAuthenticator]: Connect login to locally{}
    2023-12-20 15:37:33.831 -07:00 [ERR] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: 2023-12-20T22:37:33.831Z: [ERROR]: [mobilelogin]: [JS-MaximoClient]: Login Failed.
    2023-12-20 15:37:37.566 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : CoreWebView2_SourceChanged: False
    2023-12-20 15:37:40.339 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : CoreWebView2_SourceChanged: False
    2023-12-20 15:37:40.372 -07:00 [INF] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: {"name":"MaximoMobile_logs-20231220.txt","fullPath":"C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\logs\\MaximoMobile_logs-20231220.txt","fs":{"name":"persistent","root":{"name":"persistent","fullPath":"...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:37:40.372 -07:00 [INF] {"SourceContext":"IBM.Maximo.Mobile.JSBridge"} : [Webview Console]: {"isFile":true,"isDirectory":false,"name":"persistent","fullPath":"C:\\Users\\zzzrnellutla\\AppData\\Local\\Packages\\IBM.maximomobile-eam_d089gm9byefwg\\LocalCache\\logs\\MaximoMobile_logs-20231220.txt","filesystem":"<FileSystem: persistent>","nativeURL":...[The output has been truncated and the text exceeds the maximum line length displayed]
    2023-12-20 15:38:07.314 -07:00 [DBG] {"SourceContext":"IBM.Maximo.Mobile.Plugin.FileOpener2"} : C:\Users\zzzrnellutla\AppData\Local\Packages\IBM.maximomobile-eam_d089gm9byefwg\LocalCache\logs\MaximoMobile_logs-20231220.txt



    ------------------------------
    Rohith Nellutla
    ------------------------------



  • 5.  RE: Unable to login to Maximo Mobile Windows App

    Posted Tue December 26, 2023 12:49 AM

    Hi Rohit,

    Looks it is failing to authenticate via LDAP. Have you tried logging the mobile URL through desktop? do you have 2 different url's for desktop and mobile? If there are 2 different urls and if you are able to access desktop url then there might be some security issue for mobile url which is not allowing the login. Also, if appserver security is enabled in Maximo, check the web.xml settings and make sure it is correct.

    Regards,

    Suhas



    ------------------------------
    Suhas Joshi
    Pune
    ------------------------------



  • 6.  RE: Unable to login to Maximo Mobile Windows App

    Posted Tue January 30, 2024 03:41 PM

    Hi Suhas, 

    We don't have two URLs, we are using same URL.  The URL https://maximoxxx.xxx.xx/maximo/oslc/login opens in web browser, however from app it is unable to authenticate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       



    ------------------------------
    Rohith Nellutla
    ------------------------------