Page 2 of 3

Re: Unable to Connect to remote AIO module with node red

Posted: 05 Oct 2020, 09:02
by Marcos
Hi All,
I need to confess that I didn't note before the noderedrevpinodes-server option on the service tab of the RevPi web interface.

Well, even if I try to flag the "Enable" box, after pushing "SAVE ALL" button, it comes back to "Disabled"

Thanks for any help
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 07 Oct 2020, 07:22
by Marcos
May be of help update distro to buster?
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 13 Oct 2020, 19:14
by Marcos
Dear All,
time on the bench for this RevPi is finished.
Today I've tried several attempts.

Firs: I've tried to restore an image from another working RevPi. Bad idea. Probably because I've used "dd" command, even if the image was written correctly, RvPi wasn't able to boot (of course it wasn't reachable anymore over ssh).

Second: I've installed a fresh stretch release from kunbus web site as per indications both on the web site and in the release note pdf downloaded with the image file.

Once RevPi was on again, I went directly to configure Pictory, then node red but without performing any update or upgrade.

They were necessary some reboots and crosschecks between the web interface and ssh terminal.

Finally, it starts to work.

Question is still the same: why had I that error previously?

Spending dozens of hours for debugging could not be so bad but, spending hours every time this happens to refresh newly a revpi, starts to sound not so good.

Thanks,
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 22 Oct 2020, 10:43
by jgerlach-erminas
Hi Marco,

sorry for the long delay. Have you already tried the workaround for the dependency problem? See here https://revolution.kunbus.de/forum/view ... 7703#p7809

Greetings,
Jones

Re: Unable to Connect to remote AIO module with node red

Posted: 26 Oct 2020, 08:01
by Marcos
Hi Jones,
thanks for your care.
Actually, while I was trying to solve this issue, yes, I also tried that workaround...
No positive results pushed me to reinstall everything by new.
Maybe I'll do some test with a new RevPi I intend to prepare in the next days but I'm a bit scared to update/upgrade os now.
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 27 Oct 2020, 17:26
by h2oil
Have same issue - after new flash with Stretch image all noderedrevpi server cannot be connected to

On RevPi Status unable to save Enable/Disable Node-RED RevPi Nodes Server to Status Enabled

im using Connect+ and 4 x AIO

Re: Unable to Connect to remote AIO module with node red

Posted: 03 Nov 2020, 16:47
by Marcos
Hi, dears,
I confirm there is a bug.

On a new RevPi I've performed the following steps:
  • I Powered on RevPi
  • I had access to web UI to activate services (at first there is not node red to activate)
  • Used Pictory to set up my configuration (RevPi core 3+ and RevPi AIO module ...same as last time)
  • I had access to web UI again to activate node-red service
  • The first node-red activated is an old version ...it has not the palette manager
  • I've updated node-red (

    Code: Select all

    bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
    )
  • Then I've installed node-red-contrib-revpi-nodes through the palette manager
In the end, the same problem. No PINs are available in the input or output nodes to be selected.

Please, check for this issue.
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 03 Nov 2020, 16:53
by h2oil
Marcos wrote: 03 Nov 2020, 16:47 Hi, dears,
I confirm there is a bug.

On a new RevPi I've performed the following steps:
  • I Powered on RevPi
  • I had access to web UI to activate services (at first there is not node red to activate)
  • Used Pictory to set up my configuration (RevPi core 3+ and RevPi AIO module ...same as last time)
  • I had access to web UI again to activate node-red service
  • The first node-red activated is an old version ...it has not the palette manager
  • I've updated node-red (

    Code: Select all

    bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
    )
  • Then I've installed node-red-contrib-revpi-nodes through the palette manager
In the end, the same problem. No PINs are available in the input or output nodes to be selected.

Please, check for this issue.
Marco
Marco has same issue as me (I did same steps)

Re: Unable to Connect to remote AIO module with node red

Posted: 06 Nov 2020, 11:00
by Marcos
Hi Dears,
finally, I've found a solution.
For anybody that has this issue, it needs few simple steps
  • Code: Select all

    sudo wget http://packages.revolutionpi.de/pool/contrib/n/noderedrevpinodes-server/noderedrevpinodes-server_1.0.1_all.deb
  • Code: Select all

    sudo dpkg -i --ignore-depends=nodered /your_file_folder/noderedrevpinodes-server_1.0.1_all.deb
  • Code: Select all

     sudo systemctl start noderedrevpinodes-server
If node red is not running

Code: Select all

node-red-start
.
That's it.
Marco

Re: Unable to Connect to remote AIO module with node red

Posted: 08 Apr 2021, 14:00
by Marcos
Hi Dears, here I am again.
There is the same issue again.
my previous procedure doesn't work any more after the last update.

Connecting to WS Server wss://localhost:8000
ERROR Connection to server error: Client network socket disconnected before secure TLS connection was established
Lost connection to WS Server!

Update

The new server release 1.0.3 requires some new dependencies.

proceed to install
python3-bcrypt
python3-websockets

then after having downloaded new release from github (https://github.com/erminas/noderedrevpi ... r/releases)
install it with

sudo dpkg -i noderedrevpinodes-server_1.0.3_all.deb

Now it works again.