-
Notifications
You must be signed in to change notification settings - Fork 0
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 proxy on a different host fails at Hearbeat #32
Comments
Sorry for the delay. EX_APPS_NET should be HaProxy should listen on 2375 AND ON "BIND_ADDRESS":23000 port in case of remote installations. Can I see output of There should be some such line:
|
Hello, I have this: nextcloud-appapi-dsp:/# cat haproxy_ex_apps.cfg My docker command: sudo docker run -e NC_HAPROXY_PASSWORD="some_secure_password" -e BIND_ADDRESS=192.168.1.97 -e [email protected] -v /var/run/docker.sock:/var/run/docker.sock -v Hope you can help us, I'm like 50 hours into this :/ |
Hello, this might be related and useful for you: nextcloud/app_api#413, https://nextcloud.github.io/app_api/CreationOfDeployDaemon.html#additional-options |
I know it's been awhile, but I had to use the |
I cannot connect to the docker-socket-proxy when it is running on another host. I am using this docker-compose setup to run the proxy on the remote host:
It does start as expected when running
sudo docker-compose up
and I can register it as a deploy daemon in my Nextcloud server. However, when I run the Test deploy for the daemon it fails at stage Heartbeat. It does install the test deploy container on the remote host and is able to start it:Still, Nextcloud server cannot connect to it. If I check the open ports on the remote host running the proxy with
sudo netstat -tulpn | grep LISTEN
, I get this:I guess the open port in the fourth line should be
192.168.178.23000
for the Heartbeat to work properly?The Nextcloud server and the remote host are on the same network
192.168.178.0/24
and there is no firewall that could prevent any traffic. The remote host is a Raspberry Pi3 running Raspbian (it is setup for testing purpose only, I realize it is not a suitable platform to run the ExApps in a productive manner). It also does not help if I change the env variable for the sub containers according to the readme:- EX_APPS_NET="[email protected]"
If the failing Heartbeat is not an issue of the docker-socket-proxy but my setup is messed up, any hint will be highly appreciated.
The text was updated successfully, but these errors were encountered: