IFRAME API with secure domain

Hi, i have followed the guide from the documentation on secure domain but in the javascript part whenever i include anonymousdomain in overwrite config, it keep prompting “you have been disconnected”. Below are the errors in JSConsole

my [domain]cfg.lua

plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }

-- domain mapper options, must at least have domain base set to use the mapper
muc_mapper_domain_base = "meet.mirfalah.my";

external_service_secret = "yLMvUWP1X6mwH2ET";
external_services = {
     { type = "stun", host = "meet.mirfalah.my", port = 3478 },
     { type = "turn", host = "meet.mirfalah.my", port = 3478, transport = "udp", secret = true, ttl = 86400, algorithm = "turn" },
     { type = "turns", host = "meet.mirfalah.my", port = 5349, transport = "tcp", secret = true, ttl = 86400, algorithm = "turn" }
};

cross_domain_bosh = false;
consider_bosh_secure = true;
-- https_ports = { }; -- Remove this line to prevent listening on port 5284

-- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4
ssl = {
    protocol = "tlsv1_2+";
    ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
}

unlimited_jids = {
    "focus@auth.meet.mirfalah.my",
    "jvb@auth.meet.mirfalah.my"
}

VirtualHost "meet.mirfalah.my"
    -- enabled = false -- Remove this line to enable this host
    authentication = "internal_hashed"
    -- Properties below are modified by jitsi-meet-tokens package config
    -- and authentication above is switched to "token"
    --app_id="example_app_id"
    --app_secret="example_app_secret"
    -- Assign this host a certificate for TLS, otherwise it would use the one
    -- set in the global section (if any).
    -- Note that old-style SSL on port 5223 only supports one certificate, and will always
    -- use the global one.
    ssl = {
        key = "/etc/prosody/certs/meet.mirfalah.my.key";
        certificate = "/etc/prosody/certs/meet.mirfalah.my.crt";
    }
    av_moderation_component = "avmoderation.meet.mirfalah.my"
    speakerstats_component = "speakerstats.meet.mirfalah.my"
    conference_duration_component = "conferenceduration.meet.mirfalah.my"
    -- we need bosh
    modules_enabled = {
        "bosh";
        "pubsub";
        "ping"; -- Enable mod_ping
        "speakerstats";
        "external_services";
        "conference_duration";
        "muc_lobby_rooms";
        "av_moderation";
    }
    c2s_require_encryption = false
    lobby_muc = "lobby.meet.mirfalah.my"
    main_muc = "conference.meet.mirfalah.my"
    -- muc_lobby_whitelist = { "recorder.meet.mirfalah.my" } -- Here we can whitelist jibri to enter lobby enabled rooms

Component "conference.meet.mirfalah.my" "muc"
    restrict_room_creation = true
    storage = "none"
    modules_enabled = {
        "muc_meeting_id";
        "muc_domain_mapper";
        --"token_verification";
    }
    admins = { "focus@auth.meet.mirfalah.my" }
    muc_room_locking = false
    muc_room_default_public_jids = true

-- internal muc component
Component "internal.auth.meet.mirfalah.my" "muc"
    storage = "none"
    modules_enabled = {
        "ping";
    }
    admins = { "focus@auth.meet.mirfalah.my", "jvb@auth.meet.mirfalah.my" }
    muc_room_locking = false
    muc_room_default_public_jids = true

VirtualHost "auth.meet.mirfalah.my"
    ssl = {
        key = "/etc/prosody/certs/auth.meet.mirfalah.my.key";
        certificate = "/etc/prosody/certs/auth.meet.mirfalah.my.crt";
    }
    modules_enabled = {
        "limits_exception";
    }
    authentication = "internal_hashed"

-- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
Component "focus.meet.mirfalah.my" "client_proxy"
    target_address = "focus@auth.meet.mirfalah.my"

Component "speakerstats.meet.mirfalah.my" "speakerstats_component"
    muc_component = "conference.meet.mirfalah.my"

Component "conferenceduration.meet.mirfalah.my" "conference_duration_component"
    muc_component = "conference.meet.mirfalah.my"

Component "avmoderation.meet.mirfalah.my" "av_moderation_component"
    muc_component = "conference.meet.mirfalah.my"

Component "lobby.meet.mirfalah.my" "muc"
    storage = "none"
    restrict_room_creation = true
    muc_room_locking = false
    muc_room_default_public_jids = true
VirtualHost "guest.meet.mirfalah.my"
    authentication = "anonymous"
    c2s_require_encryption = false