I have the same thing on a few small sites I have. I had assumed it was something I did.
I asked about it last month or so and did not get anyone saying they also see it. I had even built a new project at that time to test and saw the same thing. As they are sites just for me, I just resorted to clicking submit and wait 5 seconds then refresh the admin page and i am in. I just tried in firefox and it did not freeze like chrome. Dylan On Thu, Aug 27, 2020 at 5:34 PM tiggums B <[email protected]> wrote: > Hello, > > *SUMMARY*: > During user authentication, POST is successful but will stall on the 302 > redirect. > > *INFO*: > On Chrome(85.0.4183.83) > Django 2.1 & Django 3.1 > DEBUG = True, > Happens rarely on HTTPS live-servers > > *STEPS TO REPRODUCE*: > > 1. On chrome browser, run manage.py runserver > 2. Using a custom AUTH_USER_MODEL, authenticate a user > 3. Local machine will return "POST / HTTP/1.1" 302 0 and stall here > 4. Refreshing page will return GET 200 > 5. All following authentication/redirects will work normally > > > *WHAT I'VE TRIED*: > Set CSRF_COOKIE_SAMESITE = 'Strict' as indicated by Stack overflow > <https://stackoverflow.com/questions/60979106/django-login-post-hangs-when-i-do-httpresponseredirect-302> > Cleared Cookies before-hand > Works on Microsoft Edge(84.0.522.63) > Does not happen on live servers launched > > *RESOURCE*: > https://bugs.chromium.org/p/chromium/issues/detail?id=1099122 > > *QUESTIONS*: > Has anyone else encountered this issue? > Has anyone else found a solution that works? > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/af5bbd03-7349-428b-b9cb-d76505095623n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/af5bbd03-7349-428b-b9cb-d76505095623n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHtg44ArOvwpzprP9TQSK2R-QzYT5JT4gv1BJ-2ykLnwHLLrmQ%40mail.gmail.com.

