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?
 
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'
}
 
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!
 
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'
}
Download Node js version 12.14
 
Hi
I'm trying to connect to the Tello EDU through scratch
Been through the setup
- running nodeJS v 16.14.2 LTS to get Tello Scratch Ext running on http://127.0.0.1:8889
- connect to Tello drone Wifi
- run Scratch with Tello extensions

But cannot connect to the drone
- drone continues to 'yellow flash' showing no connection
- Scratch shows 'red' light on Tello Control with 'cannot find helper app'

Should be straight forward but not so
Any ideas?
 
Hi
I'm trying to connect to the Tello EDU through scratch
Been through the setup
- running nodeJS v 16.14.2 LTS to get Tello Scratch Ext running on http://127.0.0.1:8889
- connect to Tello drone Wifi
- run Scratch with Tello extensions

But cannot connect to the drone
- drone continues to 'yellow flash' showing no connection
- Scratch shows 'red' light on Tello Control with 'cannot find helper app'

Should be straight forward but not so
Any ideas?
You need to use an older version of NodeJS. See my download link for V12 above.
 
La versione 12.14 ha funzionato per me. Grazie! Ecco la pagina di download per questa versione:

Indice di /download/release/v12.14.0/
anche io ho lo stesso problema. mi puoi aiutare a capire come fare a installarlo? ho scaricato il .exe ma quando lo apre non parte la installazione ma si apre una finestra prompt:
Benvenuto in Node.js v12.14.0.
Digita ".help" per ulteriori informazioni.
>

non so come proseguire, sono andato su help ma non saprei che fare.
grazie per eventuali info.
 
anche io ho lo stesso problema. mi puoi aiutare a capire come fare a installarlo? ho scaricato il .exe ma quando lo apre non parte la installazione ma si apre una finestra prompt:
Benvenuto in Node.js v12.14.0.
Digita ".help" per ulteriori informazioni.
>

non so come proseguire, sono andato su help ma non saprei che fare.
grazie per eventuali info.
Maybe try downloading the .msi instead of the .exe and see if that works.
 

Members online

No members online now.

Forum statistics

Threads
5,696
Messages
39,955
Members
17,054
Latest member
Soccer843