mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #565] 500 error after upgrading: 'SessionStore' object has no attribute '_session_cache' due to binascii.Error: Incorrect padding #360
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#360
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @M4RC02U1F4A4 on GitHub (Dec 3, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/565
Describe the bug
After update from nikisweeting/archivebox to archivebox/archivebox i get Server Error (500) when using nginx
If i try to use the IP and http everythings works
Screenshots or log output
Archivebox LOG
NGINX conf
Software versions
@pirate commented on GitHub (Dec 3, 2020):
Can you try launching the server with
archivebox server --debug 0.0.0.0:8000and posting the error output you see.@M4RC02U1F4A4 commented on GitHub (Dec 3, 2020):
@pirate commented on GitHub (Dec 3, 2020):
Oh you need to run
archivebox initwhenever you update the container, it's just missing some migrations I think.@M4RC02U1F4A4 commented on GitHub (Dec 3, 2020):
I did this when I changed Docker hub repository
However I tried again and I always get Server Error (500)
@pirate commented on GitHub (Dec 3, 2020):
Did you at any point run the
:latestversion from docker before downgrading back tov0.4.24? That might explain it.You can try fixing it by running this in
archivebox shell:You should also clear your browser cookies and cache for https://archivebox.saturn.local so that it doesn't resend the bad token to the backend, then try logging in again.
This error appears to be specific to Django 3.0.6, and is fixed with 3.1 which we will release with the next ArchiveBox v0.5.0 version in a few weeks, so as long as we get it working for you I'm not too worried about it affecting other users.
https://stackoverflow.com/questions/63546429/binascii-error-incorrect-padding-in-python-django
https://code.djangoproject.com/ticket/31592
@M4RC02U1F4A4 commented on GitHub (Dec 3, 2020):
Not at any time, but always, the image is automatically updated to the image on Docker Hub marked as latest
Cleaned cache and cookies and now it works, thanks
@BlankerL commented on GitHub (Dec 4, 2020):
Thank you for the solution, worked on my browser as well.