<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:26 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-1386] System.IO.EndOfStreamException under load</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1386</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I currently load tested our Web Api project which uses the MongoDB 1.10 c# Driver.&lt;/p&gt;

&lt;p&gt;With about 100 req/s the driver starts to throw the attached error message&lt;br/&gt;
(the web and mongodb servers are still in a good state, having enough cpu/ram under load).&lt;/p&gt;

&lt;p&gt;Also from another application not under load, the database can be accessed without any Problems.&lt;/p&gt;

&lt;p&gt;MongoDB.Driver.MongoConnectionException: An exception occurred while receiving a message from the server. ---&amp;gt; System.IO.EndOfStreamException: Attempted to read past the end of the stream.&lt;br/&gt;
at MongoDB.Driver.Core.Misc.StreamExtensionMethods.&amp;lt;ReadBytesAsync&amp;gt;d__0.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;ReceiveBufferAsync&amp;gt;d__6.MoveNext()&lt;br/&gt;
&#8212; End of inner exception stack trace &#8212;&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;ReceiveBufferAsync&amp;gt;d__6.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;ReceiveBufferAsync&amp;gt;d__d.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.Connections.BinaryConnection.&amp;lt;ReceiveMessageAsync&amp;gt;d__15.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.&amp;lt;ExecuteAsync&amp;gt;d__0.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Servers.ClusterableServer.ServerChannel.&amp;lt;ExecuteProtocolAsync&amp;gt;d__24`1.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase.&amp;lt;ExecuteBatchAsync&amp;gt;d__d.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase.&amp;lt;ExecuteBatchesAsync&amp;gt;d__18.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperationEmulator.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.&amp;lt;ExecuteAsync&amp;gt;d__1.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()&lt;br/&gt;
at MongoDB.Driver.Core.Operations.UpdateOpcodeOperation.&amp;lt;ExecuteAsync&amp;gt;d__5.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;br/&gt;
at MongoDB.Driver.Sync.IOperationExtensions.Execute&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IWriteOperation`1 operation, IWriteBinding binding, CancellationToken cancellationToken)&lt;br/&gt;
at MongoDB.Driver.MongoCollection.ExecuteWriteOperation&lt;span class=&quot;error&quot;&gt;&amp;#91;TResult&amp;#93;&lt;/span&gt;(IWriteOperation`1 operation)&lt;br/&gt;
at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;br/&gt;
at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&lt;br/&gt;
at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__5.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__0.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;br/&gt;
at System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__2.MoveNext()&lt;br/&gt;
&#8212; End of stack trace from previous location where exception was thrown &#8212;&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&lt;br/&gt;
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()&lt;br/&gt;
at System.Web.Http.Dispatcher.HttpControllerDispatcher.&amp;lt;SendAsync&amp;gt;d__1.MoveNext()&lt;/p&gt;</description>
                <environment>Windows Server 2012R2, ASP.NET 4.5 Web Api</environment>
        <key id="227116">CSHARP-1386</key>
            <summary>System.IO.EndOfStreamException under load</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="camak">Casoa Makaso</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Aug 2015 07:40:50 +0000</created>
                <updated>Thu, 6 Apr 2023 21:23:24 +0000</updated>
                            <resolved>Tue, 7 Feb 2017 17:23:43 +0000</resolved>
                                    <version>1.10</version>
                                                    <component>Connectivity</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1494069" author="rstam" created="Tue, 7 Feb 2017 17:23:43 +0000"  >&lt;p&gt;This has not been reproduced internally.&lt;/p&gt;

&lt;p&gt;The 1.10 version of the driver is no longer supported. The 2.x versions of the driver use a completely different code base for network communications, so even if there is a bug here it shouldn&apos;t be present in 2.x.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hscqlb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>