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 "Attempted to read past the end of the stream" when authentication enabled

Received: by 10.180.100.103 with SMTP id ex7mr1846477wib.0.1329845818060;
        Tue, 21 Feb 2012 09:36:58 -0800 (PST)
X-BeenThere: mongodb-csharp@googlegroups.com
Received: by 10.180.104.233 with SMTP id gh9ls6467633wib.1.canary; Tue, 21 Feb
 2012 09:36:57 -0800 (PST)
Received: by 10.180.75.179 with SMTP id d19mr1845615wiw.2.1329845817012;
        Tue, 21 Feb 2012 09:36:57 -0800 (PST)
Received: by 10.180.75.179 with SMTP id d19mr1845614wiw.2.1329845817001;
        Tue, 21 Feb 2012 09:36:57 -0800 (PST)
Return-Path: <rob...@10gen.com>
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44])
        by gmr-mx.google.com with ESMTPS id w7si12504762wid.1.2012.02.21.09.36.56
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 21 Feb 2012 09:36:56 -0800 (PST)
Received-SPF: pass (google.com: domain of rob...@10gen.com designates 74.125.82.44 as permitted sender) client-ip=74.125.82.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of rob...@10gen.com designates 74.125.82.44 as permitted sender) smtp.mail=rob...@10gen.com
Received: by wgbdt10 with SMTP id dt10so5912321wgb.1
        for <mongodb-csharp@googlegroups.com>; Tue, 21 Feb 2012 09:36:56 -0800 (PST)
Return-Path: <rob...@10gen.com>
Received-SPF: pass (google.com: domain of rob...@10gen.com designates 10.180.24.7 as permitted sender) client-ip=10.180.24.7;
Received: from mr.google.com ([10.180.24.7])
        by 10.180.24.7 with SMTP id q7mr27671622wif.14.1329845816976 (num_hops = 1);
        Tue, 21 Feb 2012 09:36:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.180.24.7 with SMTP id q7mr23065581wif.14.1329845816930; Tue,
 21 Feb 2012 09:36:56 -0800 (PST)
Received: by 10.180.18.135 with HTTP; Tue, 21 Feb 2012 09:36:56 -0800 (PST)
In-Reply-To: <538ac559-8d82-4d00-8535-f5e37ba63a0b@b9g2000pbo.googlegroups.com>
References: <538ac559-8d82-4d00-8535-f5e37ba63a0b@b9g2000pbo.googlegroups.com>
Date: Tue, 21 Feb 2012 11:36:56 -0600
Message-ID: <CAJCJWG2P+GaNAFpAO0LGyA7TYQLpsMP_f+SsAf6jV_JnPMcjaQ@mail.gmail.com>
Subject: Re: [mongodb-csharp] "Attempted to read past the end of the stream"
 when authentication enabled
From: Robert Stam <rob...@10gen.com>
To: mongodb-csharp@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d043892ab86330804b97cdb41
X-Gm-Message-State: ALoCoQm2QqpSY1lHqOWcu8rfpsW+c/o4hSLRPRgId/CtPZleZONR7Y7yNBuR2Q4W5imFurnkthnm

--f46d043892ab86330804b97cdb41
Content-Type: text/plain; charset=ISO-8859-1

Not sure where you are seeing this error. Can you provide a full stack
trace?

On Tue, Feb 21, 2012 at 11:24 AM, Senor Cardgage <combolati...@gmail.com>wrote:

> When I enable authentication, I get the error "Attempted to read past
> the end of the stream"
>
> Here is the command line I use to register the mongo service:
> "C:\mongo\bin\mongod" --reinstall --auth --dbpath "c:\mongo\data\db" --
> logpath "c:\mongo\logs" --profile=2
>
> here is my connection string:
>
> "mongodb://admin:adminpass@localhost"
>
> Everything works properly when "--admin" is excluded from the command
> line and "mongodb://localhost" is used for the connection string.
>
>

--f46d043892ab86330804b97cdb41
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Not sure where you are seeing this error. Can you provide a full stack trac=
e?<br><br><div class=3D"gmail_quote">On Tue, Feb 21, 2012 at 11:24 AM, Seno=
r Cardgage <span dir=3D"ltr">&lt;<a href=3D"mailto:combolati...@gmail.com">=
combolati...@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">When I enable authentication, I get the erro=
r &quot;Attempted to read past<br>
the end of the stream&quot;<br>
<br>
Here is the command line I use to register the mongo service:<br>
&quot;C:\mongo\bin\mongod&quot; --reinstall --auth --dbpath &quot;c:\mongo\=
data\db&quot; --<br>
logpath &quot;c:\mongo\logs&quot; --profile=3D2<br>
<br>
here is my connection string:<br>
<br>
&quot;mongodb://admin:adminpass@localhost&quot;<br>
<br>
Everything works properly when &quot;--admin&quot; is excluded from the com=
mand<br>
line and &quot;mongodb://localhost&quot; is used for the connection string.=
<br>
<br>
</blockquote></div><br>

--f46d043892ab86330804b97cdb41--