Comments (11)
Hi, is there a reason you've raised this on the node-red-nodes repository? Do you think this is related to one of the nodes in this repository?
Can you also provide any more context, such as what nodes you're using in your flows, what version of node-red, version of node etc.
from node-red-nodes.
Oops sorry I thought this was a separate repository specific to the wake on lan node.
This is with node 0.9.1 and the latest version of the node-red-nodes repo.
Here are the nodes :
[{"id":"9630f981.69cf08","type":"wake on lan","mac":"C8:60:00:E9:42:06","name":"Macy's","x":481,"y":147,"z":"17165199.e8e9ae","wires":[]},{"id":"44ed5efe.bb12a","type":"wake on lan","mac":"30:85:A9:A4:4F:C1","name":"Sagrada","x":485,"y":188,"z":"17165199.e8e9ae","wires":[]},{"id":"ef576cb9.10a89","type":"wake on lan","mac":"60:A4:4C:22:11:85","name":"Mandalay Bay","x":505,"y":226,"z":"17165199.e8e9ae","wires":[]},{"id":"ec6a83dc.13958","type":"wake on lan","mac":"60:A4:4C:E8:2F:9E","name":"Oakley","x":479,"y":101,"z":"17165199.e8e9ae","wires":[]},{"id":"50e8c802.af1738","type":"inject","name":"","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"","once":false,"x":198,"y":115,"z":"17165199.e8e9ae","wires":[["ec6a83dc.13958","9630f981.69cf08","44ed5efe.bb12a","ef576cb9.10a89"]]}]
from node-red-nodes.
Just noticed my first paste did not work properly,
here's the good error:
18 Nov 11:53:29 - [red] Uncaught Exception:
18 Nov 11:53:29 - Error: Not running
at Socket._healthCheck (dgram.js:420:11)
at Socket.close (dgram.js:327:8)
at Object.post_write [as cb] (/home/pi/node-red/node_modules/wake_on_lan/wake_on_lan.js:54:14)
at Object.afterSend [as oncomplete] (dgram.js:322:9)
from node-red-nodes.
Hi - how often does this occur ? What hardware is this on ?
I've tried adding extra target macs and hitting it 20 times a sec and I can't get it to fail (yet).
from node-red-nodes.
It's on a Raspberry pi. It's been pretty erratic, I had it work fine for a couple of days. Then started having some problems yesterday. The script also has some exec nodes firing at the same time, maybe it's related ?
Here's the full node:
[{"id":"9fae20b6.6051e","type":"wake on lan","mac":"C8:60:00:E9:42:06","name":"Macy's","x":444,"y":157,"z":"3ded94a6.c2126c","wires":[]},{"id":"cb6ca32d.34936","type":"wake on lan","mac":"30:85:A9:A4:4F:C1","name":"Sagrada","x":448,"y":198,"z":"3ded94a6.c2126c","wires":[]},{"id":"19507218.e6af8e","type":"wake on lan","mac":"60:A4:4C:22:11:85","name":"Mandalay Bay","x":468,"y":236,"z":"3ded94a6.c2126c","wires":[]},{"id":"18b3214.fe74cdf","type":"wake on lan","mac":"60:A4:4C:E8:2F:9E","name":"Oakley","x":442,"y":111,"z":"3ded94a6.c2126c","wires":[]},{"id":"c3124c63.3cedb","type":"exec","command":"ssh [email protected] \"caffeinate -u -t 1\"","append":"","useSpawn":"","name":"Wake TimeTower","x":335,"y":350,"z":"3ded94a6.c2126c","wires":[["4ed291fc.b12d7"],["4ed291fc.b12d7"],["4ed291fc.b12d7"]]},{"id":"a0745a4d.5f8ba8","type":"exec","command":"ssh [email protected] \"caffeinate -u -t 1\"","append":"","useSpawn":"","name":"Wake Atlantic","x":325,"y":405,"z":"3ded94a6.c2126c","wires":[["d553d256.2aac3"],["d553d256.2aac3"],["d553d256.2aac3"]]},{"id":"4ed291fc.b12d7","type":"debug","name":"WakeTimeTower","active":true,"console":"false","complete":"payload","x":600,"y":345,"z":"3ded94a6.c2126c","wires":[]},{"id":"d553d256.2aac3","type":"debug","name":"WakeAtlantic","active":true,"console":"false","complete":"payload","x":585,"y":416,"z":"3ded94a6.c2126c","wires":[]},{"id":"eb022b2d.14fdd8","type":"inject","name":"","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"","once":false,"x":161,"y":125,"z":"3ded94a6.c2126c","wires":[["18b3214.fe74cdf","9fae20b6.6051e","cb6ca32d.34936","19507218.e6af8e","c3124c63.3cedb","a0745a4d.5f8ba8"]]}]
from node-red-nodes.
Have pushed a small update to the repo (not npm yet) - that adds a try catch around the call - but it may not catch it :-).... Have also asked the upstream package owner to see if he will update his module to check for the socket's existence before trying to close it. (I think occasionally we must be getting overlapping requests - and one is closing it before the other has finished using it so the second then fails to close it.
Will leave open for you to report back, and to remember to check upstream.
from node-red-nodes.
Great thanks, leaving link to upstream issue here for reference:
agnat/node_wake_on_lan#2
from node-red-nodes.
OK - he's fixed it upstream... needs his latest from npm 0.0.4
I leave the try/catch in for now. See how it goes.
I'll push to npm when we are happy.
from node-red-nodes.
Thanks ! Will test !
from node-red-nodes.
Hi @natcl - any signs of continued failure ? Can we close this issue ?
from node-red-nodes.
Closing this issue as I think it's now fixed... please re-open if not.
from node-red-nodes.
Related Issues (20)
- specify module version in function
- Traceability of a product using node red HOT 1
- SNMPv3 - error:0308010C:digital envelope routines::unsupported HOT 7
- Error when using Arduino Out and Arduino In nodes trough node-red-node-arduino package HOT 2
- the missing part in DE translation HOT 1
- node-red-node-sqlite - DB filename doesn't support underscore HOT 3
- Arduino-Node lost connection HOT 3
- PiGPIOd Feature request: set `host` dynamically HOT 2
- Feature Request: Extracting EXIF Data for Camera Orientation and Positioning HOT 4
- Another editor bug when checking misconfigured nodes occurs with the email node HOT 5
- Can't send emails using fresh install + `node-red-node-email` on Raspberry Pi/Debian HOT 4
- node-red-nodes-wol mac address format sample HOT 1
- [node-red-node-pi-gpio] on Venus OS and other non raspian OS
- Node-red Serial port output node, response time too long. HOT 5
- Node-red does not run on a FIPS crypto policy enabled OS HOT 2
- [Vulnerability] nodemailer ReDoS when trying to send a specially crafted email.
- EMAIL (node-red-node-email) , If msg.to is defined msg.paiload is ignored HOT 3
- node-red-node-email, send node "ReferenceError: msg is not defined" on deploy HOT 1
- node-red-node-email: authentication: none broken HOT 5
- select sqlite fail response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-nodes.