• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Websocket disconnected

    UniPi 1 - First Generation
    2
    2
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wolge last edited by

      I prefer to run node-red on my raspberry pi with desktop environment.

      When I install "node-red-contrib-unipi-evok" and I insert a unipi flow the websocket node doesn't connect:
      Schermafbeelding 2020-12-19 om 14.38.12.png

      When I install the "Unipi 1.1 Node-RED OS" image on the SD card and start node-red the websocket works fine:
      Schermafbeelding 2020-12-19 om 13.58.43.png
      But in this option I have no desktop environment on my Raspberry Pi.

      I'm trying to find out why the websocket doesn't work in the node-red installed in the first example with desktop environment.

      I don't onderstand way this doesn't work. 😩
      How can i fix this problem?
      Can anyone help me with this?

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @wolge last edited by

        Hello @wolge, from the screenshot it looks like you are using two different URLs. The first one is /ws/127.0.0.1:8080 which is incorrect.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post