# Adding a Flow to this website

**URL:** <https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350>\
**Category:** Share Your Projects\
**Created:** [20 February 2021 13:48 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350 "2021-02-20T13:48:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [20 February 2021 13:48 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/1 "2021-02-20T13:48:10Z")

</div>

Not been member long but I added a Project flow to the Flows part of this website a week ago no problem. I can also see it on my Github account.

Now I've come to add another and it's just not working! All 4 boxes have something in, pressing the Create Flow button, I get the spinning timer for a few seconds and then nothing. The new flow is not added. No error messages or anything.

What am I doing wrong?

---

<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:** [20 February 2021 16:40 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/2 "2021-02-20T16:40:09Z")

</div>

Do you get an error in your browser console?

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [20 February 2021 17:16 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/3 "2021-02-20T17:16:12Z")

</div>

Never been in Browser Console before so not sure what I am looking at! This appears to be showing something is wrong...

Does it help?

```auto
Failed to load resource: the server responded with a status of 413 ()
/flow:1
flow:286 ERROR Object
jquery-1.9.1.js:8526
POST https://flows.nodered.org/flow 413
send @ jquery-1.9.1.js:8526
ajax @ jquery-1.9.1.js:7978
jQuery.<computed> @ jquery-1.9.1.js:7614
(anonymous) @ flow:279
dispatch @ jquery-1.9.1.js:3074
elemData.handle @ jquery-1.9.1.js:2750
flow:286
ERROR {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}

```

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [20 February 2021 17:43 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/4 "2021-02-20T17:43:33Z")

</div>

> [@Wingnut](#):
>
> `413`

The HTTP _413_ Payload Too Large response status code indicates that the request entity is larger than limits defined by _server_

do you have access to the server? I get same error in nginx if i dont set client\_max\_body\_size to the payload im sendings size or greater.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [20 February 2021 18:15 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/5 "2021-02-20T18:15:01Z")

</div>

The Flow has got ~240 nodes in it and the narrative is quite long. I'll try leaving the narrative out and then editing the post.  
I don't have access to the server - what, like doing an FTP instead?

Edit. No that didn't work!

Could I split the flow into 2 and get anyone downloading them to merge them back together?

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [20 February 2021 18:45 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/6 "2021-02-20T18:45:33Z")

</div>

@Wingnut. I have a testing virtual server that is paid out till 04/02/2021  
1GB Ram 30GB SSD 1CPU Core  
Want me to set that up for you with node-red for testing? you can have it till it shuts down?  
might not be powerful enough for your needs but its just sitting there doing nothing.

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [20 February 2021 19:47 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/7 "2021-02-20T19:47:13Z")

</div>

Well I got bored. check your messages for url / account / password details.

I set client\_max\_body\_size 128M; that's 128MB if you still get 413 error increase it.

```auto
sudo nano /etc/nginx/nginx.conf

```

you have full root and a user account with sudo rights  
Change all the passwords if you like. I don't need access.  
you can disable root login via ssh by opening the /etc/ssh/sshd\_config file

```auto
sudo nano /etc/ssh/sshd_config

```

uncoment and edit Password Authentication to no

```auto
PasswordAuthentication no

```

Do what every you like on it ... server is $2.99 USD a month for this little guy if you want to pay and spinning up your own. [https://servercheap.net](https://servercheap.net) \<----not paid or receive any compensation. I just like using them.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [20 February 2021 19:56 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/8 "2021-02-20T19:56:26Z")

</div>

@meeki007 I'm not clear why you are offering up a server here. The question is about adding a flow to [flows.nodered.org](http://flows.nodered.org) - and the flow/description from @Wingnut is too big for the site.

I'll take a look at improving the error reporting and whether these limits can be raised at all.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [20 February 2021 19:59 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/9 "2021-02-20T19:59:09Z")

</div>

meeki007 - that sounds very generous but I have no idea what I would be doing. I only stumbled on Home Assistant and Node-Red a couple of months ago, and i'm only vaguely familiar with unix.

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [20 February 2021 20:00 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/10 "2021-02-20T20:00:46Z")

</div>

@knolleary

Well that ....\*meeki takes swigg from 3rd Sat beer" clears it up.  
I thought he was trying to import a Project to his node-red server.  
[https://nodered.org/docs/user-guide/projects](https://nodered.org/docs/user-guide/projects)

back to enjoying beer and answering questions incorrectly on the forums 😛

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [20 February 2021 20:01 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/11 "2021-02-20T20:01:48Z")

</div>

@Wingnut

well the server is setup and I bought it for 3 months and I never use it.  
Play with it......break it.......expand your mind

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [20 February 2021 20:07 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/12 "2021-02-20T20:07:05Z")

</div>

If it helps, the Flow has 93,393 characters in it (according to Windows Notepad).

---

<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:** [20 February 2021 21:16 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/13 "2021-02-20T21:16:48Z")

</div>

If Nick can't change the limits on the flow site, I recommend putting the whole thing into a GitHub repository instead and then simply write the intro in the flow along with the link to the actual file in GitHub and leave out the flow itself. I think I had to do that once.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [21 February 2021 07:42 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/14 "2021-02-21T07:42:47Z")

</div>

OK, I'll try that but having looked, I need some advice.

The Flow that I uploaded a week ago through Node-Red is in an area called a gist and is 'Secret'. I can see there are other areas to upload to called Repositories and Projects with 'Public' or 'Private' visibility.

Which area should I use and should it be 'Public' (I'm guessing yes to the second question).

---

<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:** [21 February 2021 10:37 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/15 "2021-02-21T10:37:42Z")

</div>

The flows site is quite clever. It uses GitHub gists as the source for the flow using a specific layout.

You can make the gist public if you like, but probably best to move things into a full GitHub repository then you can empty the flow file in the gist ( I think you need to leave it in place, just empty). You can put the commentary into a README.md file in the repo and then leave whatever commentary you want to see in the flow in the gist. That should hopefully let the flow site catch up. If not, then delete the gist and start a new flow entry with just some commentary and a link to the repo.

---

<div class="post-metadata">

**Author:** ![Wingnut](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wingnut/32/32851_2.png) [@Wingnut](https://discourse.nodered.org/u/Wingnut)\
**Post date:** [22 February 2021 13:51 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/16 "2021-02-22T13:51:16Z")

</div>

Well, I tried the gists approach first and it seems to have gone in with no problems. I made it public too. Here's the link...

> <https://gist.github.com/richardsg307/9abafd9b15b7fa5bbbf577f35c444ec6#file-flow-json>

Is that sufficient? Nothing has popped up on my Node-Red flows web page!

---

<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:** [22 February 2021 13:58 UTC](https://discourse.nodered.org/t/adding-a-flow-to-this-website/41350/17 "2021-02-22T13:58:39Z")

</div>

You need to ask it to refresh:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18df587da583a7440f63524b0a41ba8c0664add1.png)
