@zynchro wrote:
The API script is on V8JS, and worked fine, and continued to do so.
About a week back this issue came up where it consistently returned an empty body on every 3rd request.
I’d go to my REST client and keep clicking send for the same endpoint, and every THIRD response is simply blank.
eg:
1 - POST /url/api/login
200 OK - { “session token” : … }
2 - POST /url/api/login
200 OK - { “session token” : … }
3 - POST /url/api/login
200 OK -the headers change too on the failed call;
FAIL:
Date: Sun, 29 Oct 2017 03:32:31 GMT
Server: Apache
X-Powered-By: PHP/7.0.13
X-Frame-Options: SAMEORIGIN
Vary: Cookie
Content-Length: 0
Content-Type: text/html; charset=UTF-8Success:
Date: Sun, 29 Oct 2017 03:32:50 GMT
Server: Apache
X-Powered-By: PHP/7.0.13
Cache-Control: no-cache
X-Frame-Options: SAMEORIGIN
Vary: Cookie
Transfer-Encoding: chunked
Content-Type: application/jsonI restarted the server after this and it seemed to have fixed the problem.
Then the issue came back today.Any idea what’s causing it and how I can prevent it?
Posts: 2
Participants: 1