Skip to content

Sending email "Error: Can not use IPv4 addresses with current network" #4114

@colinl

Description

@colinl

Current Behavior

With a flow which can send emails, disconnect all network connections and re-start node-red.
Wait till the startup has completed and then connect the network.
Attempt to send an email. The send fails with the error
"Error: Can not use IPv4 addresses with current network"

Restarting node-red with the network connected allows emails to be sent successfully.

The problem has been reported a number of times on the forum this post for example. I suspect that it occurs regularly on systems connected by wifi, in which case node red may start up before the network connects.

Expected Behavior

No error sending email after the network is re-connected.

Steps To Reproduce

See above

Example flow

No response

Environment

  • Node-RED version: 3.0.2
  • Node.js version: 18.15
  • npm version:
  • Platform/OS: Ubuntu 22.04
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions