Taiga Events - returns 502 status (with ssl)

236 views
Skip to first unread message

in...@lundp.de

unread,
Jul 19, 2016, 2:52:02 AM7/19/16
to taigaio
Hey,

I'm trying to configure Taiga Events on our local Ubuntu 14.04. installation but the server always returns a 502-http-status.

Already searched other threads for a solution but got stuck everytime.
For example I followed this thread.

Here is some output and some config files:
~/taiga-events$ sudo circusctl status
taiga
: active
taiga
-celery: active
taiga
-events: active

Taiga-Events part in circus.ini

[watcher:taiga-events]
working_dir
= /home/taiga/taiga-events
cmd
= /usr/local/bin/coffee
args
= index.coffee
uid
= taiga
numprocesses
= 1
autostart
= true
send_hup
= true
stdout_stream
.class = FileStream
stdout_stream
.filename = /home/taiga/logs/taigaevents.stdout.log
stdout_stream
.max_bytes = 10485760
stdout_stream
.backup_count = 12
stderr_stream
.class = FileStream
stderr_stream
.filename = /home/taiga/logs/taigaevents.stderr.log
stderr_stream
.max_bytes = 10485760
stderr_stream
.backup_count = 12


~/taiga-events$ /usr/local/lib/node_modules/coffee-script/bin/coffee index.coffee

events
.js:72
       
throw er; // Unhandled 'error' event
             
^
Error: listen EADDRINUSE
  at errnoException
(net.js:901:11)
  at
Server._listen2 (net.js:1039:14)
  at listen
(net.js:1061:10)
  at net
.js:1143:9
  at dns
.js:72:18
  at process
._tickCallback (node.js:415:13)
  at
Function.Module.runMain (module.js:499:11)
  at startup
(node.js:119:16)
  at node
.js:902:3




Firefox console:
"NetworkError: 502 Bad Gateway - https://my.domain.de/events"
events
Firefox kann keine Verbindung zu dem Server unter wss://my.domain.de/events aufbauen.

Anything else that I should post to help find the problem?

Regards,

Christoph Kaun

Alejandro Alonso

unread,
Jul 20, 2016, 2:53:31 AM7/20/16
to Christoph Kaun, taigaio
Hello Christoph,

The error when executing "/usr/local/lib/node_modules/coffee-script/bin/coffee index.coffee" makes sense because probably it's yet launched via circus, if you want to execute it manually you should first stop the circus process (circusctl stop taiga-events).

Regards,


--

  
Alejandro Alonso Fernández
CIO & Co-founder
www.kaleidos.net/FC8EAC/
Reply all
Reply to author
Forward
0 new messages