question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sporadic reproducible GetListing, Download and other failures: IOException on control connection

See original GitHub issue

This has been reported quite a few times.

What does the failure look like?

Typically, it manifests as an IOException. Depending on the API call being performed, this exception can cause

  • a GetListing result to be empty while the exeption is ignored
  • other commands to fail with an IOException.

If you look closely at the IOException, you might see: an attempt was made to access a socket in a way forbidden by its access permissions

When does it happen?

It happens on an control connection (only if encrypted) when you have issued many API calls (that execute commands and get the response).

Reported by (ignore the incorrect title):

@omanThYp https://github.com/robinrodricks/FluentFTP/issues/104#issuecomment-632437591 @oleksabor https://github.com/robinrodricks/FluentFTP/issues/104#issuecomment-953899294

#752 could such a case, but sadly there is no log

See also #723 : one of the “strange” ways this problem can show up.

A newer issue of this kind: #1130

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
robinrodrickscommented, Dec 1, 2022

Made a small change to only honor SslSessionLength if the FTP connection is using FTPS (IsEncrypted).

If that was not your intention, I can change the behavior, let me know.

0reactions
FanDjangocommented, Dec 1, 2022

This is now released as V42.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

GetListing(recursive) and DownloadDirectory: failures/ ...
Out of 4934 files on FTP server, 4909 downloaded successfully and 25 failed to download (26 per console count). There was one fail...
Read more >
StorageVolume | Android Developers
Errors. GenericSignatureFormatError. java.lang.runtime ... If a valid UUID is returned, it is compatible with other APIs that make use of UUID like ...
Read more >
Release Notes - Java Bug System - OpenJDK
getOutputStream() fails after connect(); [JDK-4192145] - Documentation error: ... intermittent page faults; DosMuxSemWait IOException failures in select ...
Read more >
Serialized Form (Java SE 19 & JDK 19 [build 1])
If the check fails a new FocusEvent instance is returned which cause field equals to FocusEvent.Cause.UNKNOWN and its other fields have the same...
Read more >
Common CHANGES.txt
Updates to test-patch.sh to include failed test names and improve other messaging. ... instead of IOException upon access permission failure.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found