<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:01:48 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>[JAVA-4336] UncategorizedMongoDbException</title>
                <link>https://jira.mongodb.org/browse/JAVA-4336</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Hi There,&lt;/p&gt;

&lt;p&gt;I am getting following error in (Spring boot version 2.3.9) logs I am using Spring data mongodb&lt;/p&gt;

&lt;p&gt;&quot;org.springframework.data.mongodb.UncategorizedMongoDbException: Interrupted acquiring a permit to retrieve an item from the pool ; nested exception is com.mongodb.MongoInterruptedException: Interrupted acquiring a permit to retrieve an item from the pool&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I was getting &quot;com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.impl.execchain.RequestAbortedException: Request aborted&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Could you please let me know what was the issue and how to fix it.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Upendra&lt;/p&gt;</description>
                <environment></environment>
        <key id="1893543">JAVA-4336</key>
            <summary>UncategorizedMongoDbException</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jha.upendra@gmail.com">Upendra Jha</reporter>
                        <labels>
                            <label>external-user</label>
                    </labels>
                <created>Fri, 8 Oct 2021 07:21:34 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:30 +0000</updated>
                            <resolved>Tue, 26 Oct 2021 12:00:37 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="4147828" author="dbeng-pm-bot" created="Tue, 26 Oct 2021 12:00:39 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="4115895" author="cstrobl" created="Mon, 11 Oct 2021 15:03:54 +0000"  >&lt;p&gt;As mentioned before this sounds like the server shutting down. I&apos;m not aware of anything specific here in Spring Data MongoDB.&lt;/p&gt;</comment>
                            <comment id="4112853" author="jeff.yemin" created="Fri, 8 Oct 2021 14:19:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jha.upendra%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;jha.upendra@gmail.com&quot;&gt;jha.upendra@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We&apos;ve seen this before.  MongoInterruptedException is just a RuntimeException that the driver throws when it&apos;s waiting for something to happen, and that something throws a &lt;/p&gt;
{java.lang.InterruptedException}
&lt;p&gt;.  In this case what it&apos;s waiting for is a connection to become available in the connection pool.&lt;/p&gt;
{InterruptedException}
&lt;p&gt; itself is only thrown, well, when some other thread interrupts the current one, typically by a call to &lt;tt&gt;Thread.interrupt&lt;/tt&gt;.  The driver itself &lt;em&gt;never&lt;/em&gt; calls &lt;tt&gt;Thread.interrupt&lt;/tt&gt;, so it must be happening somewhere in the application, either in your application code or, more likely, by Spring Boot itself.  The most likely cause of that, I would think, is either if the server is shutting down, or if the application is hitting some globally configured request timeout.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=cstrobl&quot; class=&quot;user-hover&quot; rel=&quot;cstrobl&quot;&gt;cstrobl&lt;/a&gt; any other ideas on this?&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|hzombb:</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>