Skip to main content
Question

Stream was already closed exception when using "Fine" logging

  • May 22, 2025
  • 1 reply
  • 26 views

Forum|alt.badge.img

I'm getting the exception "Couldn't finish closing the connection to the Box API due to a network error or because the stream was already closed." when calling the "BoxFolder.canUpload" method. This exception only occurs when I have logging set to "FINE" as outlined on this page:

https://github.com/box/box-java-sdk/blob/main/doc/logging.md

Using the Box Java SDK 3.8.1.

1 reply

Forum|alt.badge.img

Hi 6824075673363

Thank you for reporting this issue. We have already fixed it and have plan to release it soon.

Regards,
Artur