2018/03/25 07:33:18 [error] 1726#1726: *1660 connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.185, server: mydomain.com, request: "GET /events HTTP/1.1", upstream: "http://127.0.0.1:8888/events", host: "mydomain.com"--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+unsubscribe@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/0e6269d8-d2dd-49cb-a21f-3a6dce782c34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
David Barragán Merino
Engineer www.kaleidos.net/FFF8E7 |
admin@studio:/home/taiga/taiga-events$ service circusd status
● circusd.service - The Circus Server
Loaded: loaded (/lib/systemd/system/circusd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-03-25 19:57:37 +0430; 23min ago
Main PID: 26993 (circusd)
Tasks: 22
Memory: 472.4M
CPU: 13.503s
CGroup: /system.slice/circusd.service
├─26993 /usr/bin/python /usr/bin/circusd /etc/circus/circusd.ini
├─27000 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/gunicorn -w 3 -t 60 --pythonpath=. -b 127.0.0.1:8001 taiga.wsgi
├─27001 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/celery -A taiga worker -c 4
├─27002 node /usr/local/bin/coffee index.coffee
├─27013 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/gunicorn -w 3 -t 60 --pythonpath=. -b 127.0.0.1:8001 taiga.wsgi
├─27014 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/gunicorn -w 3 -t 60 --pythonpath=. -b 127.0.0.1:8001 taiga.wsgi
├─27015 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/gunicorn -w 3 -t 60 --pythonpath=. -b 127.0.0.1:8001 taiga.wsgi
├─27031 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/celery -A taiga worker -c 4
├─27033 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/celery -A taiga worker -c 4
├─27036 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/celery -A taiga worker -c 4
└─27037 /home/taiga/.virtualenvs/taiga/bin/python3.5 /home/taiga/.virtualenvs/taiga/bin/celery -A taiga worker -c 4admin@studio:/home/taiga/taiga-events$ npm -v
5.6.0admin@studio:/home/taiga/taiga-events$ node -v
v8.10.0circusctl status
why i cant answer to your post. each time i send a answer it deleted automatically!!!
On Sunday, March 25, 2018 at 7:30:36 PM UTC+4:30, David Barragán wrote:
This is a "waning" error because taiga-front is configured to connect to a taiga-event instance but it can't. This cause than you will not have real time updates in your kanabn/taskboard panel, that's all. You can ignore this message or set an empty value to the event server url in the config file if you don't need real time or setup a taiga-event instance.Regards.
On Sun, Mar 25, 2018 at 5:22 AM, Vahid <vahid....@gmail.com> wrote:
Hii installed latest version of taiga back-front on my ubuntu server (16.04) in production environment and it have this error on nginx.error file Repeatedly:2018/03/25 07:33:18 [error] 1726#1726: *1660 connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.185, server: mydomain.com, request: "GET /events HTTP/1.1", upstream: "http://127.0.0.1:8888/events", host: "mydomain.com"
whats cause of this error and how can i solve it?
--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/0e6269d8-d2dd-49cb-a21f-3a6dce782c34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
admin@studio:/home/taiga/taiga-events$ circusctl status
taiga: active
taiga-celery: active
taiga-events: activeadmin@studio:/home/taiga/taiga-events$ node /usr/local/bin/coffee index.coffee
events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::8888
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at Server.listen (net.js:1492:7)
at new WebSocketServer (/home/taiga/taiga-events/node_modules/ws/lib/WebSocketServer.js:77:20)
at Object.<anonymous> (/home/taiga/taiga-events/index.coffee:11:7)
at Object.<anonymous> (/home/taiga/taiga-events/index.coffee:1:1)
at Module._compile (module.js:652:30)
at Object.exports.run (/home/taiga/taiga-events/node_modules/coffeescript/lib/coffee-script/coffee-script.js:173:23)
at compileScript (/home/taiga/taiga-events/node_modules/coffeescript/lib/coffee-script/command.js:224:29)
at compilePath (/home/taiga/taiga-events/node_modules/coffeescript/lib/coffee-script/command.js:174:14)
at Object.exports.run (/home/taiga/taiga-events/node_modules/coffeescript/lib/coffee-script/command.js:98:20)
at Object.<anonymous> (/usr/lib/node_modules/coffee-script/bin/coffee:15:45)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3from .common import *
MEDIA_URL = "https//mydomain.net/media/"
STATIC_URL = "https://mydomain.net/static/"
SITES["front"]["scheme"] = "https"
SITES["front"]["domain"] = "mydomain.net"
SECRET_KEY = "PECr************65hZD"
DEBUG = False
PUBLIC_REGISTER_ENABLED = False
CELERY_ENABLED = True
DEFAULT_FROM_EMAIL = "ta...@mydomain.org"
SERVER_EMAIL = DEFAULT_FROM_EMAIL
EVENTS_PUSH_BACKEND = "taiga.events.backends.rabbitmq.EventsPushBackend"
EVENTS_PUSH_BACKEND_OPTIONS = {"url": "amqp://taiga:f*********y@localhost:5672/taiga"}
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_USE_TLS = True
EMAIL_HOST = "mail.mydomain.org"
EMAIL_PORT = 587
EMAIL_HOST_USER = "ta...@mydomain.org"
EMAIL_HOST_PASSWORD = "7*********G"ERROR:2018-04-10 23:32:18,566: Internal Server Error: /api/v1/userstories/10
Traceback (most recent call last):
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/taiga/taiga-back/taiga/base/api/viewsets.py", line 106, in view
return self.dispatch(request, *args, **kwargs)
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/home/taiga/taiga-back/taiga/base/api/views.py", line 460, in dispatch
response = self.handle_exception(exc)
File "/home/taiga/taiga-back/taiga/base/api/views.py", line 458, in dispatch
response = handler(request, *args, **kwargs)
File "/home/taiga/taiga-back/taiga/base/api/mixins.py", line 207, in partial_update
return self.update(request, *args, **kwargs)
File "/home/taiga/taiga-back/taiga/projects/userstories/api.py", line 298, in update
return super().update(request, *args, **kwargs)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/home/taiga/taiga-back/taiga/base/decorators.py", line 60, in decorator
return func(self, *args, **kwargs)
File "/home/taiga/taiga-back/taiga/base/api/mixins.py", line 200, in update
self.post_save(self.object, created=False)
File "/home/taiga/taiga-back/taiga/projects/userstories/api.py", line 247, in post_save
super().post_save(obj, created)
File "/home/taiga/taiga-back/taiga/projects/occ/mixins.py", line 85, in post_save
super().post_save(obj, created)
File "/home/taiga/taiga-back/taiga/projects/history/mixins.py", line 80, in post_save
super().post_save(obj, created=created)
File "/home/taiga/taiga-back/taiga/projects/notifications/mixins.py", line 96, in post_save
self.send_notifications(obj)
File "/home/taiga/taiga-back/taiga/projects/notifications/mixins.py", line 93, in send_notifications
services.send_notifications(obj, history=history)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/home/taiga/taiga-back/taiga/projects/notifications/services.py", line 236, in send_notifications
send_sync_notifications(notification.id)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/home/taiga/taiga-back/taiga/projects/notifications/services.py", line 306, in send_sync_notifications
email.send(user.email, context, headers=headers)
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/djmail/template_mail.py", line 122, in send
return email.send()
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/mail/message.py", line 348, in send
return self.get_connection(fail_silently).send_messages([self])
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/mail/backends/smtp.py", line 104, in send_messages
new_conn_created = self.open()
File "/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages/django/core/mail/backends/smtp.py", line 64, in open
self.connection = self.connection_class(self.host, self.port, **connection_params)
File "/usr/lib/python3.5/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python3.5/smtplib.py", line 335, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib/python3.5/smtplib.py", line 306, in _get_socket
self.source_address)
File "/usr/lib/python3.5/socket.py", line 711, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 702, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+unsubscribe@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/47098e77-77f1-4a59-9afb-38e4b356ef32%40googlegroups.com.