Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Error getting response stream (ReadDone1): ReceiveFailure

$
0
0

Hi All,

I am calling a rest device and populating my object using RestSharp. All works fine with a small amount of data, but when the payload increases i receive the following error.

Error getting response stream (ReadDone1): ReceiveFailure

Any Ideas?

            RestClient client = new RestClient ("MYURI");
            RestRequest request = new RestRequest (string.Format ("observeddetails?dateOfLastUpdates={0}", new LastUpdated ().GetTimeOfLastUpdate ().ToShortDateString ()), Method.GET);
            request.AddHeader ("Accept", "application/json");


            var response = client.Execute(request);
            var content = response.Content; // raw content as string

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>