Thanks for the report, and sorry for the problem — I’m glad you have a workaround, but that’s definitely unsatisfying! We’ll try to figure out what the problem could be.
You can edit the image recipes script in your installation, or copy the file and run it as a custom recipe. You might try adding a little loop to loop over the stream, so that you can try to debug the problem.
The strange thing is that the Python logic in the image recipe really couldn’t be much simpler. On each call that the front-end makes to the
get_questions endpoint, the Python service will just read a batch of images, and format them in a response.
I wonder whether the responses are sometimes above some hard limit? You can add extra debugging in the app.py to print the size of the response objects. Again, you might want to just write a little function which repeatedly calls
get_questions(). It’s usually hard to debug these things via the front-end, but if you debug from Python, it should be pretty easy.