I am currently on a host that provides free SSL
using Let's Encrypt
where the certificate is automatically renewed every three months. My Android app communicates with my service on that host. Everything was working fine until right after the certificate was renewed. I did not change anything on the app nor the service (did not touch any code).
After debugging the app to see what is going on, I saw the message "Unexpected end of stream on com.android.okhttp.Address." on exception. I assume this issue is related to the renewal somehow. I went and tested my service outside the app and it works fine. After inspecting the certificate on my site, I saw that it displays mail.site.com
instead www.site.com
Could this be what is causing the Unexpected end of stream on com.android.okhttp.Address
issue? I wanted some information before contacting my host.
Thank you.