Facing issue while running the app

0 URL: The standard URL constructor: URL: URL() constructor - Web APIs | MDN

  • 1 new FreeVar(Blob)(
    [
    “var socket;self.onmessage = function (event) {\tif (event.data.constructor === ArrayBuffer) {\t\tsocket.send (event.data);\t} else if (event.data[0] === "connect") {\t\tsocket = new WebSocket (event.data[1]);\t\tsocket.binaryType = "arraybuffer";\t\tvar token = event.data[2];\t\tsocket.onclose = function (event) {\t\t\tself.postMessage (["close", token]);\t\t};\t\tsocket.onerror = function (event) {\t\t\tself.postMessage (["error", token]);\t\t};\t\tsocket.onopen = function (event) {\t\t\tself.postMessage (["open", token]);\t\t};\t\tsocket.onmessage = function (event) {\t\t\tself.postMessage (["data", event.data, token], [event.data]);\t\t};\t} else if (event.data[0] === "close") {\t\tsocket.close ();\t}}”
    ],
    {“type”: “application/javascript”}
    )
    :warning: nested operation

Hello @nivedita.srivastava,

Admittedly, it’s not clear to us the context upon which the message your referenced is coming from. Are you also getting message something to the effect of:

Failed to construct 'WebSocket': The URL '[object Object]' is invalid

Thanks,
Tino