label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Check latest version make app hang undefinitely when running offline

Open LamDang opened this issue 5 years ago • 1 comments

Hello,

When I run Label Studio in an offline environment (without Internet Access), the app seems to hang indefinitely at start. I think it could be because of https://github.com/heartexlabs/label-studio/blob/707223a0a2059c63bc89aab5250450672eb746a9/label_studio/server.py#L35.

https://github.com/heartexlabs/label-studio/blob/707223a0a2059c63bc89aab5250450672eb746a9/label_studio/utils/misc.py#L386

Actually add a timeout in requests.get() may solve the issue.

LamDang avatar Jan 18 '21 22:01 LamDang

@LamDang Thank you for your report! Could you make a PR?

makseq avatar Jan 18 '21 23:01 makseq