Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion can't get db response, not connected

Received: by 10.58.216.36 with SMTP id on4mr8357076vec.28.1352830522017;
        Tue, 13 Nov 2012 10:15:22 -0800 (PST)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.52.26.41 with SMTP id i9ls9378847vdg.2.gmail; Tue, 13 Nov 2012
 10:14:53 -0800 (PST)
Received: by 10.52.71.38 with SMTP id r6mr4498149vdu.12.1352830493916;
        Tue, 13 Nov 2012 10:14:53 -0800 (PST)
Date: Tue, 13 Nov 2012 10:14:53 -0800 (PST)
From: Sam Helman <sam.hel...@10gen.com>
To: mongodb-user@googlegroups.com
Message-Id: <0b24dbc6-abb9-41ee-8246-3696490cbca6@googlegroups.com>
In-Reply-To: <CA+buB7fANECUvkN0BqoUU+Cj3ML3swUwYoS88iZeE=EHr6SMcg@mail.gmail.com>
References: <e23d95e8-17be-4f4a-a88b-51d67caae274@googlegroups.com>
 <CA+buB7fANECUvkN0BqoUU+Cj3ML3swUwYoS88iZeE=EHr6SMcg@mail.gmail.com>
Subject: Re: [mongodb-user] can't get db response, not connected
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6_28843204.1352830493613"

------=_Part_6_28843204.1352830493613
Content-Type: multipart/alternative; 
	boundary="----=_Part_7_6851274.1352830493613"

------=_Part_7_6851274.1352830493613
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

It shouldn't have - what connection string are you using to connect to the 
replica set?  Did you upgrade the perl driver as well?

On Monday, November 12, 2012 11:24:02 PM UTC-5, Jason Lewis wrote:
>
> It occurred to me after sending this that things were working fine until I 
> upgraded to 2.2.1.  Is it possible that 2.2.1 introduced something that's 
> causing issues?   
>
> Is it possible to downgrade?  Did anything change that might not be 
> backwards compatible?
>
>
> On Mon, Nov 12, 2012 at 12:35 PM, Jason Lewis <jle...@packetnexus.com<javascript:>
> > wrote:
>
>> I have a 3 server replica set and I'm using the perl driver to load data 
>> in batches.  When attempting to insert the first batch of records, I get 
>> the following:   "can't get db response, not connected"
>>
>> This was working fine and suddenly stopped working.  The logs show normal 
>> replica set operation, but I'm unsure where to start looking to 
>> troubleshoot.  I normall include all servers in the connect config, but 
>> thought maybe it was having issues with a slave, replacing the connect 
>> string with only the master doesn't change anything.
>>
>> {
>>         "set" : "replset1",
>>         "date" : ISODate("2012-11-12T17:32:29Z"),
>>         "myState" : 2,
>>         "syncingTo" : "mongo2:27017",
>>         "members" : [
>>                 {
>>                         "_id" : 0,
>>                         "name" : "mongo1:27017",
>>                         "health" : 1,
>>                         "state" : 2,
>>                         "stateStr" : "SECONDARY",
>>                         "uptime" : 18010,
>>                         "optime" : Timestamp(1352741357000, 2),
>>                         "optimeDate" : ISODate("2012-11-12T17:29:17Z"),
>>                         "self" : true
>>                 },
>>                 {
>>                         "_id" : 1,
>>                         "name" : "mongo2:27017",
>>                         "health" : 1,
>>                         "state" : 1,
>>                         "stateStr" : "PRIMARY",
>>                         "uptime" : 18009,
>>                         "optime" : Timestamp(1352741357000, 2),
>>                         "optimeDate" : ISODate("2012-11-12T17:29:17Z"),
>>                         "lastHeartbeat" : ISODate("2012-11-12T17:32:28Z"),
>>                         "pingMs" : 99
>>                 },
>>                 {
>>                         "_id" : 2,
>>                         "name" : "mongo3:27017",
>>                         "health" : 1,
>>                         "state" : 2,
>>                         "stateStr" : "SECONDARY",
>>                         "uptime" : 18007,
>>                         "optime" : Timestamp(1352741357000, 2),
>>                         "optimeDate" : ISODate("2012-11-12T17:29:17Z"),
>>                         "lastHeartbeat" : ISODate("2012-11-12T17:32:26Z"),
>>                         "pingMs" : 91
>>                 }
>>         ],
>>         "ok" : 1
>> }
>>
>> Ideas?
>>
>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "mongodb-user" group.
>> To post to this group, send email to mongod...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> mongodb-user...@googlegroups.com <javascript:>
>> See also the IRC channel -- freenode.net#mongodb
>>
>
>
------=_Part_7_6851274.1352830493613
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

