shuttie / async-ftp-client

Async FTP client written in Scala
5 stars 5 forks source link

Broken on Scala 2.11.5 and akka 2.3.7 #2

Open l15k4 opened 9 years ago

l15k4 commented 9 years ago

Hey,

I just gave it a shot, but the Download example gets stuck infinitely here :

[INFO] [02/02/2015 12:44:30.642] [default-akka.actor.default-dispatcher-4] [akka://default/user/$a/client/command_connection] sending PASS test@evil.com
[INFO] [02/02/2015 12:44:30.764] [default-akka.actor.default-dispatcher-3] [akka://default/user/$a/client/command_connection] received multiline 230 ****** WARNING ** WARNING ** WARNING ** WARNING ** WARNING ******

I cannot figure out why

l15k4 commented 9 years ago

It's probably caused by some minor FTP protocol change (in regards to ftp://ftp.ncdc.noaa.gov), not the version of Scala and Akka, it's quite non-deterministic...

l15k4 commented 9 years ago

Ftp listing is working, but at the end 2 messages Tcp$Close and Suspend go to DeadLetters. It is not easy to find the problem, seems to be a bug/race condition...