-
Notifications
You must be signed in to change notification settings - Fork 38
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
Connection to xxx-yyy.rhcloud.com closed by remote host #8
Comments
maybe it's a timeout thing? can you check it it happens at a specific time after starting the build? I think you should ask the openshift guys since it's a problem on their side, but maybe it's just some kind of timeout we are reaching. |
Perhaps. I also tried mucking with different timeout settings but didn't find anything suitable. After it fails, I found that the only way to fix it is to ssh to the instance and manually run ./app-root/runtime/repo/.openshift/action_hooks/build. However, that still leaves me with some (permission?) errors when I try to do something with the instance: so I wonder if there's something else I need to run or the latest simply doesn't work with the current version of Openshift? |
Are you able to successfully replicate any databases? After manually running ./app-root/runtime/repo/.openshift/action_hooks/build, I can start the couchdb instance and it passes installation verification but I'm not able to replicate any remote database. I asked on the couchdb user list (see http://markmail.org/thread/ywabc4ws3gjnm6nw) and they say it's a permission error, pointing to https://github.com/apache/couchdb/blob/1.6.x/INSTALL.Unix#L232-L248 for a fix. That didn't help but it's likely some permission issue with your couchdb cartridge. Perhaps something has changed either in openshift instance configuration or couchdb version that requires a change in the installation script? |
Sure enough, even
doesn't work. curl/wget is able to access the same url so looks like it's something in the erlang install. Perhaps it requires write permissions to some specific temp directory but I really don't know anything about erlang and haven't found much by googling. |
I'm not sure if there's anything you can do about this a the client end, but I'm consistently getting a "Connection to xxx-yyy.rhcloud.com closed by remote host." several minutes after pushing the changes. The last lines of the stdout are:
remote: CC obj/x86_64-unknown-linux-gnu/opt/plain/erl_gc.o
Connection to xxx-yyy.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://48b5973ca369e000156@xxx-yyy.rhcloud.com/
/git/mobilesurveyreports2.git//git/mobilesurveyreports2.git/'26614e1..4b94f27 master -> master
error: failed to push some refs to 'ssh://48b5973ca369e000156@xxx-yyy.rhcloud.com/
The text was updated successfully, but these errors were encountered: