Click here to Skip to main content
15,037,178 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
An error occurred while receiving the HTTP response to https://XYZ.com/ABCEndpoint/.
This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.


Any one has idea what might be going wrong as this error comes some time only some times web service responds properly...Does it has any thing to do with buffer sizes..
Posted
Updated 22-Jun-12 7:08am
v2

1 solution

Most likely, since it is working sometimes, you probably are sending or receiving too much data. You will need to make adjustments on both your server-side and your client-side configs to change the maximum payload that HTTP will send and/or receive. This would be the place I would look first, just because it can be a quick thing to test. However, it isn't the only possibility.

There are a number of questions like this on the web, and there are quite a few with some really good advice. Here are a couple I found:

http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/686499d2-5e31-47ee-941b-760264472875/[^]

http://stackoverflow.com/questions/7325387/an-error-occurred-while-receiving-the-http-response[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900