mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[GH-ISSUE #243] Redis URL is not working as documented #60
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#60
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 @NobodysNightmare on GitHub (May 13, 2022).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/243
Hey there,
I just noticed today that parsing the
REDIS_URLenvironment variable does not work as documented.Environment
hibiken/asynqmon:0.7.1directlyExpected behaviour
Asynqmon works correctly when passing an environment variable like
REDIS_URL=redis://example.com. I take this from the docs linked for possible URL formats, specifically:I am interpreting the brackets (
[]) to denote optional parts, thus expecting the port to be optional.Actual behaviour
It is necessary to indicate the port in the URL, like so
REDIS_URL=redis://example.com:6379. Using the URL from the expected behaviour causes an error, which through the browser inspector can be read as: