Retrofit network calls fails with a Protocol Exception suddenly in a working app. The app was working till yesterday and today all the network calls fails. The calls works f
After hours of mess, finally got a solution. Updating Retrofit and Okhttp3 libraries to the latest version did the trick for me.
compile 'com.squareup.okhttp3:okhttp:3.9.0' compile 'com.squareup.retrofit2:retrofit:2.3.0'