-
Is there a default message that is returned back to frontend? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello Sereneee, It depends on how you define "not giving any response":
The error descriptions returned on each case are defined in https://github.com/Kong/kong/blob/master/kong/error_handlers.lua
They originate from the nginx proxy module http://nginx.org/en/docs/http/ngx_http_proxy_module.html
Yes, you can use the response phase to customize or change completely the returned response. You will need a custom plugin in order to do this. Example:
|
Beta Was this translation helpful? Give feedback.
Hello Sereneee,
It depends on how you define "not giving any response":
An invalid response was received from the upstream server
The upstream server is currently unavailable
The upstream server is timing out
responseThe error descriptions…