Legacy Dev Forum Posts

 View Only

Sign Up

Embedded Framework waiting for Framework Library

  • 1.  Embedded Framework waiting for Framework Library

    Posted 06-05-2025 19:04

    fnfDev_jg | 2024-04-08 18:32:57 UTC | #1

    The Genesys iframe client is getting a spinning wheel and fails to load:

    Iframe URL: src="https://apps.mypurecloud.com/crm/index.html?crm=framework-local-secure"

    Framework.js is accessible at localhost/framework.js:

    The app is served with webpack and the page loads but the iframe is continually loading. If someone could assist?


    tim.smith | 2024-04-08 18:52:16 UTC | #2

    What request to load the framework.js file is being made in the network console in your browser? I assume it's the one in step 6 here (https://localhost/framework.js), which would be made to port 443 and not your port of 9025.


    fnfDev_jg | 2024-04-08 19:14:23 UTC | #4

    fnfDev_jg, post:3, topic:25616, full:true
    yes you're right. it is from (https://localhost/framework.js ).

    this is my file hierarchy:

    should I just serve my app on port 443? how can change the request to load framework.js to port 9025?

    meant to reply to your post. sorry very new to the forum.


    fnfDev_jg | 2024-04-08 19:42:05 UTC | #5

    Changed the app port to 443, not logs are showing (Client id was not provided for the current enviroment: mypurecloud.com):

    clientID is in the framework.js file


    tim.smith | 2024-04-08 19:50:57 UTC | #6

    fnfDev_jg, post:3, topic:25616
    how can change the request to load framework.js to port 9025?

    I don't think you can, but I'm asking the team in case I missed anything.

    fnfDev_jg, post:5, topic:25616
    (Client id was not provided for the current enviroment: mypurecloud.com):

    That sounds correct based on the screenshot from your original post. You only provided a client ID for usw2.pure.cloud. If you're intending to use usw2, I believe you should change your iframe URL to the regional apps domain for the region you intend to use (i.e. apps.usw2.pure.cloud).


    fnfDev_jg | 2024-04-08 19:55:09 UTC | #7

    just to be sure the URL would be src="https://apps.usw2.pure.cloud.com/crm/index.html?crm=framework-local-secure"?


    tim.smith | 2024-04-08 19:56:58 UTC | #8

    No, pure.cloud is the TLD; it's not a .com. Use this: https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure


    fnfDev_jg | 2024-04-08 19:59:15 UTC | #9

    thank you! you have been extremely helpful!


    system | 2024-05-08 20:00:13 UTC | #10

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 25616