Maximo

Maximo

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

 View Only
  • 1.  Maximo mobile Preview error

    Posted Sun March 02, 2025 09:05 AM

    I am following the blog How to preview application on Android device in Maximo Application Framework Configuration application

    I am getting follwoing error in Chrome Devtools console when trying to preview 

    preview.preview("http://localhost:3006","techmobile",{live:true})

     Error:

    [preview]  Checking preview service availability ...
    undefined
    preview-client.js:112 [preview]  Error: java.net.UnknownServiceException: CLEARTEXT communication to 172.17.0.2 not permitted by network security policy
        at checkAvailability (preview-client.js:281:17)
        at async preview-client.js:331:9
    _log @ preview-client.js:112
    (anonymous) @ preview-client.js:339
    await in (anonymous)
    preview @ preview-client.js:341
    (anonymous) @ VM2478:1Understand this errorAI

    Im getting same error when tried with ip address instead of localhost..

     



    ------------------------------
    Rao
    ------------------------------


  • 2.  RE: Maximo mobile Preview error

    Posted Mon March 03, 2025 01:26 AM

    Hi Prasad,

    Instead of localhost, try your IP address.



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

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



  • 3.  RE: Maximo mobile Preview error

    Posted Tue March 04, 2025 05:48 AM

    Hi Parsad, 

    Can you try with running your maf image with below parameter - NODE_TLS_REJECT_UNAUTHORIZED=0 

    Br/

    Lokesh



    ------------------------------
    Lokesh chauhan
    ------------------------------