New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to tunneled database #69
Comments
Can you be more specific about what's failing for you?
|
Genghis for PHP version 2.1.6. When I first add it to the list it adds but then can't get the size. -- Correction, my PHP Mongo driver is a version behind (maybe two), they just released a new one. |
But it's 1.3.x, right? |
Actually, I guess its older. 1.2.11 ... I'm upgrading now.... 1.31. now. Still doesn't make a difference. |
Sorry I've been a bit unresponsive. Every combination of PHP and Mongo driver versions on my system is segfaulting right now, so it's a bit hard for me to debug :) If you open webkit inspector or firebug network tab while adding the server, you will most likely get a 500 response — or spew of backtrace instead of JSON, which Genghis doesn't always surface in a useful way. Mind taking a look to see if that says anything? |
You've been plenty responsive. Thanks for looking into this. I really appreciate it. POST http://mongo.dev.local/servers 502 (Bad Gateway) script.js:12 ...And after that, just a loading graphic forever (seemingly, I'll leave the tab open, but I'm sure by now it is). |
Also getting this on my Heroku instance via MongoHub, which I'm guessing requires SSH tunnelling. I get a 500 response back:
|
Yea, that's part of why I don't use MongoHub (and started using Genghis). MongoHub crashes constantly. You can ignore that error and click the database name and actually see things...However, as with any connection to any database with MongoHub, if you actually use it and have a few windows open and make a few queries...You'll eventually get some assertion errors and socket errors and then it'll crash. MongoHub is the biggest piece of junk out there. Use Genghis, it's worlds better. As for things I'm tunneled into (like CloudFoundry, AppFog, etc.) I'm just using the terminal :/ |
Any updates on this? I too am unable to connect to the MongoDB instance on AppFog, while MongoHub has no problem connecting. I would prefer using Genghis over MongoHub though. |
Sorry, no fix for this yet, but it is my highest priority bug so it's slated for the next release—assuming I can actually fix it, of course. Thanks for your patience. |
Check the just-released |
tmaiaroto commentedDec 18, 2012
I'm trying to use CloudFoundry or AppFog. So I tunnel into the database and it works fine from the shell in my terminal...It works fine from MongoHub on OS X (TERRIBLE app that crashes constantly) but it doesn't seem to work with Genghis.
I entered in the server with the format user:pass@localhost:10000 (which is the port in this case).
In this case, the username and password are both quite long. I'm not sure if that matters.
Is there a timeout setting maybe? It does need to connect to a remote server...
You should be able to easily reproduce this if you use AppFog or CloudFoundry and setup a database and then tunnel in. Both are free services. It will take a few commands to install their software and bring up a MongoDB service and then tunnel to it, but there's documentation on how to do that. It'll take just a few minutes, more here: https://docs.appfog.com/services/tunneling
The text was updated successfully, but these errors were encountered: