Retrofit java.net.ProtocolException: Expected ':status' header not present
问题 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 fine with HTTP and with some HTTPS except my production endpoint . It seems that app is not working only on my used https endpoint but working with other https endpoint, I tried. I fixed the problem this way - OkHttpClient client = new OkHttpClient(); client.setProtocols(Arrays.asList(Protocol.HTTP_1_1)); And And my problem