docker-library / rabbitmq

Docker Official Image packaging for RabbitMQ
http://www.rabbitmq.com/
MIT License
778 stars 411 forks source link

management url returns 'undefined: There is no template at js/tmpl/login.ejs undefined' #443

Closed dextarr closed 3 years ago

dextarr commented 3 years ago

Hello,

I'm having the issue in subject if I try to reach the management url in a browser, curling it works.

docker run seems to work:

$ docker run -it --rm --name rabbitmq rabbitmq:management
Unable to find image 'rabbitmq:management' locally
management: Pulling from library/rabbitmq
171857c49d0f: Pull complete 
419640447d26: Pull complete 
61e52f862619: Pull complete 
856781f94405: Pull complete 
125d5ee3d600: Pull complete 
42de77c4d197: Pull complete 
4d65f87814dd: Pull complete 
f6c0bf06039f: Pull complete 
01671add1b7b: Pull complete 
088ff84cf8cb: Pull complete 
e98de1934cdf: Pull complete 
7028b450ee90: Pull complete 
f62d662ecb75: Pull complete 
Digest: sha256:47a70ff9aca4f64a27f68d35607f2d9eb75b10c2a82bbb52aa4173af9bfbc436
Status: Downloaded newer image for rabbitmq:management
Configuring logger redirection
2020-10-14 05:48:36.190 [debug] <0.287.0> Lager installed handler error_logger_lager_h into error_logger
2020-10-14 05:48:36.195 [debug] <0.290.0> Lager installed handler lager_forwarder_backend into error_logger_lager_event
2020-10-14 05:48:36.195 [debug] <0.293.0> Lager installed handler lager_forwarder_backend into rabbit_log_lager_event
2020-10-14 05:48:36.195 [debug] <0.296.0> Lager installed handler lager_forwarder_backend into rabbit_log_channel_lager_event
2020-10-14 05:48:36.195 [debug] <0.299.0> Lager installed handler lager_forwarder_backend into rabbit_log_connection_lager_event
2020-10-14 05:48:36.195 [debug] <0.302.0> Lager installed handler lager_forwarder_backend into rabbit_log_feature_flags_lager_event
2020-10-14 05:48:36.195 [debug] <0.305.0> Lager installed handler lager_forwarder_backend into rabbit_log_federation_lager_event
2020-10-14 05:48:36.195 [debug] <0.308.0> Lager installed handler lager_forwarder_backend into rabbit_log_ldap_lager_event
2020-10-14 05:48:36.195 [debug] <0.311.0> Lager installed handler lager_forwarder_backend into rabbit_log_mirroring_lager_event
2020-10-14 05:48:36.195 [debug] <0.314.0> Lager installed handler lager_forwarder_backend into rabbit_log_prelaunch_lager_event
2020-10-14 05:48:36.195 [debug] <0.317.0> Lager installed handler lager_forwarder_backend into rabbit_log_queue_lager_event
2020-10-14 05:48:36.195 [debug] <0.323.0> Lager installed handler lager_forwarder_backend into rabbit_log_shovel_lager_event
2020-10-14 05:48:36.195 [debug] <0.326.0> Lager installed handler lager_forwarder_backend into rabbit_log_upgrade_lager_event
2020-10-14 05:48:36.195 [debug] <0.320.0> Lager installed handler lager_forwarder_backend into rabbit_log_ra_lager_event
2020-10-14 05:48:36.219 [info] <0.44.0> Application lager started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:36.690 [debug] <0.283.0> Lager installed handler lager_backend_throttle into lager_event
2020-10-14 05:48:37.001 [info] <0.44.0> Application mnesia started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:37.001 [info] <0.272.0> 
 Starting RabbitMQ 3.8.9 on Erlang 23.1.1
 Copyright (c) 2007-2020 VMware, Inc. or its affiliates.
 Licensed under the MPL 2.0. Website: https://rabbitmq.com

  ##  ##      RabbitMQ 3.8.9
  ##  ##
  ##########  Copyright (c) 2007-2020 VMware, Inc. or its affiliates.
  ######  ##
  ##########  Licensed under the MPL 2.0. Website: https://rabbitmq.com

  Doc guides: https://rabbitmq.com/documentation.html
  Support:    https://rabbitmq.com/contact.html
  Tutorials:  https://rabbitmq.com/getstarted.html
  Monitoring: https://rabbitmq.com/monitoring.html

  Logs: <stdout>

  Config file(s): /etc/rabbitmq/rabbitmq.conf

  Starting broker...2020-10-14 05:48:37.002 [info] <0.272.0> 
 node           : rabbit@37b2e61e6ef2
 home dir       : /var/lib/rabbitmq
 config file(s) : /etc/rabbitmq/rabbitmq.conf
 cookie hash    : RmafhsCXrWQ+XR39yieLXA==
 log(s)         : <stdout>
 database dir   : /var/lib/rabbitmq/mnesia/rabbit@37b2e61e6ef2
