These are chat archives for getredash/redash

19th
Apr 2017
klng2735
@klng2735
Apr 19 2017 07:11
Hi, recently i have problem running my query to Azure SQL. I got error "Error running query: DB-Lib error message 20004, severity 9: Read from the server failed Net-Lib error during Connection reset by peer (104)". The query has been running for quite some time.
Any idea where i can trace the problem. I have tried changing the TDS version from 7.0 to 8.0.
HenroRitchie
@HenroRitchie
Apr 19 2017 15:36
@arikfr Thank you for the feedback. Just to be sure, should I check the redash code, or my code? I am only looking at the value in a specific cell in a table with one row and multiple columns. Not much else I can do there.
Arik Fraimovich
@arikfr
Apr 19 2017 19:18

@jmuia I need to put it on GitHub, but meanwhile:

Dockerfile:

FROM nginx:1.9.10

ADD redash.conf /etc/nginx/conf.d/default.conf

redash.conf:

upstream redash {
  server redash:5000;
}

server {
  listen   80 default;

  gzip on;
  gzip_types *;
  gzip_proxied any;

  location / {
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;

    proxy_pass       http://redash;
  }
}
@klng2735 are you sure it's not a firewall issue?
@HenroRitchie redash code.