HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.4k stars 2.31k forks source link

Runtime error on Retrieve Predictions (Timeout) #6422

Open jsk1107 opened 1 week ago

jsk1107 commented 1 week ago

Describe the bug After connecting local storage and performing sync or connecting ml-backend and performing Retrieve Predictions, a timeout occurs.

To Reproduce Steps to reproduce the behavior:


  1. go cloud Storage
  2. add local storage
  3. press button sync storage
  4. In progress -> The problem occurs after about 90 seconds(Runtime Error - Gateway TimeOut) -> Still working on the backend.

  5. after connecting ML-backend
  6. In project, Press buttton "Retrieve Predictions".
  7. The frontend gets blocked while ml-backend is running. The problem occurs after about 90 seconds(Runtime Error - Gateway TimeOut).
  8. Still working on the ml-backend.

    Screenshots

Environment (please complete the following information):

Additional context I tried modifying the config values ​​of nginx(proxy setting), but it didn't work. I think a timeout occurred on the frontend.

Please help me.

makseq commented 1 week ago

Please check this: https://labelstud.io/guide/troubleshooting#Label-Studio-default-timeout-settings-for-ML-server-requests

jsk1107 commented 1 week ago

@makseq Yes. I checked that page.

I changed ML_TIMEOUT_PREDICT from 100 to 1000. But It doesn't worked. And the change in ML_TIMEOUT_PREDICT value in ML_server that you mentioned seems to be unrelated to the timeout that occurs when syncing storage.

In my case, the same timeout occurs when exporting annotation.

I set the harakiri value(at uwsgi.ini) to 0, but it still doesn't occur timeout.