Open jmosbech opened 6 years ago
Unfortunately, I'm not actively working on this port anymore. Based on your description and knowing what little I do about iOS platform, my guess is that iOS is suspending or even terminating network connections -- I believe it does this and other similar operations to mange power consumption by background tasks.
Is your other app that uses le_dotnet also an iOS app or Android? If iOS, I would recommend switching to le_dotnet as it's the more official library for LE.
Thanks! Appreciate your answer and the time you invested in the package. We will be looking at the
le_dotnet
package instead.
Edit: le_dotnet is not working on Xamarin. We switched to Serilog and the Logentries sink, and it seems to be working better.
Hello,
When using the library in a Xamarin/iOS app we're seeing these exceptions quite often:
System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down.
We have not been able to figure exactly how to trigger them, but they seem to appear when the app is terminating or going to the background.
The full stack trace is here:
We have not seen this behaviour in the le_dotnet library which we are using in another app.
Do you have any ideas for a fix?