502 bad gateway

Hello, i’m experiencing the following issue.

Nextcloud:

ServerException
Server error: `GET http://192.168.1.5/healthcheck` resulted in a `502 Bad Gateway` response: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>ngin (truncated...)

My OnlyOffice docker-compose

version: "3.8"

services:
  onlyoffice-documentserver:
    image: onlyoffice/documentserver:latest
    container_name: onlyoffice-documentserver
    depends_on:
      - onlyoffice-postgresql
      - onlyoffice-rabbitmq
    environment:
      - DB_TYPE=postgres
      - DB_HOST=onlyoffice-postgresql
      - DB_PORT=5432
      - DB_NAME=onlyoffice
      - DB_USER=onlyoffice
      - AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
      # Uncomment strings below to enable the JSON Web Token validation.
      - JWT_ENABLED=true
      - JWT_SECRET=secret
      - JWT_HEADER=Authorization
      - JWT_IN_BODY=true
    ports:
      - "80:80"
      - "443:443"
    stdin_open: true
    restart: always
    stop_grace_period: 60s
    volumes:
      - /mnt/[PRIVATE]/onlyoffice/Data:/var/www/onlyoffice/Data
      - /mnt/[PRIVATE]/onlyoffice/logs:/var/log/onlyoffice
      - /mnt/[PRIVATE]/onlyoffice/cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files
      - /mnt/[PRIVATE]/onlyoffice/files:/var/www/onlyoffice/documentserver-example/public/files
      - /mnt/[PRIVATE]/fonts:/usr/share/fonts

  onlyoffice-rabbitmq:
    container_name: onlyoffice-rabbitmq
    image: rabbitmq
    restart: always
    expose:
      - "5672"

  onlyoffice-postgresql:
    container_name: onlyoffice-postgresql
    image: postgres:12
    environment:
      - POSTGRES_DB=onlyoffice
      - POSTGRES_USER=onlyoffice
      - POSTGRES_HOST_AUTH_METHOD=trust
    restart: always
    expose:
      - "5432"
    volumes:
      - /mnt/[PRIVATE]/onlyoffice_postgresql:/var/lib/postgresql

networks:
  default:
    name: nextcloud_default
    external: true

Nextcloud & OnlyOffice is running on the same Pi 5 server via docker.
How can i solve this?

Hello @username2

Are you indeed using ONLYOFFICE Docs (Document Server)? The category is set as Workspace, which is a separate product.

If so, please consider the fact that you are trying to access internal IP in Docker container instead of a IP of your network. Have you tried using public IPs?