Back

java.net.SocketException: Software caused connection abort while trying to operate anything in SDK

  • 0
  • Android
  • Cloud
retr122
7 Jul, 2024, 09:19

Hello! I'm creating an Android Java application and using the Appwrite SDK. I've encountered a problem. The fact is that when I try to perform some operation in the SDK and during it the Internet connection disappears, the exception java.net.SocketException: Software caused connection abort is thrown. But I can't process it and display a message on the screen. Below I will post the code and exception:

TL;DR
Developers facing java.net.SocketException when connection drops while using Appwrite SDK in their Android Java application. They are unable to display error message when exception occurs.
retr122
7 Jul, 2024, 09:22
retr122
7 Jul, 2024, 09:22
retr122
7 Jul, 2024, 09:23
retr122
7 Jul, 2024, 09:23

And exception:

retr122
7 Jul, 2024, 09:26
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more