403 - Permission Forbidden
kmkmjhyiiiu opened this issue · comments
... commented
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: