question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

data-sources not working

See original GitHub issue

Please, describe your question in details. I’m trying to setup pre-defined data-sources. I installed dbeaver and created a connection, copied the config and tried my best to get it to work but I continue to get the following error:

Can anybody give me an example/see what I’m doing wrong? Thanks!

DB_error

Exception while fetching data (/navGetStructContainers) : null

PWD=/opt/cloudbeaver/cloudbeaver/deploy/cloudbeaver/workspace/GlobalConfiguration/.dbeaver/
cd $PWD
cat << 'EOF' >data-sources-postgresql.json
{
        "folders": {},
        "connections": {
                "postgres-jdbc-171bee20d7c-272dcd5ad2bbe925": {
                        "provider": "postgresql",
                        "driver": "postgres-jdbc",
                        "name": "PostgreSQL - postgres",
                        "save-password": false,
                        "show-system-objects": false,
                        "read-only": false,
                        "configuration": {
                                "host": "127.0.0.1",
                                "port": "5432",
                                "database": "postgres",
                                "url": "jdbc:postgresql://localhost:5432/",
                                "type": "prod",
                                "properties": {
                                        "connectTimeout": "20",
                                        "loginTimeout": "20"
                                },
                                "auth-model": "native",
                                "handlers": {}
                        }
                }
        },
        "connection-types": {
                "prod": {
                        "name": "Production",
                        "color": "247,159,129",
                        "description": "Production database",
                        "auto-commit": false,
                        "confirm-execute": true,
                        "confirm-data-change": true
                }
        }
}
EOF
systemctl restart cloudbeaver

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Wroudcommented, Apr 28, 2020

I’m pushed a fix for object tabs, so request leading to the error now sends only for SQL-editor, probably error will still occur for SQL-editor

1reaction
serge-ridercommented, Apr 28, 2020

@FreeSoftwareServers well, default server run script doesn’t dump logs anywhere, just flushed everything into stdout (we are working on proper logging configuration). If you start server from console you can see logs on screen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datasources Not Working After Install/Upgrade - "Unable to ...
Symptom. After a fresh install of V4.4 the datasource files are not being upgraded properly and you will notice an error saying "Unable...
Read more >
Resolving Failed to Configure a DataSource Error - Baeldung
Since the issue occurs due to the missing database connection, we can solve the problem simply by providing the data source properties. First, ......
Read more >
Troubleshoot Data Sources - Tableau Help
Unable to list Tableau Server data sources: This error may occur if a user is trying to access Tableau Server data sources and...
Read more >
Grafana Datasource is not working · Issue #582 - GitHub
On Configuration --> Datasources the datasources are empty. I have to add the data sources manually. At least I expect that a datasource...
Read more >
Data Sources not showing in PowerApps edit screen
Solved: Hello, Can someone tell me why my data source is not showing up on the left sidebar when clicked? I created this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found