Unreliable Operation: FTP, Telnet, Power, ...

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
mhepp
Posts: 19
Joined: Thu May 28, 2015 5:50 pm

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by mhepp » Thu Oct 22, 2015 6:02 pm

Yes, i also found that when the FTP client does not observe the constraints (e.g. trying TLS or opening a second connection), the whole system seems to freeze. I tested this by running a loop in a Telnet window, which suddenly stopped when the FTP client opened a second connection.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Thu Oct 22, 2015 6:05 pm

Yes I am aware that other clients can make it crash. I'll work on that soon.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by deshipu » Thu Oct 22, 2015 6:12 pm

I found out how to see what commands are being sent by lftp, and it looks like this:

Code: Select all

---- Connecting to 192.168.0.17 (192.168.0.17) port 21
<--- 220 Micropython FTP Server
---> FEAT
<--- 332                         
---> AUTH TLS
<--- 332                        
---> USER micro
At this pooint WiPy probably crashes, as it becomes unresponsive and the heartbeat LED stops blinking. I can totally understand that TLS is not supported, but I'm quite sure it shouldn't cause the board to crash.

UPDATE: "set ftp:ssl-allow no" makes it work just fine, so that must be it.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Thu Oct 22, 2015 6:17 pm

Thanks deshipu!
I can totally understand that TLS is not supported, but I'm quite sure it shouldn't cause the board to crash.
I agree! I need to investigate why it crashes when a secure connection is attempted.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Thu Oct 22, 2015 6:26 pm

I think what will help future users to avoid my problems is adding a one-page instruction sheet to the box that
Thanks, that's a good idea.

hugohase
Posts: 11
Joined: Fri Oct 23, 2015 6:21 pm

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by hugohase » Fri Oct 23, 2015 6:40 pm

Hallo, same Problem here:

Hallo, just received wipy from Kickstarter.
MicroPython v1.5-1-ge954604 on 2015-10-21; WiPy with CC3200

MAC:
Raw Yosemite FTP -> NO.
Forklift -> NO.
YummyFTP 1.1 MAC APP STORE -> YES. See Pic attached.
Attachments
Bildschirmfoto 2015-10-23 um 20.37.18.png
Bildschirmfoto 2015-10-23 um 20.37.18.png (224.68 KiB) Viewed 8128 times

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Wed Oct 28, 2015 11:58 am

Hi all,

The crash issues when a secured or multiple FTP connections are attempted should be fixed now. Damien has setup a daily build of the WiPy here: http://micropython.org/download/ , feel free to test it and let us know if the FTP problems are gone. Thanks!

Cheers,
Daniel

xyb
Posts: 7
Joined: Fri Dec 13, 2013 12:59 pm

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by xyb » Mon Nov 02, 2015 1:40 pm

danicampora wrote:Hi all,

The crash issues when a secured or multiple FTP connections are attempted should be fixed now. Damien has setup a daily build of the WiPy here: http://micropython.org/download/ , feel free to test it and let us know if the FTP problems are gone. Thanks!

Cheers,
Daniel
I have flashed, it works! Thank you, Daniel!

Code: Select all

$ lftp 192.168.6.111
lftp 192.168.6.111:~> user micro python
lftp micro@192.168.6.111:~> ls
drw-rw-r--   1 root  root         0 Jan  1  2015 flash
lftp micro@192.168.6.111:/> mirror -R flash flash
Total: 1 directory, 10 files, 0 symlinks
New: 1 file, 0 symlinks
To be removed: 2 directories, 0 files, 0 symlinks
2 errors detected
PYBv1.0, WiPy

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Mon Nov 02, 2015 1:42 pm

Hi xyb!

Great :-) Thanks for the feedback!

Cheers,
Daniel

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Unreliable Operation: FTP, Telnet, Power, ...

Post by danicampora » Mon Nov 02, 2015 1:43 pm

2 errors detected
What's that about? Any idea what are the errors that lftp refers to?

Post Reply