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]: Bad Gateway error on some Docker templates (Budibase and RabbitMQ) #3445

Open
1 of 2 tasks
wkalamaras opened this issue Sep 15, 2024 · 1 comment
Open
1 of 2 tasks

Comments

@wkalamaras
Copy link

Description

Fresh install of Coolify v4.0.0-beta.335 on VPS throws "Bad Gateway" with some Docker templates (Buddibase and RabbitMQ); others work properly.

Tested affected templates on new install:
-Budibase
-RabbitMQ

for contrast, these templates seem to work without issue:
-Supabase
-n8n (with/without Postgres)
-Activepieces
-docuseal (with/without Postgres)

Minimal Reproduction (if possible, example repository)

  • Fresh Ubutnu 20.04.6 LTS install on VPS
  • Install Coolify using command "curl -fsSL https://get.coolify.io | sh"
  • "Add New Resource" under Projects
  • Deploy "Budibase" or "RabbitMQ" template from Services list
  • Wait for all services to become healthy
  • Visit resource link
  • Receive "Bad Gateway" error

Exception or Error

Do not see any immediately apparent errors in the logs section, nor are any dependencies failing to start or causing issues on either template.

Here are RabbitMQ logs:

2024-09-15T19:04:26.668337791Z 2024-09-15 19:04:26.667653+00:00 [info] <0.254.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit
2024-09-15T19:04:26.668414065Z 2024-09-15 19:04:26.667724+00:00 [info] <0.254.0> Running boot step rabbit_exchange_type_direct defined by app rabbit
2024-09-15T19:04:26.668475148Z 2024-09-15 19:04:26.667809+00:00 [info] <0.254.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit
2024-09-15T19:04:26.668635660Z 2024-09-15 19:04:26.667910+00:00 [info] <0.254.0> Running boot step rabbit_exchange_type_headers defined by app rabbit
2024-09-15T19:04:26.668864474Z 2024-09-15 19:04:26.667957+00:00 [info] <0.254.0> Running boot step rabbit_exchange_type_topic defined by app rabbit
2024-09-15T19:04:26.668914861Z 2024-09-15 19:04:26.667983+00:00 [info] <0.254.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit
2024-09-15T19:04:26.669002793Z 2024-09-15 19:04:26.668027+00:00 [info] <0.254.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit
2024-09-15T19:04:26.669222404Z 2024-09-15 19:04:26.668057+00:00 [info] <0.254.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit
2024-09-15T19:04:26.669311358Z 2024-09-15 19:04:26.668083+00:00 [info] <0.254.0> Running boot step rabbit_priority_queue defined by app rabbit
2024-09-15T19:04:26.669415355Z 2024-09-15 19:04:26.668099+00:00 [info] <0.254.0> Priority queues enabled, real BQ is rabbit_variable_queue
2024-09-15T19:04:26.669478631Z 2024-09-15 19:04:26.668127+00:00 [info] <0.254.0> Running boot step rabbit_queue_location_client_local defined by app rabbit
2024-09-15T19:04:26.669554024Z 2024-09-15 19:04:26.668155+00:00 [info] <0.254.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit
2024-09-15T19:04:26.669638261Z 2024-09-15 19:04:26.668178+00:00 [info] <0.254.0> Running boot step rabbit_queue_location_random defined by app rabbit
2024-09-15T19:04:26.669682006Z 2024-09-15 19:04:26.668201+00:00 [info] <0.254.0> Running boot step kernel_ready defined by app rabbit
2024-09-15T19:04:26.669794496Z 2024-09-15 19:04:26.668213+00:00 [info] <0.254.0> Running boot step rabbit_sysmon_minder defined by app rabbit
2024-09-15T19:04:26.669819694Z 2024-09-15 19:04:26.668299+00:00 [info] <0.254.0> Running boot step rabbit_epmd_monitor defined by app rabbit
2024-09-15T19:04:26.669874116Z 2024-09-15 19:04:26.669064+00:00 [info] <0.566.0> epmd monitor knows us, inter-node communication (distribution) port: 25672
2024-09-15T19:04:26.669936501Z 2024-09-15 19:04:26.669152+00:00 [info] <0.254.0> Running boot step guid_generator defined by app rabbit
2024-09-15T19:04:26.670205706Z 2024-09-15 19:04:26.670094+00:00 [info] <0.254.0> Running boot step rabbit_node_monitor defined by app rabbit
2024-09-15T19:04:26.670424536Z 2024-09-15 19:04:26.670295+00:00 [info] <0.570.0> Starting rabbit_node_monitor (in ignore mode)
2024-09-15T19:04:26.670484225Z 2024-09-15 19:04:26.670392+00:00 [info] <0.254.0> Running boot step delegate_sup defined by app rabbit
2024-09-15T19:04:26.670769805Z 2024-09-15 19:04:26.670665+00:00 [info] <0.254.0> Running boot step rabbit_memory_monitor defined by app rabbit
2024-09-15T19:04:26.670887523Z 2024-09-15 19:04:26.670777+00:00 [info] <0.254.0> Running boot step rabbit_fifo_dlx_sup defined by app rabbit
2024-09-15T19:04:26.671154446Z 2024-09-15 19:04:26.670891+00:00 [info] <0.254.0> Running boot step core_initialized defined by app rabbit
2024-09-15T19:04:26.671251792Z 2024-09-15 19:04:26.670926+00:00 [info] <0.254.0> Running boot step rabbit_channel_tracking_handler defined by app rabbit
2024-09-15T19:04:26.671372233Z 2024-09-15 19:04:26.671022+00:00 [info] <0.254.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit
2024-09-15T19:04:26.671450091Z 2024-09-15 19:04:26.671054+00:00 [info] <0.254.0> Running boot step rabbit_definitions_hashing defined by app rabbit
2024-09-15T19:04:26.671520187Z 2024-09-15 19:04:26.671104+00:00 [info] <0.254.0> Running boot step rabbit_exchange_parameters defined by app rabbit
2024-09-15T19:04:26.689476610Z 2024-09-15 19:04:26.689195+00:00 [info] <0.254.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit
2024-09-15T19:04:26.689706997Z 2024-09-15 19:04:26.689552+00:00 [info] <0.254.0> Running boot step rabbit_policies defined by app rabbit
2024-09-15T19:04:26.689920720Z 2024-09-15 19:04:26.689816+00:00 [info] <0.254.0> Running boot step rabbit_policy defined by app rabbit
2024-09-15T19:04:26.689959367Z 2024-09-15 19:04:26.689859+00:00 [info] <0.254.0> Running boot step rabbit_queue_location_validator defined by app rabbit
2024-09-15T19:04:26.689997364Z 2024-09-15 19:04:26.689900+00:00 [info] <0.254.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit
2024-09-15T19:04:26.690117085Z 2024-09-15 19:04:26.689930+00:00 [info] <0.254.0> Running boot step rabbit_quorum_queue defined by app rabbit
2024-09-15T19:04:26.690207732Z 2024-09-15 19:04:26.689985+00:00 [info] <0.254.0> Running boot step rabbit_stream_coordinator defined by app rabbit
2024-09-15T19:04:26.690268874Z 2024-09-15 19:04:26.690089+00:00 [info] <0.254.0> Running boot step rabbit_vhost_limit defined by app rabbit
2024-09-15T19:04:26.690302084Z 2024-09-15 19:04:26.690143+00:00 [info] <0.254.0> Running boot step rabbit_federation_parameters defined by app rabbitmq_federation
2024-09-15T19:04:26.690337508Z 2024-09-15 19:04:26.690248+00:00 [info] <0.254.0> Running boot step rabbit_federation_supervisor defined by app rabbitmq_federation
2024-09-15T19:04:26.695182259Z 2024-09-15 19:04:26.694986+00:00 [info] <0.254.0> Running boot step rabbit_federation_queue defined by app rabbitmq_federation
2024-09-15T19:04:26.695273166Z 2024-09-15 19:04:26.695156+00:00 [info] <0.254.0> Running boot step rabbit_federation_upstream_exchange defined by app rabbitmq_federation
2024-09-15T19:04:26.695336832Z 2024-09-15 19:04:26.695241+00:00 [info] <0.254.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management
2024-09-15T19:04:26.695378555Z 2024-09-15 19:04:26.695295+00:00 [info] <0.254.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent
2024-09-15T19:04:26.695443383Z 2024-09-15 19:04:26.695355+00:00 [info] <0.254.0> Management plugin: using rates mode 'basic'
2024-09-15T19:04:26.695582362Z 2024-09-15 19:04:26.695496+00:00 [info] <0.254.0> Running boot step recovery defined by app rabbit
2024-09-15T19:04:26.705483084Z 2024-09-15 19:04:26.705241+00:00 [info] <0.254.0> Running boot step empty_db_check defined by app rabbit
2024-09-15T19:04:26.705499148Z 2024-09-15 19:04:26.705336+00:00 [info] <0.254.0> Will seed default virtual host and user...
2024-09-15T19:04:26.705579810Z 2024-09-15 19:04:26.705448+00:00 [info] <0.254.0> Adding vhost '/' (description: 'Default virtual host', tags: [])
2024-09-15T19:04:26.708963509Z 2024-09-15 19:04:26.708799+00:00 [info] <0.630.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@012113c8f910/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
2024-09-15T19:04:26.709505486Z 2024-09-15 19:04:26.709379+00:00 [info] <0.630.0> Setting segment_entry_count for vhost '/' with 0 queues to '2048'
2024-09-15T19:04:26.714382347Z 2024-09-15 19:04:26.714271+00:00 [info] <0.630.0> Starting message stores for vhost '/'
2024-09-15T19:04:26.714560616Z 2024-09-15 19:04:26.714406+00:00 [info] <0.639.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
2024-09-15T19:04:26.715246759Z 2024-09-15 19:04:26.715111+00:00 [info] <0.630.0> Started message store of type transient for vhost '/'
2024-09-15T19:04:26.715370216Z 2024-09-15 19:04:26.715228+00:00 [info] <0.643.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
2024-09-15T19:04:26.715644489Z ;5;214m2024-09-15 19:04:26.715525+00:00 [warning] <0.643.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch
2024-09-15T19:04:26.716020035Z 2024-09-15 19:04:26.715905+00:00 [info] <0.630.0> Started message store of type persistent for vhost '/'
2024-09-15T19:04:26.716123240Z 2024-09-15 19:04:26.715981+00:00 [info] <0.630.0> Recovering 0 queues of type rabbit_classic_queue took 6ms
2024-09-15T19:04:26.716130482Z 2024-09-15 19:04:26.716025+00:00 [info] <0.630.0> Recovering 0 queues of type rabbit_quorum_queue took 0ms
2024-09-15T19:04:26.716218775Z 2024-09-15 19:04:26.716058+00:00 [info] <0.630.0> Recovering 0 queues of type rabbit_stream_queue took 0ms
2024-09-15T19:04:26.717575209Z 2024-09-15 19:04:26.717447+00:00 [info] <0.254.0> Created user '26ZvpasTBn4qldb0'
2024-09-15T19:04:26.717995342Z 2024-09-15 19:04:26.717862+00:00 [info] <0.254.0> Successfully set user tags for user '26ZvpasTBn4qldb0' to [administrator]
2024-09-15T19:04:26.718462045Z 2024-09-15 19:04:26.718337+00:00 [info] <0.254.0> Successfully set permissions for user '26ZvpasTBn4qldb0' in virtual host '/' to '.', '.', '.*'
2024-09-15T19:04:26.718530067Z 2024-09-15 19:04:26.718415+00:00 [info] <0.254.0> Running boot step rabbit_observer_cli defined by app rabbit
2024-09-15T19:04:26.718655167Z 2024-09-15 19:04:26.718449+00:00 [info] <0.254.0> Running boot step rabbit_looking_glass defined by app rabbit
2024-09-15T19:04:26.718754366Z 2024-09-15 19:04:26.718469+00:00 [info] <0.254.0> Running boot step rabbit_core_metrics_gc defined by app rabbit
2024-09-15T19:04:26.718901328Z 2024-09-15 19:04:26.718628+00:00 [info] <0.254.0> Running boot step background_gc defined by app rabbit
2024-09-15T19:04:26.718957662Z 2024-09-15 19:04:26.718779+00:00 [info] <0.254.0> Running boot step routing_ready defined by app rabbit
2024-09-15T19:04:26.719034098Z 2024-09-15 19:04:26.718820+00:00 [info] <0.254.0> Running boot step pre_flight defined by app rabbit
2024-09-15T19:04:26.719107658Z 2024-09-15 19:04:26.718857+00:00 [info] <0.254.0> Running boot step notify_cluster defined by app rabbit
2024-09-15T19:04:26.719177504Z 2024-09-15 19:04:26.718911+00:00 [info] <0.254.0> Running boot step networking defined by app rabbit
2024-09-15T19:04:26.719212927Z 2024-09-15 19:04:26.718965+00:00 [info] <0.254.0> Running boot step rabbit_quorum_queue_periodic_membership_reconciliation defined by app rabbit
2024-09-15T19:04:26.719284957Z 2024-09-15 19:04:26.719058+00:00 [info] <0.254.0> Running boot step definition_import_worker_pool defined by app rabbit
2024-09-15T19:04:26.719392007Z 2024-09-15 19:04:26.719129+00:00 [info] <0.315.0> Starting worker pool 'definition_import_pool' with 4 processes in it
2024-09-15T19:04:26.719588864Z 2024-09-15 19:04:26.719444+00:00 [info] <0.254.0> Running boot step cluster_name defined by app rabbit
2024-09-15T19:04:26.719660452Z 2024-09-15 19:04:26.719517+00:00 [info] <0.254.0> Initialising internal cluster ID to 'rabbitmq-cluster-id-ZGjOZMbVDYMHt6oZaRXqlg'
2024-09-15T19:04:26.720181457Z 2024-09-15 19:04:26.720017+00:00 [info] <0.254.0> Running boot step virtual_host_reconciliation defined by app rabbit
2024-09-15T19:04:26.720273205Z 2024-09-15 19:04:26.720139+00:00 [info] <0.254.0> Running boot step direct_client defined by app rabbit
2024-09-15T19:04:26.720327898Z 2024-09-15 19:04:26.720200+00:00 [info] <0.254.0> Running boot step rabbit_federation_exchange defined by app rabbitmq_federation
2024-09-15T19:04:26.720441649Z 2024-09-15 19:04:26.720321+00:00 [info] <0.254.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management
2024-09-15T19:04:26.720540037Z 2024-09-15 19:04:26.720381+00:00 [info] <0.680.0> Resetting node maintenance status
2024-09-15T19:04:26.825802595Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> Deprecated features: management_metrics_collection: Feature management_metrics_collection is deprecated.
2024-09-15T19:04:26.825827643Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> By default, this feature can still be used for now.
2024-09-15T19:04:26.825830367Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> Its use will not be permitted by default in a future minor RabbitMQ version and the feature will be removed from a future major RabbitMQ version; actual versions to be determined.
2024-09-15T19:04:26.825844147Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> To continue using this feature when it is not permitted by default, set the following parameter in your configuration:
2024-09-15T19:04:26.825846251Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> "deprecated_features.permit.management_metrics_collection = true"
2024-09-15T19:04:26.825848184Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> To test RabbitMQ as if the feature was removed, set this in your configuration:
2024-09-15T19:04:26.825850307Z ;5;214m2024-09-15 19:04:26.825447+00:00 [warning] <0.709.0> "deprecated_features.permit.management_metrics_collection = false"
2024-09-15T19:04:28.760263932Z 2024-09-15 19:04:28.759969+00:00 [info] <0.746.0> Management plugin: HTTP (non-TLS) listener started on port 15672
2024-09-15T19:04:28.760344473Z 2024-09-15 19:04:28.760124+00:00 [info] <0.776.0> Statistics database started.
2024-09-15T19:04:28.760367728Z 2024-09-15 19:04:28.760192+00:00 [info] <0.775.0> Starting worker pool 'management_worker_pool' with 3 processes in it
2024-09-15T19:04:28.769803850Z 2024-09-15 19:04:28.769556+00:00 [info] <0.794.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692
2024-09-15T19:04:28.769861787Z 2024-09-15 19:04:28.769688+00:00 [info] <0.680.0> Ready to start client connection listeners
2024-09-15T19:04:28.771021966Z 2024-09-15 19:04:28.770834+00:00 [info] <0.838.0> started TCP listener on [::]:5672
2024-09-15T19:04:28.812508823Z completed with 5 plugins.
2024-09-15T19:04:28.812532678Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> Server startup complete; 5 plugins started.
2024-09-15T19:04:28.812536034Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> * rabbitmq_prometheus
2024-09-15T19:04:28.812538337Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> * rabbitmq_federation
2024-09-15T19:04:28.812539980Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> * rabbitmq_management
2024-09-15T19:04:28.812541792Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> * rabbitmq_management_agent
2024-09-15T19:04:28.812543645Z 2024-09-15 19:04:28.812199+00:00 [info] <0.680.0> * rabbitmq_web_dispatch
2024-09-15T19:04:28.949671248Z 2024-09-15 19:04:28.949259+00:00 [info] <0.9.0> Time to start RabbitMQ: 5348 ms

Budibase similarly show no critical errors, but keeping those out for brevity, can provide if needed.

Version

v4.0.0-beta.355

Cloud?

  • Yes
  • No
@takefy-dev
Copy link

hey same on rabbitmq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants