Which Faktory package and version?
Faktory 1.6.1 Docker image (contribsys/faktory:1.6.1)
Which Faktory worker package and version?
FWR 1.1.1
Please include any relevant worker configuration
Please include any relevant error messages or stacktraces
/usr/local/bundle/gems/faktory_worker_ruby-1.1.1/lib/faktory/client.rb:352:in `result': Invalid password\r (Faktory::CommandError)
from /usr/local/bundle/gems/faktory_worker_ruby-1.1.1/lib/faktory/client.rb:362:in `ok'
from /usr/local/bundle/gems/faktory_worker_ruby-1.1.1/lib/faktory/client.rb:294:in `open'
from /usr/local/bundle/gems/faktory_worker_ruby-1.1.1/lib/faktory/client.rb:58:in `initialize'
from -e:1:in `new'
from -e:1:in `<main>'
Are you using an old version? No
I'm using Faktory docker image version 1.6.1 (contribsys/faktory:1.6.1) and FWR 1.1.1
When I set a password for Faktory (using the env var FAKTORY_PASSWORD on the server) and the password has an invalid URL character (eg: @), when I connect to the server with FWR, I get the invalid password error. If I use a password without any URL invalid characters, everything works fine.
In the FAKTORY_URL I used the url-encoded password.
This docker compose file reproduces the error. If the password is changed to password (in both FAKTORY_PASSWORD and FAKTORY_URL), FWR can fetch jobs.
Issue migrated from https://github.com/contribsys/faktory/issues/411
Which Faktory package and version? Faktory 1.6.1 Docker image (contribsys/faktory:1.6.1)
Which Faktory worker package and version? FWR 1.1.1
Please include any relevant worker configuration
Please include any relevant error messages or stacktraces
Are you using an old version? No
I'm using Faktory docker image version 1.6.1 (contribsys/faktory:1.6.1) and FWR 1.1.1
When I set a password for Faktory (using the env var
FAKTORY_PASSWORD
on the server) and the password has an invalid URL character (eg:@
), when I connect to the server with FWR, I get the invalid password error. If I use a password without any URL invalid characters, everything works fine.In the FAKTORY_URL I used the url-encoded password.
This docker compose file reproduces the error. If the password is changed to
password
(in bothFAKTORY_PASSWORD
andFAKTORY_URL
), FWR can fetch jobs.Maybe a url-decode is missing before computing the password hash??