Skip to content
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

CouchDB not reachable, again #20

Closed
robhrt7 opened this issue Jun 12, 2013 · 10 comments
Closed

CouchDB not reachable, again #20

robhrt7 opened this issue Jun 12, 2013 · 10 comments

Comments

@robhrt7
Copy link

robhrt7 commented Jun 12, 2013

Running "hoodie start" I'm always getting an error

Initializing...
CouchDB started: http://couch.myappname.dev:80
Waiting for CouchDB [*-----] FAILED

At the time when app is waiting for CouchDB, it is reachable on other port here http://couch.myappname.dev:6003/.

Maybe I need to change couchDB port? If so, where could I do this?

@robhrt7
Copy link
Author

robhrt7 commented Jun 12, 2013

Have found where I can change ports for couchDB, and now I'm stuck at

[users] [Setup] creatinging object in modules database …

@gr2m
Copy link
Contributor

gr2m commented Jun 12, 2013

@caolan could you help out here? @janl is travelling

@robhrt7
Copy link
Author

robhrt7 commented Jun 13, 2013

Tried to connect to working and initialised couchdb database at nodejitsu, but still, hoodie app starting stucks at the same process:

[users] [Setup] creatinging object in modules database …

@robhrt7
Copy link
Author

robhrt7 commented Jun 13, 2013

I finally started hoodie server, the problem was in local-tld, that I didn't installed because of this issue hoodiehq-archive/local-tld#18 .

I followed troubleshoot guide and had set hosts myself, but it was not enough. I came up with deleting this code part in hoodie-app/lib/environment.js:

if (platform === 'darwin') {
        cfg.local_tld = true;
    }

that tried to turn on local-tld module in spite of that was not installed.

@gr2m
Copy link
Contributor

gr2m commented Jun 13, 2013

does it work now, without local_tld enabled?

We plan to make it optional, also for Mac, but not there yet. I'm sorry I can't help you better, I'm more the frontend guy at Hoodie. I hope @janl or @caolan can help as soon as they are back online

@janl
Copy link
Contributor

janl commented Jun 13, 2013

On Jun 13, 2013, at 11:38 , Gregor Martynus notifications@github.com wrote:

does it work now, without local_tld enabled?

We plan to make it optional, also for Mac, but not there yet. I'm sorry I can't help you better, I'm more the frontend guy at Hoodie. I hope @janl or @caolan can help as soon as they are back online

I’ll get to it later today, making local-tld entirely optional.

@robhrt7
Copy link
Author

robhrt7 commented Jun 13, 2013

That would be totally great, now using hoodie app as service on other port for main application.

@janl
Copy link
Contributor

janl commented Jun 16, 2013

Magic domains are now (0.6.0) optional. Can you uninstall local-tld, fetch the new version of Hoodie and try again?

Reopen if this persists.

@janl janl closed this as completed Jun 16, 2013
@robhrt7
Copy link
Author

robhrt7 commented Jun 17, 2013

It okay now, works without ltd and my hacks :) Thank you!

@janl
Copy link
Contributor

janl commented Jun 17, 2013

Excellent, thanks for letting us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants