Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

scratch won't connect to tello drone

jboxer

New member
Joined
Nov 30, 2020
Messages
1
Reaction score
0
My tello drone won't connect to my scratch application.

When I run the command "node Tello.js" in the command prompt, this is the error message I get:

---------------------------------------
Tello Scratch Ext running at http://127.0.0.1:8001/
---------------------------------------
events.js:291
throw er; // Unhandled 'error' event
^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_http_outgoing.js:653:15)
at ServerResponse.end (_http_outgoing.js:773:7)
at Server.<anonymous> (C:\Users\jack\Downloads\Scratch\Scratch\Tello.js:151:11)
at Server.emit (events.js:314:20)
at parserOnIncoming (_http_server.js:782:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
Emitted 'error' event on ServerResponse instance at:
at writeAfterEndNT (_http_outgoing.js:712:7)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}

Does anyone know how I can fix this?
 

Nigel Jones

New member
Joined
Dec 12, 2020
Messages
1
Reaction score
0
Hi, I have a similar problem. Did anyone locate a fix for you?

---------------------------------------
Tello Scratch Ext running at http://127.0.0.1:8001/
---------------------------------------
events.js:292
throw er; // Unhandled 'error' event
^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_http_outgoing.js:668:15)
at ServerResponse.end (_http_outgoing.js:788:7)
at Server.<anonymous> (C:\Users\Nigel\Downloads\Scratch\Scratch\tello.js:151:11)
at Server.emit (events.js:315:20)
at parserOnIncoming (_http_server.js:874:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
Emitted 'error' event on ServerResponse instance at:
at writeAfterEndNT (_http_outgoing.js:727:7)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}
 

MolePilot

New member
Joined
Jan 9, 2021
Messages
2
Reaction score
0
Hi, I have a similar problem. Did anyone locate a fix for you?

---------------------------------------
Tello Scratch Ext running at http://127.0.0.1:8001/
---------------------------------------
events.js:292
throw er; // Unhandled 'error' event
^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_http_outgoing.js:668:15)
at ServerResponse.end (_http_outgoing.js:788:7)
at Server.<anonymous> (C:\Users\Nigel\Downloads\Scratch\Scratch\tello.js:151:11)
at Server.emit (events.js:315:20)
at parserOnIncoming (_http_server.js:874:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
Emitted 'error' event on ServerResponse instance at:
at writeAfterEndNT (_http_outgoing.js:727:7)
at processTicksAndRejections (internal/process/task_queues.js:81:21) {
code: 'ERR_STREAM_WRITE_AFTER_END'
}
I had the same issue and contacted Tello customer support. They suggested using Node JS version 8 and this worked for me!
 

New Threads

Members online

Forum statistics

Threads
4,878
Messages
35,563
Members
12,878
Latest member
MitchyWitchy