These are chat archives for getredash/redash

7th
Jul 2017
SqlAdmin
@SqlAdmin
Jul 07 2017 08:11

I got the below error while adding Athena data source.

'NoneType' object has no attribute 'status_code'

Version: 1.0.1+b2833
OS: ubuntu 16.04
IAM user has admin access.

I have enabled athena in .env and restarted all the services in supervisor

SqlAdmin
@SqlAdmin
Jul 07 2017 08:29

my .env file

export REDASH_LOG_LEVEL="INFO"
export REDASH_REDIS_URL=redis://localhost:6379/0
export REDASH_DATABASE_URL="postgresql:///redash"
export REDASH_COOKIE_SECRET=giMDDbGmHX0K13dpRAS3aA9TFm3M1K7r
export REDASH_ADDITIONAL_QUERY_RUNNERS="redash.query_runner.athena"
export ATHENA_PROXY_URL=http://localhost:4567/query

SqlAdmin
@SqlAdmin
Jul 07 2017 08:35
image.png
netstat -tulpn
SqlAdmin
@SqlAdmin
Jul 07 2017 10:06

And

how can I create proxy ?

SqlAdmin
@SqlAdmin
Jul 07 2017 10:21

Never mind,

I forgot to run the docker