Datasource Test 502 Error

Issue Summary

After upgrading from 8.0 to 10.1, I always get an undefined error
(Connection Test Failed: Unknown error occurred while performing connection test. Please try again later.) when trying to test any data source. Queries also don’t work. In my browser I get this response:

POST https:///api/data_sources/11/test: 502

Tested with data sources: Postges, Queries, CSV

Technical details:

  • Redash Version: 10.1.0 (2589bef1)
  • Browser/OS: Chrome 99.0.4844.84 / Windows 11
  • How did you install Redash: Installed with Digital Ocean Marketplace

It seems that the newer versions use more memory. When using 8.0.0 2GB of RAM was never an issue, but for 10.1.0 I had to upgrade to 4GB.

Yes that’s consistent with our testing. V10 requires more RAM because of the number of its python dependencies. We updated our recommended spec in the docs to a 4GB instance.