Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Rabbit password variable in plane.env doesn't work (RABBITMQ_PASSWORD) #6540

Open
1 task done
dassels opened this issue Feb 2, 2025 · 0 comments
Open
1 task done
Assignees
Labels
🐛bug Something isn't working

Comments

@dassels
Copy link

dassels commented Feb 2, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I change value in plane.env for RABBITMQ_PASSWORD to non-default value, "Waiting for API Service to Start" goes into loop.

Expectation: Startup should complete.

It seems like there is no way to change the default passwords in .env file, and only defaults can be used.

Steps to reproduce

  1. Set password in plane.env for RABBITMQ_PASSWORD to non-default value.
  2. Starting container results in this error:
api-1  |   File "/usr/local/lib/python3.12/site-packages/amqp/connection.py", line 668, in _on_close
api-1  |     raise error_for_code(reply_code, reply_text,
api-1  | amqp.exceptions.AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
  1. Set AMQP_URL to AMQP_URL=amqp://${RABBITMQ_USER}:${RABBITMQ_PASSWORD}@${RABBITMQ_HOST}:${RABBITMQ_PORT}/${RABBITMQ_VHOST} (similar to what's described in issue: [bug]: variable in plane.env doesn't work (POSTGRES_PASSWORD, SECRET_KEY) #4749 to see if that fixes it).

New error shows, similar to error in issue 4749

api-1  |   File "/usr/local/lib/python3.12/site-packages/kombu/utils/url.py", line 70, in url_to_parts
api-1  |     parts.port,
api-1  |     ^^^^^^^^^^
api-1  |   File "/usr/local/lib/python3.12/urllib/parse.py", line 182, in port
api-1  |     raise ValueError(f"Port could not be cast to integer value as {port!r}")
api-1  | ValueError: Port could not be cast to integer value as 'sw.H'

Environment

Production

Browser

Mozilla Firefox

Variant

Self-hosted

Version

v0.24.1

@dassels dassels added the 🐛bug Something isn't working label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants