Loading animation and attempt to POST to localhost:3000

Aperta
#199 7 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker

Direzione di ricerca

Inizia con il compose.yaml non modificato e i valori di .env, in particolare ROOT_URL, quindi riproduci la richiesta del browser a /meteor/dynamic-import/fetch attraverso la configurazione di SSL-offload di HAProxy. Il lavoro è completato quando l'istanza di Rocket.Chat distribuita si carica senza tentare di eseguire un POST a localhost:3000.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi all,
I'm running Haproxy (ssl offload) ->rocketchat(docker).
The container starts ok but in the browser i can only see the three dots animation and in my browser dev-tools/network i see a failed POST request to localhost:3000.

The request is:

http://localhost:3000/__meteor__/dynamic-import/fetch

I would expect that the configuration of the url is picked up from .env ROOT_URL
It seems to me that something keeps using localhost:3000 for URL building.
Do you guys know what this can be?

Here is my env, the compose.yaml is untouched:

### Rocket.Chat configuration

# Rocket.Chat version
# see:- https://github.com/RocketChat/Rocket.Chat/releases
#RELEASE=
# MongoDB endpoint (include ?replicaSet= parameter)
#MONGO_URL=
# MongoDB endpoint to the local database
#MONGO_OPLOG_URL=
# IP to bind the process to
#BIND_IP=
# URL used to access your Rocket.Chat instance
ROOT_URL=https://rchat.example.com
# Port Rocket.Chat runs on (in-container)
#PORT=
# Port on the host to bind to
#HOST_PORT=

### MongoDB configuration
# MongoDB version/image tag
#MONGODB_VERSION=
# See:- https://hub.docker.com/r/bitnami/mongodb

### Traefik config (if enabled)
# Traefik version/image tag
#TRAEFIK_RELEASE=
# Domain for https (change ROOT_URL & BIND_IP accordingly)
DOMAIN=rchat.example.com
# Email for certificate notifications
#LETSENCRYPT_EMAIL=

Do I need to disable traefik in compose.yaml?

Many thanks in advance.

Lingua principale
Dockerfile
Stelle
336
Fork
226
Merge medio
21g 4h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Docker.Official.Image

Tutte le issue di RocketChat/Docker.Official.Image

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.