Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 Gateway Timeout #4510

Open
JPilarr opened this issue Aug 10, 2023 · 2 comments
Open

504 Gateway Timeout #4510

JPilarr opened this issue Aug 10, 2023 · 2 comments
Labels

Comments

@JPilarr
Copy link

JPilarr commented Aug 10, 2023

What happened?

i got 504 status on django runserver several times ,
it is usually one or two seconds after request.

What should've happened instead?

Additional details

  • Host system configuration:

    • Version of cookiecutter CLI (get it with cookiecutter --version):
    • OS name and version:

requirement file>
`pytz==2022.7.1 # https://github.com/stub42/pytz
python-slugify==8.0.1 # https://github.com/un33k/python-slugify
Pillow==9.4.0 # https://github.com/python-pillow/Pillow
argon2-cffi==21.3.0 # https://github.com/hynek/argon2_cffi
whitenoise==6.4.0 # https://github.com/evansd/whitenoise
redis==4.5.1 # https://github.com/redis/redis-py
hiredis==2.2.2 # https://github.com/redis/hiredis-py
celery==5.2.7 # pyup: < 6.0 # https://github.com/celery/celery
django-celery-beat==2.4.0 # https://github.com/celery/django-celery-beat
flower==1.2.0 # https://github.com/mher/flower
requests==2.28.2 # https://github.com/psf/requests
django-health-check==3.17.0
psutil==5.9.5
elasticsearch==8.7.0
PyYAML==6.0

Django

------------------------------------------------------------------------------

django==4.0.10 # pyup: < 4.1 # https://www.djangoproject.com/
django-environ==0.10.0 # https://github.com/joke2k/django-environ
django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils
django-allauth==0.52.0 # https://github.com/pennersr/django-allauth
dj-rest-auth==4.0.1
django-crispy-forms==2.0 # https://github.com/django-crispy-forms/django-crispy-forms
crispy-bootstrap5==0.7 # https://github.com/django-crispy-forms/crispy-bootstrap5
django-redis==5.2.0 # https://github.com/jazzband/django-redis

Django REST Framework

djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework
django-cors-headers==3.14.0 # https://github.com/adamchainz/django-cors-headers
django-filter==22.1 #https://github.com/carltongibson/django-filter

DRF-spectacular for api documentation

drf-spectacular==0.26.0 # https://github.com/tfranzel/drf-spectacular
django-simple-history==3.3.0 # https://django-simple-history.readthedocs.io/
`

On Linux, run

```bash
lsb_release -a 2> /dev/null || cat /etc/redhat-release 2> /dev/null || cat /etc/*-release 2> /dev/null || cat /etc/issue 2> /dev/null
```


```
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
```

```bash
# Insert here the OS name and version

```
  • Python version, run python3 -V:

  • Docker version (if using Docker), run docker --version:

  • docker compose version (if using Docker), run docker compose --version:

  • ...

  • Options selected and/or replay file:
    On Linux and macOS: cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
    (Please, take care to remove sensitive information)

Logs:
$ cookiecutter https://github.com/cookiecutter/cookiecutter-django
project_name [Project Name]: ...
@JPilarr JPilarr added the bug label Aug 10, 2023
@luzfcb
Copy link
Collaborator

luzfcb commented Aug 10, 2023

@JPilarr Thank you for reporting a possible issue. However, you did not provide the minimum information necessary for us to be able to try to reproduce the problem minimally.

@browniebroke browniebroke added the waiting Waiting for an answer and auto-close after 10 days label Aug 10, 2023
@JPilarr
Copy link
Author

JPilarr commented Aug 17, 2023

the problem is usually on dev machine not on server it weird.

@github-actions github-actions bot removed the waiting Waiting for an answer and auto-close after 10 days label Aug 17, 2023
@browniebroke browniebroke added waiting Waiting for an answer and auto-close after 10 days and removed waiting Waiting for an answer and auto-close after 10 days labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants