On Mon, 2 Aug 2021 at 14:23, sebb <[email protected]> wrote:
>
> We are using ftpserver to test Commons NET, and started getting
> failures when using Java 11+ on GitHub.
>
> The login sequence times out.
>
> After adding trace in NET and ftpserver, it appeared that the USER
> command is not being seen by ftpserver for some requests.
>
> The problem disappears when a short sleep (200ms) is added just before
> sending the USER command.
>
> Is it possible that there is some asynchronous work being done by
> ftpserver that needs to be allowed to complete before it is ready for
> the next request?
>
> It's a bit odd, but the problem does not occur with Java 8, and only
> seems to occur in the GitHub action tests. This makes it harder to
> debug.
>
> Any suggestions?

Just seen https://issues.apache.org/jira/browse/DIRMINA-1145 which
looks to be a similar issue?

> The test case is here:
> https://github.com/apache/commons-net/blob/master/src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
>
> I can maybe provide a simpler test case.
>
> Sebb

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to