Recently I made a new workflow configuration that is now in testing. The input is through NodeJS, and it keeps receiving post requests with content type application/json, json object body. Inside the process there are some checks and then an all-in-4 generating the pdf that needs to be sent back as reponse. Everything works as intended, but as I started stress testing, I noticed something weird:
at a certain point, planet press starts rejecting requests without any reason, sending instant response with 500 Internal Server Error message. This happens usually after is processes around 80-90 orders (each requests contains only one record producing one pdf that is usually 1-2 pages max.).
I tried looking in the logs but I couldn’t find anything about it, not even in ppNode or ppw logs. What is even weirder, if I rerun the same json file later, it generates the pdf without any problem, so the files are ok.
Does anyone know what the problem can be? Are there any settings anywhere that somehow limit the number of requests allowed in a certain time-frame?
Any help would be appreciated!