# What am I missing?

**URL:** <https://discourse.nodered.org/t/what-am-i-missing/11380>\
**Category:** General\
**Created:** [21 May 2019 16:57 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380 "2019-05-21T16:57:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 16:57 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/1 "2019-05-21T16:57:45Z")

</div>

Hi, I've just installed node-red and want to test it...  
I've just followed the simplest example in documentation, but it wont run.

[my node-red flow](https://teamwatch.it/img/node-red.png)

Where am I wrong?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 17:11 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/2 "2019-05-21T17:11:00Z")

</div>

The blue dot on the debug node suggests you haven't deployed it

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [21 May 2019 17:11 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/3 "2019-05-21T17:11:02Z")

</div>

Look at the inject node you have not set a repeat time so it will only work when you press the button - on the left side of the node - manually

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 17:15 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/4 "2019-05-21T17:15:09Z")

</div>

I've pressed the "button" left to send\_timestamp (updated the image)

@Steve-Mcl should I do something more than clicking on Deploy?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 17:19 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/5 "2019-05-21T17:19:54Z")

</div>

No. That should be enough.

Try linking your inject to a function block with the below code...

```auto
node.warn("hello world", msg);

```

Then deploy. Then click the inject button.

Does anything appear in the debug side bar?

Ps, do a full browser refresh (ctrl+f5) first.

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 17:25 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/6 "2019-05-21T17:25:32Z")

</div>

How do I should call the function?  
Should I connect to the right side of send\_timestamp?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 17:27 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/7 "2019-05-21T17:27:16Z")

</div>

Yes.

> [@Steve-Mcl](#):
>
> Try linking your inject to a function block with the below code...

Otherwise what would call it?

Don't worry, it will all click soon and you'll be flying.

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 17:33 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/8 "2019-05-21T17:33:05Z")

</div>

Nothing changed... [new image](https://teamwatch.it/img/node-red-2.png) and yes... I've clicked on the button! 😛

I'm earning a lot of badges! I just want the "your first working flow" one!!!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 17:35 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/9 "2019-05-21T17:35:15Z")

</div>

Ok looks like node red has stopped running.

Do you have access to the console?

Copy paste all output here so we can see why it crashed.

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 17:37 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/10 "2019-05-21T17:37:02Z")

</div>

> 21 May 19:26:44 - [info] Started modified nodes  
> 21 May 19:26:44 - [warn] [function:say\_hi] hello world  
> 21 May 19:26:45 - [warn] [function:say\_hi] hello world  
> 21 May 19:26:46 - [warn] [function:say\_hi] hello world  
> 21 May 19:26:47 - [warn] [function:say\_hi] hello world

and so on... one every 1 sec...

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 17:38 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/11 "2019-05-21T17:38:33Z")

</div>

Odd. Seems it is working.

Can you try a different browser?

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 17:48 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/12 "2019-05-21T17:48:53Z")

</div>

Google Chrome  
Google Chrome è aggiornato  
Versione 74.0.3729.157 (Build ufficiale) (a 64 bit)

Firefox Quantum  
66.0.5 (64 bit)

Firefox Quantum (made an update in the meanwhile...)  
67.0 (64 bit)

Microsoft Edge 42.17134.1.0

Internet Explorer 11 v11.765.17134.0

All the some thing... ☹  
If I send u the url node-red will let u in?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 18:24 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/13 "2019-05-21T18:24:08Z")

</div>

PM the URL, username and password and I'll take a look for you.

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 18:34 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/14 "2019-05-21T18:34:31Z")

</div>

I can not find how to send a PM, do you have [Telegram](http://removed.url)?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 18:43 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/15 "2019-05-21T18:43:32Z")

</div>

Can't you click my avatar (icon) then click message?

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 18:45 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/16 "2019-05-21T18:45:01Z")

</div>

I don't see... any way to send a PM.... maybe because I'm too newbie?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 18:52 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/17 "2019-05-21T18:52:59Z")

</div>

possibly.

I suspect your server / firewall is blocking web sockets...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/28582fcd0cd5034c40d6adbdb234d7e0643d227c.png)

do you have access to the server? If you can RDP or VNC to its desktop, try accessing it via [http://localhost:1880](http://localhost:1880) on the server (assuming port number is 1880)

Hope that helps.

---

<div class="post-metadata">

**Author:** ![maxxam](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@maxxam](https://discourse.nodered.org/u/maxxam)\
**Post date:** [21 May 2019 18:56 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/18 "2019-05-21T18:56:38Z")

</div>

Is it possible that it doesn't works becouse I've http (port 80) disabled?  
The server only accept https connections...

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 19:01 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/19 "2019-05-21T19:01:08Z")

</div>

could be. I dont know - perhaps someone who does know can answer?

Maybe start a new thread asking "Cant see Debug output due to websocket 404" and post my screen shot?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2019 19:02 UTC](https://discourse.nodered.org/t/what-am-i-missing/11380/20 "2019-05-21T19:02:09Z")

</div>

oh and before I forget - please secure your node-red ASAP...

[https://nodered.org/docs/security](https://nodered.org/docs/security)

[Next page](https://discourse.nodered.org/t/what-am-i-missing/11380.md?page=2)
