benhutchins / docker-taiga

Docker container for Taiga https://taiga.io
https://hub.docker.com/r/benhutchins/taiga/
GNU General Public License v3.0
288 stars 154 forks source link

taiga-events WebSocket errors #34

Open maxep opened 7 years ago

maxep commented 7 years ago

Hi @benhutchins ,

Thank you very much for this image.

I'm having troubles with taiga-event. I'm using taiga behind a reverse proxy and I keep receiving WebSocket errors:

WebSocket connection to 'wss://taiga.hulab.co/events' failed: Error during WebSocket handshake: Unexpected response code: 200
WebSocket error: [object Event]
WebSocket connection to 'wss://taiga.hulab.co/events' failed: WebSocket is closed before the connection is established.

Here my docker-compose.yml :

version: '3'

services:

  taiga:
    build: .
    container_name: taiga
    ports:
      - 1000:80
    depends_on:
      - taiga-db
      - taiga-events
      - taiga-rabbit
      - taiga-redis
    links:
      - taiga-db:postgres
      - taiga-rabbit:rabbit
      - taiga-redis:redis
      - taiga-events:events
    environment:
      TAIGA_HOSTNAME: taiga.hulab.co
      TAIGA_DB_HOST: postgres
      TAIGA_DB_NAME: xxx
      TAIGA_DB_USER: xxx
      TAIGA_DB_PASSWORD: xxx
      TAIGA_SSL_BY_REVERSE_PROXY: 'True'
      VIRTUAL_HOST: taiga.hulab.co
      LETSENCRYPT_HOST: taiga.hulab.co
      LETSENCRYPT_EMAIL: xxx
    volumes:
      - ./media:/usr/src/taiga-back/media
      - ./conf:/taiga

  taiga-db:
    image: postgres
    container_name: taiga-db
    environment:
      POSTGRES_DB: xxx
      POSTGRES_USER: xxx
      POSTGRES_PASSWORD: xxx
    ports:
      - 5432
    volumes:
      - ./data:/var/lib/postgresql/data

  taiga-rabbit:
    image: rabbitmq:3
    container_name: taiga-rabbit
    hostname: rabbit

  taiga-redis:
    image: redis:3
    container_name: taiga-redis

  taiga-celery:
    image: celery
    container_name: taiga-celery
    links:
      - taiga-rabbit:rabbit

  taiga-events:
    image: benhutchins/taiga-events
    container_name: taiga-events
    links:
      - taiga-rabbit:rabbit

networks:
  default:
    external:
      name: proxy

Any idea how to fix this?

Thanks a lot

hieu29791 commented 6 years ago

@maxep max Could you resolve it issue, I have the same issue with you, and can't resolve it. Thank you!

jcmmv00 commented 5 years ago

Same issue.