On Mon, 11 Nov 2013 19:35:36 GMT, Sönke Ludwig wrote:

Thanks, got it. Should be fixed on latest git master by c633db9.

Thanks. I am afraid that it is not enough though. The error is still there, although it changed a bit (like a very little bit). Here is the new error output:

500 - Internal Server Error

Internal Server Error

Internal error information:
vibe.db.mongo.connection.MongoDriverException@../../.dub/packages/vibe-d-master/source/vibe/db/mongo/connection.d(302): BSON value is type 'null_', expected to be one of [int_]
----------------
/tmp/dub/3216937015/webserver(void vibe.db.mongo.connection.MongoConnection.checkForError(immutable(char)[])+0x84) [0x6a19d8]
/tmp/dub/3216937015/webserver(void vibe.db.mongo.connection.MongoConnection.insert(immutable(char)[], vibe.db.mongo.connection.InsertFlags, vibe.data.bson.Bson[])+0x251) [0x6a0415]
/tmp/dub/3216937015/webserver(void vibe.db.mongo.collection.MongoCollection.insert!(vibe.data.bson.Bson).insert(vibe.data.bson.Bson, vibe.db.mongo.connection.InsertFlags)+0x176) [0x6a57e2]
/tmp/dub/3216937015/webserver(void app.timedAuth(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x24c) [0x5bbbb8]
/tmp/dub/3216937015/webserver(void std.functional.DelegateFaker!(void function(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)*).DelegateFaker.doIt(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x68) [0x633b0c]
/tmp/dub/3216937015/webserver(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6c4a0d]
/tmp/dub/3216937015/webserver(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, immutable(char)[], vibe.core.net.NetworkAddress, vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x172f) [0x6cc6eb]
/tmp/dub/3216937015/webserver(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x1a2) [0x6caef6]
/tmp/dub/3216937015/webserver(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)).void doListen(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void __lambda115(vibe.core.net.TCPConnection)+0x2c) [0x6c71b0]
/tmp/dub/3216937015/webserver(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d6) [0x66fb6a]
/tmp/dub/3216937015/webserver(void vibe.core.core.CoreTask.run()+0xf2) [0x691706]
/tmp/dub/3216937015/webserver(void core.thread.Fiber.run()+0x2a) [0x7432a6]
/tmp/dub/3216937015/webserver(fiber_entryPoint+0x61) [0x7431b1]
[(nil)]

This is what I have in mongodb.log

Tue Nov 12 08:09:04 query logins.level2 ntoreturn:0 reslen:36 nreturned:0 0ms
Tue Nov 12 08:09:04 insert logins.level2 0ms
Tue Nov 12 08:09:04 run command logins.$cmd { getLastError: 1.0 }
Tue Nov 12 08:09:04 query logins.$cmd ntoreturn:1 command  reslen:113 0ms
Tue Nov 12 08:09:04 end connection 127.0.0.1:46259

The dissected packet looks the same as before.

If there is anything I can do on my end, just tell me...

Thanks,
Drasha