# Uibuilder node not connecting to web page

**URL:** <https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [16 May 2022 00:12 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659 "2022-05-16T00:12:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emnabk\_12](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emnabk_12/32/59752_2.png) [@emnabk\_12](https://discourse.nodered.org/u/emnabk_12)\
**Post date:** [16 May 2022 00:12 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659/1 "2022-05-16T00:12:57Z")

</div>

Hey, I keep getting this error, i don't know what the issue is , the web page is displayed correctly but the node can't connect to it. It always shows "node initialized" instead of connected 1.

 ![Screenshot 2022-05-16 010919](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/3/03ee1783dd6e4ed67f3c8b4bc7c78c60fd3cbf08.png)

Error : "[uibuilder:nodeInstance] No valid URL provided. Cannot set up this uibuilder instance"

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 May 2022 10:52 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659/2 "2022-05-16T10:52:06Z")

</div>

Can you confirm that you are using uibuilder v5.0.2?

Also, can you please share the initial tab in the settings so I can see what you've put in there?

Thanks.

---

<div class="post-metadata">

**Author:** ![emnabk\_12](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/emnabk_12/32/59752_2.png) [@emnabk\_12](https://discourse.nodered.org/u/emnabk_12)\
**Post date:** [16 May 2022 13:29 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659/3 "2022-05-16T13:29:14Z")

</div>

Actually it worked when I added this

```auto
 <script src="../uibuilder/vendor/socket.io/socket.io.js"></script>

```

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 May 2022 21:16 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659/4 "2022-05-16T21:16:12Z")

</div>

Yes, that is required by the current version as shown by the templates available to you. This is the index.html file from the "blank" template:

```nohighlight
<!doctype html>
<html lang="en"><head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Blank template - Node-RED uibuilder</title>
    <meta name="description" content="Node-RED uibuilder - Blank template">
    <link rel="icon" href="./images/node-blue.ico">

    <!-- Your own CSS -->
    <link type="text/css" rel="stylesheet" href="./index.css" media="all">

</head><body class="uib">
    
    <h1>uibuilder Blank Template</h1>

    <button onclick="fnSendToNR('A message from the sharp end!')">Send a msg back to Node-RED</button>

    <pre id="msg" class="syntax-highlight">Waiting for a message from Node-RED</pre>

    <!-- #region Supporting Scripts. These MUST be in the right order. Note no leading / -->
    <script src="../uibuilder/vendor/socket.io/socket.io.js">/* REQUIRED: Socket.IO is loaded only once for all instances. Without this, you don't get a websocket connection */</script>
    <script src="./uibuilderfe.min.js">/* REQUIRED: remove 'min.' to use dev version */</script>
    <script src="./index.js">/* OPTIONAL: Put your custom code here */</script>
    <!-- #endregion -->

</body></html>

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 May 2022 21:16 UTC](https://discourse.nodered.org/t/uibuilder-node-not-connecting-to-web-page/62659/5 "2022-05-30T21:16:19Z")

</div>

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