2020-10-14 05:48:38.524 [info] <0.272.0> Running boot step pre_boot defined by app rabbit
2020-10-14 05:48:38.524 [info] <0.272.0> Running boot step rabbit_core_metrics defined by app rabbit
2020-10-14 05:48:38.525 [info] <0.272.0> Running boot step rabbit_alarm defined by app rabbit
2020-10-14 05:48:38.528 [info] <0.352.0> Memory high watermark set to 8006 MiB (8395658035 bytes) of 20016 MiB (20989145088 bytes) total
2020-10-14 05:48:38.533 [info] <0.354.0> Enabling free disk space monitoring
2020-10-14 05:48:38.533 [info] <0.354.0> Disk free limit set to 50MB
2020-10-14 05:48:38.536 [info] <0.272.0> Running boot step code_server_cache defined by app rabbit
2020-10-14 05:48:38.536 [info] <0.272.0> Running boot step file_handle_cache defined by app rabbit
2020-10-14 05:48:38.537 [info] <0.357.0> Limiting to approx 1048479 file handles (943629 sockets)
2020-10-14 05:48:38.537 [info] <0.358.0> FHC read buffering:  OFF
2020-10-14 05:48:38.537 [info] <0.358.0> FHC write buffering: ON
2020-10-14 05:48:38.537 [info] <0.272.0> Running boot step worker_pool defined by app rabbit
2020-10-14 05:48:38.537 [info] <0.346.0> Will use 4 processes for default worker pool
2020-10-14 05:48:38.537 [info] <0.346.0> Starting worker pool 'worker_pool' with 4 processes in it
2020-10-14 05:48:38.538 [info] <0.272.0> Running boot step database defined by app rabbit
2020-10-14 05:48:38.538 [info] <0.272.0> Node database directory at /var/lib/rabbitmq/mnesia/rabbit@37b2e61e6ef2 is empty. Assuming we need to join an existing cluster or initialise from scratch...
2020-10-14 05:48:38.538 [info] <0.272.0> Configured peer discovery backend: rabbit_peer_discovery_classic_config
2020-10-14 05:48:38.539 [info] <0.272.0> Will try to lock with peer discovery backend rabbit_peer_discovery_classic_config
2020-10-14 05:48:38.539 [info] <0.272.0> Peer discovery backend does not support locking, falling back to randomized delay
2020-10-14 05:48:38.539 [info] <0.272.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping randomized startup delay.
2020-10-14 05:48:38.539 [info] <0.272.0> All discovered existing cluster peers: 
2020-10-14 05:48:38.539 [info] <0.272.0> Discovered no peer nodes to cluster with. Some discovery backends can filter nodes out based on a readiness criteria. Enabling debug logging might help troubleshoot.
2020-10-14 05:48:38.542 [info] <0.44.0> Application mnesia exited with reason: stopped
2020-10-14 05:48:38.542 [info] <0.44.0> Application mnesia exited with reason: stopped
2020-10-14 05:48:39.154 [info] <0.44.0> Application mnesia started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:43.286 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:43.287 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:43.645 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:43.645 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:43.645 [info] <0.272.0> Feature flag `implicit_default_bindings`: supported, attempt to enable...
2020-10-14 05:48:43.645 [info] <0.272.0> Feature flag `implicit_default_bindings`: mark as enabled=state_changing
2020-10-14 05:48:43.653 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:43.654 [info] <0.272.0> Feature flags:   [~] implicit_default_bindings
2020-10-14 05:48:43.654 [info] <0.272.0> Feature flags:   [ ] maintenance_mode_status
2020-10-14 05:48:43.654 [info] <0.272.0> Feature flags:   [ ] quorum_queue
2020-10-14 05:48:43.654 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:43.654 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:43.668 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 0 retries left
2020-10-14 05:48:43.668 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:43.668 [info] <0.272.0> Feature flag `implicit_default_bindings`: mark as enabled=true
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags:   [ ] maintenance_mode_status
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags:   [ ] quorum_queue
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:43.677 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:43.689 [info] <0.272.0> Feature flag `maintenance_mode_status`: supported, attempt to enable...
2020-10-14 05:48:43.689 [info] <0.272.0> Feature flag `maintenance_mode_status`: mark as enabled=state_changing
2020-10-14 05:48:43.697 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:43.697 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:43.697 [info] <0.272.0> Feature flags:   [~] maintenance_mode_status
2020-10-14 05:48:43.698 [info] <0.272.0> Feature flags:   [ ] quorum_queue
2020-10-14 05:48:43.698 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:43.698 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:43.711 [info] <0.272.0> Creating table rabbit_node_maintenance_states for feature flag `maintenance_mode_status`
2020-10-14 05:48:44.059 [info] <0.272.0> Feature flag `maintenance_mode_status`: mark as enabled=true
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags:   [ ] quorum_queue
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:44.070 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:44.083 [info] <0.272.0> Feature flag `quorum_queue`: supported, attempt to enable...
2020-10-14 05:48:44.083 [info] <0.272.0> Feature flag `quorum_queue`: mark as enabled=state_changing
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags:   [~] quorum_queue
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:44.090 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:44.103 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:44.104 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:44.104 [info] <0.272.0> Feature flag `quorum_queue`:   migrating Mnesia table rabbit_queue...
2020-10-14 05:48:44.652 [info] <0.272.0> Feature flag `quorum_queue`:   migrating Mnesia table rabbit_durable_queue...
2020-10-14 05:48:45.148 [info] <0.272.0> Feature flag `quorum_queue`:   Mnesia tables migration done
2020-10-14 05:48:45.148 [info] <0.272.0> Feature flag `quorum_queue`: mark as enabled=true
2020-10-14 05:48:45.159 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:45.159 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:45.159 [info] <0.272.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:45.159 [info] <0.272.0> Feature flags:   [x] quorum_queue
2020-10-14 05:48:45.160 [info] <0.272.0> Feature flags:   [ ] virtual_host_metadata
2020-10-14 05:48:45.160 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:45.173 [info] <0.272.0> Feature flag `virtual_host_metadata`: supported, attempt to enable...
2020-10-14 05:48:45.174 [info] <0.272.0> Feature flag `virtual_host_metadata`: mark as enabled=state_changing
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags:   [x] quorum_queue
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags:   [~] virtual_host_metadata
2020-10-14 05:48:45.182 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:45.196 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:45.196 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:45.974 [info] <0.272.0> Feature flag `virtual_host_metadata`: mark as enabled=true
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags: list of feature flags found:
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags:   [x] quorum_queue
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags:   [x] virtual_host_metadata
2020-10-14 05:48:45.985 [info] <0.272.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:45.996 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:45.997 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:46.817 [info] <0.272.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
2020-10-14 05:48:46.817 [info] <0.272.0> Successfully synced tables from a peer
2020-10-14 05:48:46.817 [info] <0.272.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
2020-10-14 05:48:46.817 [info] <0.272.0> Running boot step database_sync defined by app rabbit
2020-10-14 05:48:46.817 [info] <0.272.0> Running boot step feature_flags defined by app rabbit
2020-10-14 05:48:46.817 [info] <0.272.0> Running boot step codec_correctness_check defined by app rabbit
2020-10-14 05:48:46.817 [info] <0.272.0> Running boot step external_infrastructure defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_registry defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_queue_location_random defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_event defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit
2020-10-14 05:48:46.818 [info] <0.272.0> Running boot step rabbit_exchange_type_direct defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_exchange_type_headers defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_exchange_type_topic defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit
2020-10-14 05:48:46.819 [info] <0.272.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step rabbit_priority_queue defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Priority queues enabled, real BQ is rabbit_variable_queue
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step rabbit_queue_location_client_local defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step kernel_ready defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step rabbit_sysmon_minder defined by app rabbit
2020-10-14 05:48:46.820 [info] <0.272.0> Running boot step rabbit_epmd_monitor defined by app rabbit
2020-10-14 05:48:46.821 [info] <0.593.0> epmd monitor knows us, inter-node communication (distribution) port: 25672
2020-10-14 05:48:46.822 [info] <0.272.0> Running boot step guid_generator defined by app rabbit
2020-10-14 05:48:47.187 [info] <0.272.0> Running boot step rabbit_node_monitor defined by app rabbit
2020-10-14 05:48:47.188 [info] <0.597.0> Starting rabbit_node_monitor
2020-10-14 05:48:47.188 [info] <0.272.0> Running boot step delegate_sup defined by app rabbit
2020-10-14 05:48:47.189 [info] <0.272.0> Running boot step rabbit_memory_monitor defined by app rabbit
2020-10-14 05:48:47.190 [info] <0.272.0> Running boot step core_initialized defined by app rabbit
2020-10-14 05:48:47.190 [info] <0.272.0> Running boot step upgrade_queues defined by app rabbit
2020-10-14 05:48:47.212 [info] <0.272.0> message_store upgrades: 1 to apply
2020-10-14 05:48:47.212 [info] <0.272.0> message_store upgrades: Applying rabbit_variable_queue:move_messages_to_vhost_store
2020-10-14 05:48:47.212 [info] <0.272.0> message_store upgrades: No durable queues found. Skipping message store migration
2020-10-14 05:48:47.212 [info] <0.272.0> message_store upgrades: Removing the old message store data
2020-10-14 05:48:47.212 [info] <0.272.0> message_store upgrades: All upgrades applied successfully
2020-10-14 05:48:47.564 [info] <0.272.0> Running boot step rabbit_connection_tracking defined by app rabbit
2020-10-14 05:48:47.564 [info] <0.272.0> Running boot step rabbit_connection_tracking_handler defined by app rabbit
2020-10-14 05:48:47.565 [info] <0.272.0> Running boot step rabbit_exchange_parameters defined by app rabbit
2020-10-14 05:48:47.565 [info] <0.272.0> Running boot step rabbit_mirror_queue_misc defined by app rabbit
2020-10-14 05:48:47.566 [info] <0.272.0> Running boot step rabbit_policies defined by app rabbit
2020-10-14 05:48:47.567 [info] <0.272.0> Running boot step rabbit_policy defined by app rabbit
2020-10-14 05:48:47.567 [info] <0.272.0> Running boot step rabbit_queue_location_validator defined by app rabbit
2020-10-14 05:48:47.567 [info] <0.272.0> Running boot step rabbit_quorum_memory_manager defined by app rabbit
2020-10-14 05:48:47.567 [info] <0.272.0> Running boot step rabbit_vhost_limit defined by app rabbit
2020-10-14 05:48:47.568 [info] <0.272.0> Running boot step recovery defined by app rabbit
2020-10-14 05:48:47.568 [info] <0.272.0> Running boot step empty_db_check defined by app rabbit
2020-10-14 05:48:47.568 [info] <0.272.0> Will seed default virtual host and user...
2020-10-14 05:48:47.568 [info] <0.272.0> Adding vhost '/' (description: 'Default virtual host')
2020-10-14 05:48:48.831 [info] <0.634.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@37b2e61e6ef2/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
2020-10-14 05:48:49.086 [info] <0.634.0> Starting message stores for vhost '/'
2020-10-14 05:48:49.086 [info] <0.638.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
2020-10-14 05:48:49.088 [info] <0.634.0> Started message store of type transient for vhost '/'
2020-10-14 05:48:49.088 [info] <0.642.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
2020-10-14 05:48:49.089 [warning] <0.642.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch
2020-10-14 05:48:49.090 [info] <0.634.0> Started message store of type persistent for vhost '/'
2020-10-14 05:48:49.415 [info] <0.272.0> Created user 'guest'
2020-10-14 05:48:49.571 [info] <0.272.0> Successfully set user tags for user 'guest' to [administrator]
2020-10-14 05:48:49.664 [info] <0.272.0> Successfully set permissions for 'guest' in virtual host '/' to '.*', '.*', '.*'
2020-10-14 05:48:49.664 [info] <0.272.0> Running boot step rabbit_looking_glass defined by app rabbit
2020-10-14 05:48:49.664 [info] <0.272.0> Running boot step rabbit_core_metrics_gc defined by app rabbit
2020-10-14 05:48:49.665 [info] <0.272.0> Running boot step background_gc defined by app rabbit
2020-10-14 05:48:49.665 [info] <0.272.0> Running boot step connection_tracking defined by app rabbit
2020-10-14 05:48:49.805 [info] <0.272.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbit@37b2e61e6ef2
2020-10-14 05:48:49.951 [info] <0.272.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbit@37b2e61e6ef2
2020-10-14 05:48:49.952 [info] <0.272.0> Running boot step routing_ready defined by app rabbit
2020-10-14 05:48:49.952 [info] <0.272.0> Running boot step pre_flight defined by app rabbit
2020-10-14 05:48:49.952 [info] <0.272.0> Running boot step notify_cluster defined by app rabbit
2020-10-14 05:48:49.952 [info] <0.272.0> Running boot step networking defined by app rabbit
2020-10-14 05:48:49.952 [info] <0.272.0> Running boot step definition_import_worker_pool defined by app rabbit
2020-10-14 05:48:49.952 [info] <0.346.0> Starting worker pool 'definition_import_pool' with 4 processes in it
2020-10-14 05:48:49.953 [info] <0.272.0> Running boot step cluster_name defined by app rabbit
2020-10-14 05:48:49.953 [info] <0.272.0> Initialising internal cluster ID to 'rabbitmq-cluster-id-vP4Bcan0k28bpx1LMHtVHw'
2020-10-14 05:48:50.262 [info] <0.272.0> Running boot step direct_client defined by app rabbit
2020-10-14 05:48:50.263 [info] <0.44.0> Application rabbit started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags: list of feature flags found:
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [ ] drop_unroutable_metric
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [ ] empty_basic_get_metric
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [x] implicit_default_bindings
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [x] maintenance_mode_status
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [x] quorum_queue
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags:   [x] virtual_host_metadata
2020-10-14 05:48:50.657 [info] <0.684.0> Feature flags: feature flag states written to disk: yes
2020-10-14 05:48:50.868 [info] <0.684.0> Running boot step rabbit_mgmt_db_handler defined by app rabbitmq_management_agent
2020-10-14 05:48:50.868 [info] <0.684.0> Management plugin: using rates mode 'basic'
2020-10-14 05:48:50.873 [info] <0.44.0> Application rabbitmq_management_agent started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.888 [info] <0.44.0> Application cowlib started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.904 [info] <0.44.0> Application cowboy started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.919 [info] <0.44.0> Application rabbitmq_web_dispatch started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.935 [info] <0.44.0> Application amqp_client started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:50.950 [info] <0.684.0> Running boot step rabbit_mgmt_reset_handler defined by app rabbitmq_management
2020-10-14 05:48:50.950 [info] <0.684.0> Running boot step rabbit_management_load_definitions defined by app rabbitmq_management
2020-10-14 05:48:50.982 [info] <0.749.0> Management plugin: HTTP (non-TLS) listener started on port 15672
2020-10-14 05:48:50.983 [info] <0.855.0> Statistics database started.
2020-10-14 05:48:50.983 [info] <0.854.0> Starting worker pool 'management_worker_pool' with 3 processes in it
2020-10-14 05:48:50.983 [info] <0.44.0> Application rabbitmq_management started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:51.026 [info] <0.44.0> Application prometheus started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:51.044 [info] <0.868.0> Prometheus metrics: HTTP (non-TLS) listener started on port 15692
2020-10-14 05:48:51.044 [info] <0.684.0> Ready to start client connection listeners
2020-10-14 05:48:51.044 [info] <0.44.0> Application rabbitmq_prometheus started on node rabbit@37b2e61e6ef2
2020-10-14 05:48:51.046 [info] <0.987.0> started TCP listener on [::]:5672
2020-10-14 05:48:51.241 [info] <0.684.0> Server startup complete; 4 plugins started.
 * rabbitmq_prometheus
 * rabbitmq_management
 * rabbitmq_web_dispatch
 * rabbitmq_management_agent
 completed with 4 plugins.
