You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into a problem with this plugin where we were proxying to an elasticsearch container making JSON requests to it where we would get 500 response with Failed to fetch data from backend insetad of the nicely formatted 400 Bad Request with JSON payload that the elasticsearch container returned.
This is caused by the Proxy plugin discarding the response and rewriting it to 500 Internal Error with plain text Failed to fetch data from backend content.
It would be nice if there was an option to make it return all responses back out, including errors.
The text was updated successfully, but these errors were encountered:
mschout
added a commit
to CourtAPI/Mojolicious-Plugin-Proxy
that referenced
this issue
Sep 2, 2020
We ran into a problem with this plugin where we were proxying to an elasticsearch container making JSON requests to it where we would get
500
response withFailed to fetch data from backend
insetad of the nicely formatted 400 Bad Request with JSON payload that the elasticsearch container returned.This is caused by the Proxy plugin discarding the response and rewriting it to
500 Internal Error
with plain textFailed to fetch data from backend
content.It would be nice if there was an option to make it return all responses back out, including errors.
The text was updated successfully, but these errors were encountered: