<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:50 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>[CDRIVER-543] differentiate between network error and authentication error</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-543</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;X509 authentication failure results on the generic &quot;Failed to read 4 bytes from socket&quot;.&lt;br/&gt;
It makes it confusing when debugging why a connection fails, with no clear starting point.&lt;/p&gt;</description>
                <environment></environment>
        <key id="186188">CDRIVER-543</key>
            <summary>differentiate between network error and authentication error</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="9">Done</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Feb 2015 19:07:18 +0000</created>
                <updated>Wed, 19 Oct 2016 14:15:05 +0000</updated>
                            <resolved>Wed, 23 Sep 2015 18:33:17 +0000</resolved>
                                    <version>1.1.0</version>
                                    <fixVersion>1.2-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1131772" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:06:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error message to make sense for drivers wrapping mongoc&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1131770" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:06:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error messages&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070907" author="xgen-internal-githook" created="Mon, 26 Oct 2015 20:34:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error message to make sense for drivers wrapping mongoc&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070905" author="xgen-internal-githook" created="Mon, 26 Oct 2015 20:34:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error messages&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1041158" author="bjori" created="Wed, 23 Sep 2015 18:33:17 +0000"  >&lt;p&gt;I think the latest round of error messaging improvements covers this in sufficient detail.&lt;br/&gt;
If not, we should raise more tickets with more detailed scenarios&lt;/p&gt;</comment>
                            <comment id="1032483" author="xgen-internal-githook" created="Wed, 16 Sep 2015 23:04:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error message to make sense for drivers wrapping mongoc&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/375562667b081f74055c7b6e191b5668ee4323c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1032475" author="xgen-internal-githook" created="Wed, 16 Sep 2015 23:00:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-543&quot; title=&quot;differentiate between network error and authentication error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-543&quot;&gt;&lt;del&gt;CDRIVER-543&lt;/del&gt;&lt;/a&gt;: Improve error messages&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/74aefa0a6fd5dd7ae5b633928928e098e81079a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="893072" author="jesse" created="Mon, 20 Apr 2015 18:15:44 +0000"  >&lt;p&gt;There&apos;s code that tries to give a good error, I wonder why it isn&apos;t working for you:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/ajdavis/mongo-c-driver/blob/1926413b45390887431bbfb0380631153c886b74/src/mongoc/mongoc-client.c#L344&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ajdavis/mongo-c-driver/blob/1926413b45390887431bbfb0380631153c886b74/src/mongoc/mongoc-client.c#L344&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bug might be here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-cluster.c#L1698&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-cluster.c#L1698&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="227900">CDRIVER-821</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="229791">CDRIVER-841</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="181405">CDRIVER-519</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="199069">PHPC-251</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="208174">CDRIVER-696</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hscuq7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1140</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="676">C Driver 2015Q2 sprint 6</customfieldvalue>
    <customfieldvalue id="699">C Driver 2015Q2 sprint 7</customfieldvalue>
    <customfieldvalue id="741">C Driver 2015Q2 sprint 8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>