Open Node-Red Error on Chrome: "Failed to Fetch"

Discussion in 'Join' started by wohfab, Jan 31, 2019.

  1. wohfab

    wohfab New Member

    Joined:
    Jan 31, 2019
    Messages:
    1
    Likes Received:
    0
    I follow the NotEnoughTech Tutorial.

    When sending a command I get a Chrome Error: "Error Direct Send: Failed to Fetch" and "Couldn't push tasker command: Failed to Fetch"
     
    Last edited: Feb 1, 2019
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,355
    Likes Received:
    711
    On what step are you getting that exactly?
     
  3. Nodle

    Nodle New Member

    Joined:
    Feb 8, 2019
    Messages:
    3
    Likes Received:
    0
    I am also having the same errors, as wohfab when I try to send pushes to NodeRed.

    The port is set to 1820 and 'Send Full Push' is enabled on the Chrome extension. I can send pushes from NodeRed using the 'join message' node, but cannot receive any from my other join devices.

    When sending pushes from android devices to NodeRed, the error message shows my external ip and port 1820 and 'connection refused'.
     
    Last edited: Feb 9, 2019
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,355
    Likes Received:
    711
  5. Nodle

    Nodle New Member

    Joined:
    Feb 8, 2019
    Messages:
    3
    Likes Received:
    0
    I get this: "This site can’t be reached, localhost refused to connect."

    My Join settings is probably not configured properly I guess. I am trying to learn as a go, I am not very knowledgeable.

    My setup:
    24/7 Mini PC with Chrome browser and Join extension:
    -Port 1820, Server IP/Host: Blank, Send Full Push:Ticked
    -With above settings off, Mini PC can send and retrieve Join pushes like it should
    -With settings turned on, Mini PC can still send, but cannot retrieve with no error message on sender (I am assuming this is normal behavior)

    NodeRed on Odroid C2:
    -Port 1820, Manual Public IP/Host: Blank, Manual Local IP/Host: Blank
    -Retrieve push flow is setup just like in NotEnoughTech NodeRed tutorial, but cannot retrieve
    -Send push flow work fine
    -Trying to send push to itself: "Couldn't send push"
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,355
    Likes Received:
    711
    Hmm, if it can't open localhost than something on your system might be blocking. If you created a Join Server inside Node-RED and used a "join received" node, it should be listening for requests...
     
  7. Nodle

    Nodle New Member

    Joined:
    Feb 8, 2019
    Messages:
    3
    Likes Received:
    0
    Finally fix the problem on my end, thanks for the tips Joao!. I was running Node-Red with docker and had to add port 1820 to the container. I also reinstalled and recreated the Node-Red device in the Join app to get everything working. I hope this helps the original poster.
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,355
    Likes Received:
    711
    Great that it now works! :)
     

Share This Page