# 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'

**URL:** <https://forum.bondhome.io/t/error-getting-response-stream-readdoneasync2-receivefailure/1325>\
**Category:** Uncategorized\
**Created:** [February 18, 2020, 2:32am UTC](https://forum.bondhome.io/t/error-getting-response-stream-readdoneasync2-receivefailure/1325 "2020-02-18T02:32:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![alexbk66](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@alexbk66](https://forum.bondhome.io/u/alexbk66)\
**Post date:** [February 22, 2020, 2:45am UTC](https://forum.bondhome.io/t/error-getting-response-stream-readdoneasync2-receivefailure/1325/8 "2020-02-22T02:45:15Z")

</div>

> [@merck](#):
>
> In this instance it would be helpful to have a copy of the log from the SBB unit

As I said, SBBs are fine, the problem is with the Bridge only. And I don’t see how cURL might help.

The problem is that **sometimes** the socket read returns 0 bytes:

```auto
var nread = await RequestStream.InnerStream.ReadAsync (
					buffer.Buffer, buffer.Offset, buffer.Size, cancellationToken).ConfigureAwait (false);

if (nread == 0)
    throw GetReadException (WebExceptionStatus.ReceiveFailure, null, "ReadDoneAsync2");

```

And only with the Bridge, not SBBs.

I might dig deeper into ReadAsync() to see why it might return 0 bytes, but not timeout.

---

_[View the full topic](https://forum.bondhome.io/t/error-getting-response-stream-readdoneasync2-receivefailure/1325)._
