Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

403 - Permission Forbidden #1191

Open
kmkmjhyiiiu opened this issue Jul 3, 2020 · 0 comments
Open

403 - Permission Forbidden #1191

kmkmjhyiiiu opened this issue Jul 3, 2020 · 0 comments

Comments

@kmkmjhyiiiu
Copy link

Sometimes i received 403 permission denied error. In the app, i retrieve live url and wait for it to ready with 200 http code. However this still appears. Any idea ?

Environment

OS: Ubuntu 2020
Zalenium Image Version(s): 3.141.59z
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.25.0, build unknown
Exact Docker command to start the containers (if using docker-compose, provide
the docker-compose file as well):

docker-compose.yml:

version: '3'

services:

  chrome:
    restart: on-failure
    image: "dosel/zalenium:latest"
    volumes:
      - ./media/bot/chrome-sessions/recordings:/home/seluser/videos
      - /var/run/docker.sock:/var/run/docker.sock
      - ./static:/code/static/
      - ./static/bot/ftc/chrome/downloads/:/tmp/node/home/seluser/ftc/chrome/downloads/
      - ./media:/code/media/
    command: ['start',
              '--timeZone', "America/Los_Angeles",
              '--videoRecordingEnabled', 'true',
              '--sauceLabsEnabled', 'false',
              '--browserStackEnabled', 'false',
              '--testingBotEnabled', 'false',
              '--cbtEnabled', 'false',
              '--startTunnel', 'false',
              '--lambdaTestEnabled', 'false',
              '--logJson', 'true',
              '--seleniumImageName', 'ammadkhalid/bot-hub'
    ]
    ports:
      - 4444:4444

  nginx:
    image: nginx:alpine
    expose:
      - "80"
    env_file:
      - .env
    volumes:
      - ./static:/code/static
      - ./media:/code/media
      - ./docker/nginx/conf.d:/etc/nginx/conf.d
    networks:
      - web
    links:
      - web
    depends_on:
      - web
    restart: unless-stopped

  celery-beat:
    build: .
    command: ["./scripts/wait-for-it.sh", "web:8000", "--", "bash", "./scripts/run_celery_beat_process.sh"]
    env_file:
      - .env
    volumes:
      - /dev/shm:/dev/shm
      - .:/code/
    depends_on:
      - web

  celery-worker:
    build: .
    command: ["./scripts/wait-for-it.sh", "web:8000", "--", "bash", "./scripts/run_celery_worker_process.sh"]
    env_file:
      - .env
    volumes:
      - /dev/shm:/dev/shm
      - .:/code/
    depends_on:
      - web

  redis:
    image: "redis:latest"
    expose:
      - "6379"

  web:
    image: registry.gitlab.com/ammadkhalid/new-mel-crm
    depends_on:
      - chrome
    links:
      - chrome
    env_file:
      - .env
    build: .
    command: ["./scripts/wait-for-it.sh", "chrome:4444", "--", "bash", "./scripts/run_server.sh"]
    volumes:
      - /dev/shm:/dev/shm
      - .:/code
      - ./static:/code/static/
      - ./media:/code/media/
    expose:
      - "8000"
    restart: on-failure


networks:
  default:
    external:
      name: nginx-proxy
  web:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant