<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:45 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-1494] got error while mongodb with teland</title>
                <link>https://jira.mongodb.org/browse/JAVA-1494</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Exception in component tMongoDBInput_1&lt;br/&gt;
com.mongodb.MongoException: can&apos;t find a master&lt;br/&gt;
      at com.mongodb.DBTCPConnector.checkMaster(DBTCPConnector.java:437)&lt;br/&gt;
      at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:208)&lt;br/&gt;
      at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:313)&lt;br/&gt;
      at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:298)&lt;br/&gt;
      at com.mongodb.DBCursor._check(DBCursor.java:369)&lt;br/&gt;
      at com.mongodb.DBCursor._hasNext(DBCursor.java:492)&lt;br/&gt;
      at com.mongodb.DBCursor.hasNext(DBCursor.java:517)&lt;br/&gt;
      at test.real_mongo_0_1.real_mongo.tMongoDBInput_1Process(real_mongo.java:937)&lt;br/&gt;
      at test.real_mongo_0_1.real_mongo.tMongoDBRow_1Process(real_mongo.java:540)&lt;br/&gt;
      at test.real_mongo_0_1.real_mongo.tMongoDBConnection_1Process(real_mongo.java:410)&lt;br/&gt;
      at test.real_mongo_0_1.real_mongo.runJobInTOS(real_mongo.java:1304)&lt;br/&gt;
      at test.real_mongo_0_1.real_mongo.main(real_mongo.java:1163)&lt;/p&gt;</description>
                <environment></environment>
        <key id="162514">JAVA-1494</key>
            <summary>got error while mongodb with teland</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="arun.bit97@gmail.com">arun kumar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Oct 2014 04:58:24 +0000</created>
                <updated>Tue, 4 Apr 2023 13:13:23 +0000</updated>
                            <resolved>Tue, 23 Jun 2015 02:44:59 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="947693" author="jeff.yemin" created="Tue, 23 Jun 2015 02:44:59 +0000"  >&lt;p&gt;As we haven&apos;t heard back from you in a while, I&apos;m closing this issue.&lt;/p&gt;</comment>
                            <comment id="736278" author="ross@10gen.com" created="Wed, 8 Oct 2014 08:49:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arun%40singh&quot; class=&quot;user-hover&quot; rel=&quot;arun@singh&quot;&gt;arun@singh&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;From the exception message it seems there has been a problem connecting to the master node in the replicaSet.  Looking at your mongod logs should provide some information about the replicaSet health. Also you need to make sure your application can reach / connect to the mongod i.e. there are no firewall rules preventing access.  I also noticed that the &lt;tt&gt;checkMaster()&lt;/tt&gt; method is from an older version of the Java driver and the current release is 2.12.3 so if possible its advisable to keep up to date with the latest release.&lt;/p&gt;

&lt;p&gt;For future reference, the best place for questions regarding MongoDB usage or the Java driver specifics is the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user mailinglist&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stackoverflow&lt;/a&gt; as you will reach a boarder audience there. This JAVA project is specifically for driver based bugs or issues.&lt;/p&gt;

&lt;p&gt;Ross&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|hs2vxz:</customfieldvalue>

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