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.

SQL_lab :: Results backend isn't configured.

See original GitHub issue

Superset version

.15.2

Expected results

No Error

Actual results

Results backend isn’t configured.


Hi

Recent install of things, that was doing fine till .15.1

[2017-01-14 19:27:08,242: ERROR/PoolWorker-1] Task superset.sql_lab.get_sql_results[dde83c63-0e3d-4e83-94ec-d82f9c0f2624] raised unexpected: Exception("Results backend isn't configured.",)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/celery/app/trace.py", line 367, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/celery/app/trace.py", line 622, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/superset/sql_lab.py", line 91, in get_sql_results
    handle_error("Results backend isn't configured.")
  File "/usr/local/lib/python3.5/dist-packages/superset/sql_lab.py", line 88, in handle_error
    raise Exception(query.error_message)
Exception: Results backend isn't configured.

but my config seems a-ok

class CeleryConfig(object):
  BROKER_URL = 'redis://myredis:6379/0'
  CELERY_IMPORTS = ('superset.sql_lab', )
  CELERY_RESULT_BACKEND = 'redis://myredis:6379/0'
  CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}}

CELERY_CONFIG = CeleryConfig

Still trying to track this down, but not sure if this is continuing for others

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
bkyryliukcommented, Jan 23, 2017

@wyndhblb Add this to your config:

from werkzeug.contrib.cache import FileSystemCache
RESULTS_BACKEND = FileSystemCache('/tmp/sqllab_cache', default_timeout=60*24*7)
0reactions
mistercrunchcommented, Apr 23, 2018

Notice: this issue has been closed because it has been inactive for 353 days. Feel free to comment and request for this issue to be reopened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache Superset : sqllab - Results backend isn't configured
I am running superset on docker and created new mssql database connection and able to view schemas , tables and preview the ...
Read more >
SQL_lab :: Results backend isn't configured. · Issue #1984
Superset version .15.2 Expected results No Error Actual results Results backend isn't configured. Hi Recent install of things, ...
Read more >
SQL Lab — Apache Superset documentation - Read the Docs
Connects to just about any database backend; A multi-tab environment to work on multiple queries at a time; A smooth flow to visualize...
Read more >
Set up a Database Backend - Apache Airflow
If you want to take a real test drive of Airflow, you should consider setting up a database backend to PostgreSQL, MySQL, or...
Read more >
Use Superset with Fusion SQL - Lucidworks Documentation
If this command does not work, it is possible there are issues with reaching your Fusion ... Click Test Connection to make sure...
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