Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading ucto file: Gateway Time-out #187

Closed
pirolen opened this issue Sep 14, 2023 · 7 comments
Closed

Loading ucto file: Gateway Time-out #187

pirolen opened this issue Sep 14, 2023 · 7 comments
Assignees

Comments

@pirolen
Copy link

pirolen commented Sep 14, 2023

LanguageMachines/ucto#90 (comment)

(I'm having trouble loading the file at all in FLAT currently, so there may be a bug in FLAT.)

did you also get Gateway Time-out error? I think the file is big.
Is v0.11.2 solving that? I use docker FLAT.

@proycon
Copy link
Owner

proycon commented Sep 14, 2023

Yes, I got the same indeed. I don't know what caused it yet, the file isn't that big. At some point I did have an (empty) interface and I could select perspective "sentences", that did work.

@proycon proycon self-assigned this Sep 14, 2023
@proycon proycon added the bug label Sep 14, 2023
@proycon
Copy link
Owner

proycon commented Sep 14, 2023

Is v0.11.2 solving that? I use docker FLAT.

Unfortunately not no, it has no functional changes really.

@pirolen
Copy link
Author

pirolen commented Sep 14, 2023

After repeated Gateway Time-out errors my FLAT instance got unresponsive and could be reactivated only by restarting the container :-(

@proycon
Copy link
Owner

proycon commented Sep 18, 2023

I tried to reproduce but I do get a successful result now with the new FLAT v0.11.2 container (I just published it to docker hub so you can pull it). It's a bit odd because I didn't really change anything. The full perspective loaded for me, albeit truncated and taking a while. The sentence perspective works too. Can you see if running the latest container solves it for you too?

@pirolen
Copy link
Author

pirolen commented Sep 18, 2023

Yes, thanks, files are loading now (although I am not sure if I am using the exact same ones). Will keep testing...

@pirolen
Copy link
Author

pirolen commented Sep 22, 2023

I do get this message under certain circumstances, suspectedly when the file is long or when there is something wrong with the set declarations in the file.

proycon added a commit that referenced this issue Dec 1, 2023
@proycon proycon added the ready label Dec 1, 2023
@proycon
Copy link
Owner

proycon commented Dec 1, 2023

I finally found and fixed this bug now, it indeed had to do with the file being long and foliadocserve taking a long time to return a reply, the reverse proxy was timing out on it.

The remaining underlying issue remains that foliadocserve is currently clearly not efficient enough for very big documents, but at least replies won't be cut off anymore (unless they exceed 10 minutes now, which probably is way above any user's patience threshold anyway).

@proycon proycon closed this as completed Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants