WebSocket error: [object Event]

Hello :slight_smile:
I have set up an environment on an Ubuntu server via a subdomain following the “Taiga 30min Setup”.
The proxy host and SSL certificate are set up via “Nginx Proxy Manager”. (taiga.domain. com → http: //123.456.789.1:9000 & www.taiga.domain. com → http: //123.456.789.1:9000)
So far everything is working and I can use Taiga.
However, I now have two problems that I’m not sure are related.

Problem 1:
When calling “https:// taiga.mydomain. com” the following error message appears directly in the Chrome developer console:

app.js:3322 WebSocket connection to 'wss:// taiga.domain. com/events' failed: 
e.setupConnection	@	app.js:3322

angular.js:14195 WebSocket error: [object Event]
(anonymous)	@	angular.js:14195

I have already tried several approaches here, but could not find the problem.

Problem 2:
Sending mail does not work. If I want to add another user to a project, the following message appears in the console:

POST https: //taiga.domain. com/api/v1/memberships/bulk_create 502 (Bad Gateway)
r				@	elements.js:1
value			@	elements.js:1
onScheduleTask	@	elements.js:1
value			@	elements.js:1
value			@	elements.js:1
value			@	elements.js:1
w				@	elements.js:1
(anonymous)		@	elements.js:1
T.r.<computed>	@	elements.js:1
(anonymous)		@	angular.js:12261
(anonymous)		@	angular.js:12023
(anonymous)		@	angular.js:11818
(anonymous)		@	angular.js:16692
(anonymous)		@	angular.js:16708
$eval			@	angular.js:17990
$digest			@	angular.js:17804
$apply			@	angular.js:18098
(anonymous)		@	angular.js:26585
dispatch		@	jquery.js:4737
p.handle		@	jquery.js:4549
value			@	elements.js:1
onInvokeTask	@	elements.js:1
value			@	elements.js:1
value			@	elements.js:1
value			@	elements.js:1
o				@	elements.js:1
v				@	elements.js:1

My current .ENV:

# Taiga's URLs - Variables to define where Taiga should be served
TAIGA_SCHEME=https  # serve Taiga using "http" or "https" (secured) connection
TAIGA_DOMAIN=taiga.domain. com  # Taiga's base URL
SUBPATH="" # it'll be appended to the TAIGA_DOMAIN (use either "" or a "/subpath")
WEBSOCKETS_SCHEME=wss  # events connection protocol (use either "ws" or "wss")

# Taiga's Secret Key - Variable to provide cryptographic signing
SECRET_KEY="MY_SECRET_KEY"  # Please, change it to an unpredictable value!!

# Taiga's Database settings - Variables to create the Taiga database and connect to it
POSTGRES_USER=taiga  # user to connect to PostgreSQL
POSTGRES_PASSWORD=taiga  # database user's password

# Taiga's SMTP settings - Variables to send Taiga's emails to the users
EMAIL_BACKEND=smtp  # use an SMTP server or display the emails in the console (either "smtp" or "console")
EMAIL_HOST=smtp.host. com  # SMTP server address
EMAIL_PORT=587   # default SMTP port
EMAIL_HOST_USER=info@domain. com  # user to connect the SMTP server
EMAIL_HOST_PASSWORD=PASSWORD  # SMTP user's password
EMAIL_DEFAULT_FROM=info@domain.de  # default email address for the automated emails
# EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive (only set one of those to True)
EMAIL_USE_TLS=True  # use TLS (secure) connection with the SMTP server
EMAIL_USE_SSL=False  # use implicit TLS (secure) connection with the SMTP server

# Taiga's RabbitMQ settings - Variables to leave messages for the realtime and asynchronous events
RABBITMQ_USER=taiga  # user to connect to RabbitMQ
RABBITMQ_PASS=taiga  # RabbitMQ user's password
RABBITMQ_VHOST=taiga  # RabbitMQ container name
RABBITMQ_ERLANG_COOKIE=secret-erlang-cookie  # unique value shared by any connected instance of RabbitMQ

# Taiga's Attachments - Variable to define how long the attachments will be accesible
ATTACHMENTS_MAX_AGE=360  # token expiration date (in seconds)

# Taiga's Telemetry - Variable to enable or disable the anonymous telemetry
ENABLE_TELEMETRY=True

Here are my currently running containers:

CONTAINER ID   IMAGE                             COMMAND                  CREATED       STATUS                 PORTS                                                                                  NAMES
d744dafef82b   penpotapp/frontend:latest         "/bin/bash /entrypoi…"   2 hours ago   Up 2 hours             8080/tcp, 0.0.0.0:9001->80/tcp, [::]:9001->80/tcp                                      taiga-docker-penpot-frontend-1
6cb385793b53   redis:6                           "docker-entrypoint.s…"   2 hours ago   Up 2 hours             6379/tcp                                                                               taiga-docker-penpot-redis-1
e3397bfbd0c4   penpotapp/exporter:latest         "node app.js"            2 hours ago   Up 2 hours                                                                                                    taiga-docker-penpot-exporter-1
697a469e1bc8   postgres:13                       "docker-entrypoint.s…"   2 hours ago   Up 2 hours             5432/tcp                                                                               taiga-docker-penpot-postgres-1
8dd1008166c7   nginx:1.19-alpine                 "/docker-entrypoint.…"   2 hours ago   Up 2 hours             0.0.0.0:9000->80/tcp, [::]:9000->80/tcp                                                taiga-docker-taiga-gateway-1
015a2c50ffdd   taigaio/taiga-back:latest         "/taiga-back/docker/…"   2 hours ago   Up 2 hours             8000/tcp                                                                               taiga-docker-taiga-async-1
6d0bee15b593   taigaio/taiga-events:latest       "./docker/entrypoint…"   2 hours ago   Up 2 hours             8888/tcp                                                                               taiga-docker-taiga-events-1
d08d9c1a7eb8   taigaio/taiga-back:latest         "./docker/entrypoint…"   2 hours ago   Up 2 hours             8000/tcp                                                                               taiga-docker-taiga-back-1
850f3bbdd32c   taigaio/taiga-front:latest        "/docker-entrypoint.…"   2 hours ago   Up 2 hours             80/tcp                                                                                 taiga-docker-taiga-front-1
74750ac87bba   postgres:12.3                     "docker-entrypoint.s…"   2 hours ago   Up 2 hours (healthy)   5432/tcp                                                                               taiga-docker-taiga-db-1
e45622e218a5   rabbitmq:3.8-management-alpine    "docker-entrypoint.s…"   2 hours ago   Up 2 hours             4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp                   taiga-docker-taiga-events-rabbitmq-1
90e30625a392   rabbitmq:3.8-management-alpine    "docker-entrypoint.s…"   2 hours ago   Up 2 hours             4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp                   taiga-docker-taiga-async-rabbitmq-1
488479b3c97e   taigaio/taiga-protected:latest    "./docker/entrypoint…"   2 hours ago   Up 2 hours             8003/tcp                                                                               taiga-docker-taiga-protected-1
7c13b6facb85   jc21/mariadb-aria:latest          "/scripts/run.sh"        7 days ago    Up 28 hours            3306/tcp                                                                               nginxproxymanager_db_1
d9b1b45e87da   jc21/nginx-proxy-manager:latest   "/init"                  7 days ago    Up 28 hours            0.0.0.0:80-81->80-81/tcp, :::80-81->80-81/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   nginxproxymanager_app_1

Happy for any help. ^^