cube-js / cube-js/cube

No way to disable SSL for Mongo BI auth enabled instance: support non cleartext auth plugins

Open
#222 25 comments 4 reactions 0 assignees View on GitHub
driver:mongodb
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

**Describe the bug**
I start MongoBI connector with --sslMode = disabled (mongosqld cannot accept connections secured using TLS/SSL)

But Cube is always request with SSL causing this error "handshake error: ERROR 1759 (HY000): ssl is required when using cleartext authentication"

**To Reproduce**
Steps to reproduce the behavior:
1. Start mongosqld with --sslMode = disabled
2. Start Cube with npm run dev
3. Hit browser with http://localhost:4000/#/schema
4. See error

**Expected behavior**
Can load the schema

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/5382700/66120774-e30cc280-e605-11e9-95b7-88a14a48fbaf.png)

**Version:**
"@cubejs-backend/server@0.10.54"

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.