[TEST CONNECTION] api/data_sources/9/test - bad gateway

Issue Summary

A summary of the issue and the browser/OS environment in which it occurs.

Technical details:

  • Redash Version: 9.0.0-alpha
  • Browser/OS: Egde
  • How did you install Redash: Test connection
    ==========================
    [2020-09-04 07:51:28 +0000] [6] [CRITICAL] WORKER TIMEOUT (pid:141)
    [2020-09-04 07:51:28,893][PID:141][INFO][metrics] method=POST path=/api/data_sources/9/test endpoint=datasourcetestresource status=500 content_type=? content_length=-1 duration=30358.39 query_count=4 query_duration=4.71
    [2020-09-04 07:51:28 +0000] [141] [INFO] Worker exiting (pid: 141)
    [2020-09-04 07:51:29 +0000] [145] [INFO] Booting worker with pid: 145

I can not determine reason relate to above issue ? Please help me review and help !

Thank you,

The /test endpoint only accepts POST request, right? What happens if you send a POST?

Please explain more detail ?
thank you

Instead of sending a GET HTTP request. Use the POST method.

hmmm. it’s using /POST. You can review log above :
[2020-09-04 07:51:28,893][PID:141][INFO][metrics] method=POST path=/api/data_sources/9/test endpoint=datasourcetestresource status=500 content_type=? content_length=-1 duration=30358.39 query_count=4 query_duration=4.71

Problem with helm chart. Miss some ingress with new release 9.