This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
Api respond with html content instead of json response sometimes #70
Labels
From directus created by lk77 : directus/directus#2186
Version Info
Hello,
i have a problem with the backend, it's not loading properly, because of incorrect response from the api
when the app is doing this request : PUT /api/1.1/tables/{table}/preferences HTTP/1.1
Expected Behavior
The backend interface is loading properly, without error
Actual Behavior
Red message with unknown server error is shown very often, it seems random.
The network tab shows only a "200 ok" response but content of the request is incorrect (see dump of request and response headers and response body in attachment),
there is an html page instead of json response, the script will do the request again, and it usually work, but there is a red message at each page, it's annoying.
Steps to Reproduce
Schema Dump, Logs, or Screenshots
compare_working_not_working.txt
i use nginx reverse proxy to access the docker containers, but i have the problem too when accessing the container directly on the mapped port on host.
if you have ideas why this is happening.
thanks.
The text was updated successfully, but these errors were encountered: