Skip to content

node-red-node-wemo uncaught exception on EHOSTUNREACH #791

@Achronite

Description

@Achronite

Which node are you reporting an issue on?

node-red-node-wemo v0.2.0

What are the steps to reproduce?

Switch off the mains power to a wemo switch, and try to use the wemo-lookup node to query the status of the device.

What happens?

Node-red crashes with:
2 Apr 19:06:08 - [red] Uncaught Exception:
2 Apr 19:06:08 - Error: connect EHOSTUNREACH 192.168.86.22:49153
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)

What do you expect to happen?

Device should respond with output msg to say it is unreachable, node-red should not crash.

Please tell us about your environment:

  • Node-RED version: v1.2.5
  • node.js version: v10.19.0
  • npm version: 6.13.4
  • Platform/OS: rPi raspbian
  • Browser: firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions