Hello.
First of all this is my first approach to Docker and Redash. I’m using Docker for Windows and I was able to configure it and pull the redash Image, but when I try to run it and open in a browser I got the following error:

[2021-12-14 11:08:23,969] ERROR in app: Exception on / [GET]

Traceback (most recent call last):

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1607, in full_dispatch_request

self.try_trigger_before_first_request_functions()

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1654, in try_trigger_before_first_request_functions

func()

File "/app/redash/version_check.py", line 85, in reset_new_version_status

latest_version = get_latest_version()

File "/app/redash/version_check.py", line 91, in get_latest_version

return redis_connection.get(REDIS_KEY)

File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 1264, in get

return self.execute_command('GET', name)

File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 772, in execute_command

connection = pool.get_connection(command_name, **options)

File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 994, in get_connection

connection.connect()

File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 497, in connect

raise ConnectionError(self._error_message(e))

ConnectionError: Error 99 connecting to localhost:6379. Cannot assign requested address.

[2021-12-14 11:08:24,093] ERROR in app: Exception on /favicon.ico [GET]

Traceback (most recent call last):

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1607, in full_dispatch_request

self.try_trigger_before_first_request_functions()

File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1654, in try_trigger_before_first_request_functions

func()

File "/app/redash/version_check.py", line 85, in reset_new_version_status

latest_version = get_latest_version()

File "/app/redash/version_check.py", line 91, in get_latest_version

return redis_connection.get(REDIS_KEY)

File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 1264, in get

return self.execute_command('GET', name)

File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 772, in execute_command

connection = pool.get_connection(command_name, **options)

File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 994, in get_connection

connection.connect()

File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 497, in connect

raise ConnectionError(self._error_message(e))

ConnectionError: Error 99 connecting to localhost:6379. Cannot assign requested address.

Technical details:

Someone could help me?

Thanks. Regards.

What version of Redash are you trying to run? What does your docker-compose.yml file contain?

1 Like

Hello. Thanks for reply. Was just a wrong settings in .yml file

What setting was wrong? This info can probably help future searchers :pray:

2 Likes

I’m encountering the same error. Whats the fix ???

Can you share your docker-compose settings?

try to add in your env:
REDASH_REDIS_URL=redis://redis:6379/0