API response header "Content-Type" should be application/json
instead of text/html
that fails AWS ALB
#3134
Closed
3 tasks done
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.18.4
Expected results
Request:
Response header:
Actual results
Request:
Response headers (
Content-Type
should beapplication/json
instead oftext/html
since the message body is JSON):When deploying to AWS with an application load balancer (ALB), you will get response code
502
:Response headers:
Response body:
I suspect it is the response content type confuses ALB which results in status code
502
.Steps to reproduce
Navigate Chrome v59.0.3071.115 to Sources -> Databases -> Add new database -> click button
Test Connection
. Then you will see the above actual results from network panel of developer tools.The text was updated successfully, but these errors were encountered: