mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1292] Exception ConnectionResetError: [Errno 104] Connection reset is thrown when user navigates away while page is still loading #2306
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#2306
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 @mamema on GitHub (Dec 18, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1292
Describe the bug
docker log:
"GET /admin/core/archiveresult/?q=erika HTTP/1.1" 200 16014
Exception occurred during processing of request from ('192.168.0.2', 54854)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/socketserver.py", line 691, in process_request_thread
File "/usr/local/lib/python3.11/socketserver.py", line 361, in finish_request
File "/usr/local/lib/python3.11/socketserver.py", line 755, in init
File "/usr/local/lib/python3.11/site-packages/django/core/servers/basehttp.py", line 174, in handle
File "/usr/local/lib/python3.11/site-packages/django/core/servers/basehttp.py", line 182, in handle_one_request
File "/usr/local/lib/python3.11/socket.py", line 706, in readinto
ConnectionResetError: [Errno 104] Connection rese
Steps to reproduce
using the firefox or chrome extension and configure with blocklist, so EVERY web page visited should be archived
but nothing gets archived
ArchiveBox version
@pirate commented on GitHub (Dec 19, 2023):
The exception you posted is a common harmless exception that occurs when someone navigates away from a page while it's still loading, it doesn't indicate any failure of the archiving process. (in this case, it's showing a user searching for
erikain the admin UI Logs page/admin/core/archiveresult/?q=erika)Have you verified that the extension is not submitting URLs independently of this error message?
If it's indeed broken do you mind posting more of your
./data/logs/error.logfile, and or the output ofdocker compose uparound the time the extension is trying to submit URLs.@mamema commented on GitHub (Dec 19, 2023):
if i'm using the dev version i get it working.
But it is very sensitive with wrong regex filters. Easy to make mistakes there....
The error log is not reporting anything even when debugging is enabled
@pirate commented on GitHub (Dec 19, 2023):
Yeah, you can test your regex filters separately before adding them like so:
From the docs: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#url_denylist
@mamema commented on GitHub (Dec 20, 2023):
i'm using the regex101 page and select python as the regex mode. It's a gui and for the lazy ones like me