# Facing issue while running the app

**URL:** <https://forum.techsoft3d.com/t/facing-issue-while-running-the-app/4568>\
**Category:** HOOPS Visualize Web\
**Created:** [April 17, 2025, 9:37am UTC](https://forum.techsoft3d.com/t/facing-issue-while-running-the-app/4568 "2025-04-17T09:37:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nivedita.srivastava](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@nivedita.srivastava](https://forum.techsoft3d.com/u/nivedita.srivastava)\
**Post date:** [April 17, 2025, 9:37am UTC](https://forum.techsoft3d.com/t/facing-issue-while-running-the-app/4568/1 "2025-04-17T09:37:31Z")

</div>

_0_ URL: The standard URL constructor: [URL: URL() constructor - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)

- _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”}  
)  
⚠ nested operation

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [April 17, 2025, 11:47am UTC](https://forum.techsoft3d.com/t/facing-issue-while-running-the-app/4568/2 "2025-04-17T11:47:53Z")

</div>

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