2020-10-14 05:48:51.241 [info] <0.684.0> Resetting node maintenance status

curl:

$ curl -vL 172.17.0.2:15672     
*   Trying 172.17.0.2:15672...
* TCP_NODELAY set
* Connected to 172.17.0.2 (172.17.0.2) port 15672 (#0)
> GET / HTTP/1.1
> Host: 172.17.0.2:15672
> User-Agent: curl/7.68.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< content-length: 2884
< content-security-policy: script-src 'self' 'unsafe-eval' 'unsafe-inline'; object-src 'self'
< content-type: text/html
< date: Wed, 14 Oct 2020 05:52:51 GMT
< etag: "3802660209"
< last-modified: Wed, 14 Oct 2020 05:48:50 GMT
< server: Cowboy
< vary: origin
< 
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>RabbitMQ Management</title>
    <script src="js/ejs-1.0.min.js" type="text/javascript"></script>
    <script src="js/jquery-3.5.1.min.js"></script>
    <script src="js/jquery.flot-0.8.1.min.js" type="text/javascript"></script>
    <script src="js/jquery.flot-0.8.1.time.min.js" type="text/javascript"></script>
    <script src="js/sammy-0.7.6.min.js" type="text/javascript"></script>
    <script src="js/json2-2016.10.28.js" type="text/javascript"></script>
    <script src="js/base64.js" type="text/javascript"></script>
    <script src="js/global.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
    <script src="js/prefs.js" type="text/javascript"></script>
    <script src="js/formatters.js" type="text/javascript"></script>
    <script src="js/charts.js" type="text/javascript"></script>
    <script src="js/singular/singular.js" type="application/javascript"></script>

    <link href="css/main.css" rel="stylesheet" type="text/css"/>
    <link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>

    <script type="application/javascript">
      var uaa_logged_in = false;
      var uaa_invalid = false;
      var auth = JSON.parse(sync_get('/auth'));
      enable_uaa = auth.enable_uaa;
      uaa_client_id = auth.uaa_client_id;
      uaa_location = auth.uaa_location;
      if (enable_uaa) {
        Singular.init({
         singularLocation: './js/singular/',
         uaaLocation: uaa_location,
         clientId: uaa_client_id,
         onIdentityChange: function (identity) {
          uaa_logged_in = true;
          start_app_login();
         },
         onLogout: function () {
          uaa_logged_in = false;
          var hash = window.location.hash.substring(1);
          var params = {}
          hash.split('&').map(hk => {
           let temp = hk.split('=');
           params[temp[0]] = temp[1]
          });
          if (params.error) {
           uaa_invalid = true;
           replace_content('login-status', '<p class="warning">' + decodeURIComponent(params.error) + ':' + decodeURIComponent(params.error_description) + '</p> <button id="loginWindow" onclick="uaa_login_window()">Click here to log out</button>');
          } else {
           replace_content('login-status', '<button id="loginWindow" onclick="uaa_login_window()">Click here to log in</button>');
          }
         }
      });
      }
    </script>

<!--[if lte IE 8]>
    <script src="js/excanvas.min.js" type="text/javascript"></script>
    <link href="css/evil.css" rel="stylesheet" type="text/css"/>
<![endif]-->
  </head>

  <body>
    <div id="outer"></div>
    <div id="debug"></div>
    <div id="scratch"></div>
  </body>
</html>
* Connection #0 to host 172.17.0.2 left intact

but the browser /Vivaldi 3.4.2066.64 (Official Build) (64-bit)/ in private mode returns: rabbitmq-error

hmmm, I just tested the site in private firefox too, and there it works! rabbitmq-firefox-works

Do you have any idea how could I get it work in my main browser too?

thanks!

wglambert commented 3 years ago

The error in question looks like Failed to execute 'open' on 'XMLHttpRequest': Synchronous requests are disabled for this page

Maybe it's related to one of the native extensions doing the XMLHttpRequest https://forum.vivaldi.net/topic/49149/strange-chrome-extension-config-json/2

You could try temporarily setting this to enabled vivaldi://flags/#allow-sync-xhr-in-page-dismissal Or try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum

dextarr commented 3 years ago

so its not rabbitmq related, thanks for confirming and pointing me in the right direction!

michaelklishin commented 3 years ago

It is related to the fact that the management UI is a single page app from 2011 and badly needs to be reworked to not use synchronous XHRs. This won't change in the short term, though, so if Vivaldi blocks such requests, they have to be white listed.

Cogax commented 2 years ago

Same for Microsoft Edge