mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #609] Question: getting "Error: ENDED authentication_failed doesn't contain protocol(NUMBER)" when performing backend search #377
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#377
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 @bmscmoreira on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/609
After searching for a word in the backend, logged in as admin, I get the error:
"Error: ENDED authentication_failed doesn't contain protocol(NUMBER)"I am using docker and two containers - one for archivebox, other for sonic backend search. I have used the sample docker-compose file from https://github.com/ArchiveBox/ArchiveBox/blob/master/docker-compose.yml having changed "SEARCH_BACKEND_PASSWORD" to my custom password.
In sonic configuration file I have changed "auth_password" to that same custom password, and inet to "0.0.0.0:1491".
Can someone help me debug this? Thank you.
@pirate commented on GitHub (Jan 8, 2021):
Thanks for reporting @bmscmoreira we'll take a look. @jdcaballerov do you have any ideas?
@jdcaballerov commented on GitHub (Jan 8, 2021):
@bmscmoreira Are you setting the env var
SEARCH_BACKEND_PASSWORDto pass the new password to the ArchiveBox container?It appears to me you are only changing the password in the sonic container but you need to pass the newly set password to the ArchiveBox container using any of the configuration alternatives. One of those being an environment variable.
@bmscmoreira commented on GitHub (Jan 8, 2021):
Thank you @pirate and @jdcaballerov for your quick help. I was indeed missing the SEARCH_BACKEND_PASSWORD env variable in the archivebox service in my yml file.
May I suggest you add that line to line 26 here? - https://github.com/ArchiveBox/ArchiveBox/blob/master/docker-compose.yml
Thanks!
@jdcaballerov commented on GitHub (Jan 8, 2021):
@bmscmoreira great!, yes I think it's useful to have it there so it's explicit.
Added:
github.com/ArchiveBox/ArchiveBox@f7c76adfd8