-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Browser freezes on Theia IDE opening #14039
Comments
It is a very annoying bug |
I don't have such big freezes, I also see some error about static.developers.redhat.com in browser console (and maybe few seconds delay) and we have two duplicates reported today. |
This problem comes with the synchronous request It was reproduced yesterday. It isn't reproducible now. And we have another error "404 Not Found". The browser spends 1ms only. The logical demand to have the cdn request in ahead. That is why it was done as a synchronous one. Yes, we can predict this problem on client-side with asynchronous request and timeout, but this solution adds a timeout to regular loading. The problem with an error 504(Gateway Timeout) is unusual and it is gone. And it is necessary to understand should we live it as is or not. @l0rd @davidfestal @evidolob WDYT? |
@olexii4 thanks for this analysis. I am removing the @davidfestal and @benoitf you have designed/implemented that: how do you think client-side should behave in these 504/404 scenarios? |
I think it would be better to use async request. about 504/404 errors well then CDN is not there and it should continue with the other content BTW @davidfestal CDN is still Akamai's based ? as it's quite unusual to have Akamai's down |
@l0rd on 404 errors, the use-case is OK: the HEAD / GET requests would return immediately, and the files are loaded from their original location (workspace theia nodejs-based web server).
The place where the calls are done made it uneasy to send aync requests in those 2 cases (but you might surely provide a better solution). However let me mention that in the 2 sync requests, we're not fetching the content of the main, possibly big, application files. One case is simply a
I've looked into this already, and it seems that the folder containing the CDN files has many olf artifacts that we can remove. I'll do the required cleaning, and will contact the manager of our Akamai account to check if everything is back to normal. |
I've looked deeper into why 2 main points should be checked:
I will try to gather the artifacts contained in the last release @evidolob any idea ? |
As for adding more robustness in case of 504 timeouts or non-responding URLs, to avoid blocking the browser in these exceptional cases, we've been discussing with @benoitf about possible, quite simple, solutions we could explore. However I'm not sure we would have time to include this for GA. |
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
* eclipse-che/che#14039 push to CDN on each build Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com> Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
@davidfestal that's not a blocker. We can eventually include it in |
+1 with @mario Loriedo <mloriedo@redhat.com>
…On Tue, Jul 30, 2019 at 2:35 PM Mario Loriedo ***@***.***> wrote:
@davidfestal <https://github.com/davidfestal> that's not a blocker. We
can eventually include it in 7.0.0 if we are 100% confident that we are
not going to introduce a new regression and we don't have other tasks with
higher priority to work on. Otherwise let's just prioritize it for next
sprints.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14039>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMPTIKZPQUJGDFX656GJ4DQCAYSRANCNFSM4IHB7A2A>
.
--
Stévan LeMeur // Product Manager // Developer Tools // +336-87-11-27-55
|
* eclipse-che/che#14039 push to CDN on each build Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com> Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
* eclipse-che/che#14039 push to CDN on each build Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com> Co-Authored-By: Florent BENOIT <fbenoit@redhat.com>
Does this need a known issue on the docs? |
agreed, documenting it would be nice as well. cc @rkratky |
looks like this issue is not reproducible anymore. Closing it. Feel free to reopen if someone still has this problem. |
Describe the bug
Whole browser tab is freezed for 30-45 seconds on Theia IDE opening.
Even refresh tab button doesn't work.
Che version
Che master nightly
Che Theia: 7.0.0-rc4
Steps to reproduce
Another way:
Open
button from workspace details or from left sidebarExpected behavior
Theia IDE opens in a moment
Runtime
Tested on Minishift minishift v1.34.1+c2ff9cb and Minikube 1.2.0
Screenshots
Installation method
chectl
Environment
Fedora 30, Virtualbox 6.0.8
Additional context
While page is freezed it says
Waiting for static.developers.redhat.com
The text was updated successfully, but these errors were encountered: