Strophe: BOSH-Connection failed: improper-addressing

Trying to connect prosody an error occurs.

Logger.js:154 2021-06-07T09:43:16.843Z [modules/xmpp/strophe.util.js] <Object.r.Strophe.log>:  Strophe: BOSH-Connection failed: improper-addressing

lib-jitsi-meet config below

const options = {
      hosts: {
        domain: "meet.sys5.co",
        muc: "muc.sys5.co",
        focus: "focus.sys5.co",
      },
      externalConnectUrl: "https://meet.sys5.co/http-pre-bind",
      enableP2P: true,
      p2p: {
        enabled: true,
        preferH264: true,
        disableH264: true,
        useStunTurn: true,
      },
      useStunTurn: true,
      bosh: `https://meet.sys5.co/http-bind?room=${roomName}`,
      websocket: "wss://meet.sys5.co/xmpp-websocket",
    };

jitsi-meet.cfg.lua config below

cross_domain_websocket = true
cross_domain_bosh = true


VirtualHost "sys5.co"


    authentication = "internal_hashed"


    ssl = {
        key = "/config/certs/sys5.co.key";
        certificate = "/config/certs/sys5.co.crt";
    }
    modules_enabled = {
        "bosh";

        "websocket";
        "smacks"; -- XEP-0198: Stream Management

        "pubsub";
        "ping";
        "speakerstats";
        "conference_duration";

        "muc_lobby_rooms";
        "muc_lobby_rooms";



    }


    main_muc = "muc.sys5.co"
    lobby_muc = "lobby.sys5.co"

    muc_lobby_whitelist = { "recorder.sys5.co" }



    speakerstats_component = "speakerstats.sys5.co"
    conference_duration_component = "conferenceduration.sys5.co"

    c2s_require_encryption = false


VirtualHost "guest.sys5.co"
    -- https://github.com/jitsi/docker-jitsi-meet/pull/502#issuecomment-619146339

    authentication = "token"

    app_id = ""
    app_secret = ""
    allow_empty_token = true

    c2s_require_encryption = false


VirtualHost "auth.sys5.co"
    ssl = {
        key = "/config/certs/auth.sys5.co.key";
        certificate = "/config/certs/auth.sys5.co.crt";
    }
    authentication = "internal_hashed"


VirtualHost "recorder.sys5.co"
    modules_enabled = {
      "ping";
    }
    authentication = "internal_hashed"


Component "internal-muc.sys5.co" "muc"
    storage = "memory"
    modules_enabled = {
    authentication = "internal_hashed"


VirtualHost "recorder.sys5.co"
    modules_enabled = {
      "ping";
    }
    authentication = "internal_hashed"


Component "internal-muc.sys5.co" "muc"
    storage = "memory"
    modules_enabled = {
        "ping";

    }
    muc_room_locking = false
    muc_room_default_public_jids = true

Component "muc.sys5.co" "muc"
    storage = "memory"
    modules_enabled = {
        "muc_meeting_id";


    }
    muc_room_cache_size = 1000
    muc_room_locking = false
    muc_room_default_public_jids = true

Component "focus.sys5.co" "client_proxy"
    target_address = "focus@auth.sys5.co"

Component "speakerstats.sys5.co" "speakerstats_component"
    muc_component = "muc.sys5.co"

Component "conferenceduration.sys5.co" "conference_duration_component"
    muc_component = "muc.sys5.co"


Component "lobby.sys5.co" "muc"
    storage = "memory"
    restrict_room_creation = true
    muc_room_locking = false
    muc_room_default_public_jids = true

Looking at your config this should be: bosh: https://sys5.co/http-bind…`

Solved. Thanks a lot.