twitter/flockdb — Issue #79: Transport Exception
Author: alexanderhnelson
Created: 2012-02-28 22:20:59+00:00
State: open

I tried submitting this to StackOverflow but no one there seemed to have an idea how to answer my question.
I am attempting to build FlockDB on an Ubuntu 11.10 virtual PC using Virtual Box.

I have built everything correctly, and all tests have run through just fine. I have even gone through most of the demo without incident until I begin to try to query against the database. I can set up the Flock object, but when I do the query flock.select(nil, :follows, 1).to_a It fails in the thrift rubygem, in socket.rb at line 109 with TransportException as the error. It also fails for any add query without the .to_a.

However, if I run the select query without the .to_a it seems to run fine, though I cannot check its results, and tells me what my current server is. If I try to run that query after I fail one, the current server is blank. It seems like somewhere, I am completely losing my connection, but I do not know why.
I have tried this for Thrift 0.5.0 and for the newest version of Thrift, hoping that might fix it. I have also tried to use a bunch of different versions of the thrift gems, but the old versions have all failed to build for me.

I can provide the full stack trace if it is needed, but it definitely fails at the same point for all queries. Any ideas on what to do to fix this?