These are chat archives for getredash/redash

26th
Oct 2016
Arik Fraimovich
@arikfr
Oct 26 2016 06:14
@washort are you making a pull request with the timezone fix? :-)
liketeng
@liketeng
Oct 26 2016 07:14
@arikfr root@82b446936ce7:/opt/redash/current# sudo -u redash bin/run ./manage.py ds list
Traceback (most recent call last):
File "/opt/redash/current/manage.py", line 9, in <module>
from redash import settings, models, version
File "/opt/redash/current/redash/init.py", line 68, in <module>
reset_new_version_status()
File "/opt/redash/current/redash/version_check.py", line 34, in reset_new_version_status
latest_version = get_latest_version()
File "/opt/redash/current/redash/version_check.py", line 40, in get_latest_version
return redis_connection.get(REDIS_KEY)
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 880, in get
return self.execute_command('GET', name)
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 578, in execute_command
connection.send_command(args)
File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 563, in send_command
self.send_packed_command(self.pack_command(
args))
File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 538, in send_packed_command
self.connect()
File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 442, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
how should i get the adress of the redis
my enviroment:[root@CentOS2 redash-master]# netstat -ntlp | grep redis
tcp 0 0 0.0.0.0:26379 0.0.0.0: LISTEN 15000/redis-sentine
tcp 0 0 192.168.29.135:7380 0.0.0.0:
LISTEN 23278/redis-server
tcp 0 0 192.168.29.135:7381 0.0.0.0: LISTEN 14933/redis-server
tcp6 0 0 :::26379 :::
LISTEN 15000/redis-sentine
[root@CentOS2 redash-master]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
53103adaaab8 redash/nginx:latest "nginx -g 'daemon off" 3 hours ago Up 3 hours 0.0.0.0:80->80/tcp, 443/tcp redashmaster_redash-nginx_1
82b446936ce7 redash/redash:latest "supervisord -c /opt/" 3 hours ago Up 3 hours 0.0.0.0:5000->5000/tcp, 9001/tcp redashmaster_redash_1
5ab27a31dc8a redis:2.8 "docker-entrypoint.sh" 3 hours ago Up 3 hours 6379/tcp redashmaster_redis_1
66e846370035 postgres:9.3 "/docker-entrypoint.s" 3 hours ago Up 3 hours 5432/tcp redashmaster_postgres_1
Takahiro Mitsumori
@TMit
Oct 26 2016 09:14

I had error occurred when execute query.

Error running query: cannot instantiate ctype 'EVP_MD_CTX' of unknown size

Allen Short
@washort
Oct 26 2016 16:13
that's some kind of SSL error
Allen Short
@washort
Oct 26 2016 17:52
@arikfr getredash/redash#1365
Arik Fraimovich
@arikfr
Oct 26 2016 18:32
@TMit I had this in the past and fixed it with: getredash/redash@0eb5a7d
@washort thanks!
@liketeng are you using docker compose? most likely that the address is simply redis.
Arik Fraimovich
@arikfr
Oct 26 2016 18:54
Heads up people: I'm planning some big rewrites in the coming weeks. If you plan working on some big pull request, please talk to me. More details: https://discuss.redash.io/t/my-plans-for-the-next-weeks-major-rewrites-coming/245