Skip to content

How to deploy and configure MongoDB/Redis connections in CloudBeaver 25.3.0? (Driver configuration issues, default value overrides, and connection failures) #3961

@buxiuzhang

Description

@buxiuzhang

Environment

  • CloudBeaver version: 25.3.0 (Docker deployment)
  • MongoDB version: 7.0 (Docker, same network as CloudBeaver)
  • Redis version: 7.2 (Docker, same network as CloudBeaver)
  • OS: Ubuntu 22.04 LTS

Problem Summary
I'm struggling to properly deploy and configure MongoDB and Redis connections in CloudBeaver 25.3.0. Below are the key issues I'm facing:

  1. MongoDB Driver Configuration Issues:

    • Defined default="127.0.0.1" for the host property in the driver config, but the web UI still shows localhost (tried override-default="true" but it didn't work).
    • The driver config's config-properties don't match the web UI (extra fields like "Default catalog" appear, even though I didn't define them).
    • Connection failures (e.g., UnknownHostException for the MongoDB container name, even though they're in the same Docker network).
  2. Redis Support:

    • CloudBeaver 25.3.0 doesn't show Redis as a built-in data source. How to add Redis support (driver configuration, JAR dependencies)?

Steps I've Tried

  • Modified the MongoDB driver config (added override-default="true", renamed driver ID to avoid built-in conflicts).
  • Ensured MongoDB/Redis containers are in the same Docker network as CloudBeaver.
  • Cleared CloudBeaver's driver cache (drivers.xml and workspace metadata).

Questions

  1. What's the correct way to configure the MongoDB driver in CloudBeaver 25.3.0 to:
    • Force the host default value to 127.0.0.1 (instead of localhost)?
    • Make the web UI match the config-properties I defined (hide extra fields)?
  2. How to add Redis support to CloudBeaver 25.3.0 (driver setup, required JARs, config examples)?

Attachments

  • MongoDB driver config XML (as used in my setup).
  • Screenshot of the CloudBeaver web UI showing mismatched config fields.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions