Click here to Skip to main content
11,582,911 members (76,769 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF
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 22-Jun-12 6:35am
Edited 22-Jun-12 7:08am
Tim Corey99.2K
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 220
2 virusstorm 209
3 Kornfeld Eliyahu Peter 165
4 Andy Lanng 139
0 OriginalGriff 1,403
1 Sergey Alexandrovich Kryukov 970
2 Abhinav S 696
3 F-ES Sitecore 505
4 Suvendu Shekhar Giri 503


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100