It shouldn't have - what connection string are you using to connect to the replica set? &nbsp;Did you upgrade the perl driver as well?<br><br>On Monday, November 12, 2012 11:24:02 PM UTC-5, Jason Lewis wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">It occurred to me after sending this that things were working fine until I upgraded to 2.2.1. &nbsp;Is it possible that 2.2.1 introduced something that's causing issues? &nbsp;&nbsp;<div><br></div><div>Is it possible to downgrade? &nbsp;Did anything change that might not be backwards compatible?</div>
<div><br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 12:35 PM, Jason Lewis <span dir="ltr">&lt;<a href="javascript:" target="_blank" gdf-obfuscated-mailto="YJSgL6dW7KsJ">jle...@packetnexus.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a 3 server replica set and I'm using the perl driver to load data in batches. &nbsp;When attempting to insert the first batch of records, I get the following: &nbsp; "can't get db response, not connected"<div>
<br></div><div>This was working fine and suddenly stopped working. &nbsp;The logs show normal replica set operation, but I'm unsure where to start looking to troubleshoot. &nbsp;I normall include all servers in the connect config, but thought maybe it was having issues with a slave, replacing the connect string with only the master doesn't change anything.</div>
<div><br></div><div><div>{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "set" : "replset1",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "date" : ISODate("2012-11-12T17:32:29Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "myState" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "syncingTo" : "mongo2:27017",</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; "members" : [</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "_id" : 0,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name" : "mongo1:27017",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "health" : 1,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "state" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "stateStr" : "SECONDARY",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uptime" : 18010,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optime" : Timestamp(1352741357000, 2),</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optimeDate" : ISODate("2012-11-12T17:29:17Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "self" : true</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "_id" : 1,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name" : "mongo2:27017",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "health" : 1,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "state" : 1,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "stateStr" : "PRIMARY",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uptime" : 18009,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optime" : Timestamp(1352741357000, 2),</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optimeDate" : ISODate("2012-11-12T17:29:17Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "lastHeartbeat" : ISODate("2012-11-12T17:32:28Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pingMs" : 99</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "_id" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "name" : "mongo3:27017",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "health" : 1,</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "state" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "stateStr" : "SECONDARY",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "uptime" : 18007,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optime" : Timestamp(1352741357000, 2),</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "optimeDate" : ISODate("2012-11-12T17:29:17Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "lastHeartbeat" : ISODate("2012-11-12T17:32:26Z"<wbr>),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "pingMs" : 91</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ],</div><div>&nbsp; &nbsp; &nbsp; &nbsp; "ok" : 1</div><div>}</div></div><div><br></div><div>Ideas?</div><span><font color="#888888"><div><br></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google<br>
Groups "mongodb-user" group.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="YJSgL6dW7KsJ">mongod...@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="YJSgL6dW7KsJ">mongodb-user...@<wbr>googlegroups.com</a><br>
See also the IRC channel -- <a href="http://freenode.net#mongodb" target="_blank">freenode.net#mongodb</a><br>
</font></span></blockquote></div><br></div>
</blockquote>
------=_Part_7_6851274.1352830493613--

------=_Part_6_28843204.1352830493613--