sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

max current connections for xmpp in docker #704

Open cmanriqu opened 7 years ago

cmanriqu commented 7 years ago

Hi,

I'm with troubles with XMPP in docker. When I start the container, I can use it XMPP protocol but after running a while, with users using the platafform, goes down the connection and the port didn't connect even with telnet.

My teory is: docker has some current connection limits (or something like that),

So maybe someone has battle with this in the past, that Could help me?.

The only error that I have when I trying restart the container is (I have to restart docker engine to workaround the error):

Jul 14 20:02:38 vletschat1dal systemd: Started Let's Chat in Docker. Jul 14 20:02:38 vletschat1dal systemd: Starting Let's Chat in Docker... Jul 14 20:02:39 vletschat1dal docker: time="2016-07-14T20:02:39.419673636Z" level=error msg="Handler for GET /v1.22/networks/letschat_default returned error: network letschat_default not found" Jul 14 20:02:39 vletschat1dal docker-compose: Creating network "letschat_default" with the default driver Jul 14 20:02:39 vletschat1dal docker: time="2016-07-14T20:02:39.479518214Z" level=error msg="Handler for POST /v1.22/networks/create returned error: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-e4e506a3bc5c -j DOCKER: iptables v1.4.21: Couldn't load target DOCKER':No such file or directory\n\nTryiptables -h' or 'iptables --help' for more information.\n (exit status 2)" Jul 14 20:02:39 vletschat1dal docker-compose: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-e4e506a3bc5c -j DOCKER: iptables v1.4.21: Couldn't load target DOCKER':No such file or directory Jul 14 20:02:39 vletschat1dal docker-compose: Tryiptables -h' or 'iptables --help' for more information. Jul 14 20:02:39 vletschat1dal docker-compose: (exit status 2) Jul 14 20:02:39 vletschat1dal systemd: letschat.service: main process exited, code=exited, status=1/FAILURE Jul 14 20:02:39 vletschat1dal docker-compose: Removing network letschat_default Jul 14 20:02:39 vletschat1dal docker: time="2016-07-14T20:02:39.985495646Z" level=error msg="Handler for DELETE /v1.22/networks/letschat_default returned error: network letschat_default not found" Jul 14 20:02:39 vletschat1dal docker-compose: Network letschat_default not found. Jul 14 20:02:40 vletschat1dal systemd: Unit letschat.service entered failed state. Jul 14 20:02:40 vletschat1dal systemd: letschat.service failed. Jul 14 20:02:40 vletschat1dal systemd: letschat.service holdoff time over, scheduling restart. Jul 14 20:02:40 vletschat1dal systemd: Started Let's Chat in Docker. Jul 14 20:02:40 vletschat1dal systemd: Starting Let's Chat in Docker... Jul 14 20:02:40 vletschat1dal docker: time="2016-07-14T20:02:40.659988464Z" level=error msg="Handler for GET /v1.22/networks/letschat_default returned error: network letschat_default not found" Jul 14 20:02:40 vletschat1dal docker-compose: Creating network "letschat_default" with the default driver Jul 14 20:02:40 vletschat1dal docker: time="2016-07-14T20:02:40.720457358Z" level=error msg="Handler for POST /v1.22/networks/create returned error: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-1ddab09ef15c -j DOCKER: iptables v1.4.21: Couldn't load target DOCKER':No such file or directory\n\nTryiptables -h' or 'iptables --help' for more information.\n (exit status 2)" Jul 14 20:02:40 vletschat1dal docker-compose: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-1ddab09ef15c -j DOCKER: iptables v1.4.21: Couldn't load target DOCKER':No such file or directory Jul 14 20:02:40 vletschat1dal docker-compose: Tryiptables -h' or 'iptables --help' for more information.

Thank you for advance.

Grettings