You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger::warning(CLASS_NAME, __FUNCTION__, raw->m_instanceId, "Transition is timeout");
.
If I try to launch the application again soon after it very often succeeds, e.g. the web application only spends 4s in launching state before it goes to foreground state:
Perhaps it loads faster the second time due to web content being cached locally, not sure.
Also not sure that this is something that should be fixed in SAM or in WAM. Or is there e.g. a way to make the web application behave better (say that it should be brought to foreground before loading has finished). Have not found any documentation for how to handle web apps that take a long time to load on https://www.webosose.org yet.
The text was updated successfully, but these errors were encountered:
martin-ejdestig
changed the title
No user feedback when launching web application that takes longer than 10s to load
Web application that takes longer than 10s to load will not start
Jul 15, 2020
martin-ejdestig
changed the title
Web application that takes longer than 10s to load will not start
Web application that takes longer than 10s to load are killed
Jul 15, 2020
martin-ejdestig
changed the title
Web application that takes longer than 10s to load are killed
Web applications that takes longer than 10s to load are killed
Jul 15, 2020
Just noticed that the timestamps in the log above when the application fails is weird. It is 09:05:11 both for splashed ==> launching and Transition is timeout which does not make any sense. Not sure what is going on there. Some buffering in log framework?
Anyway, here is a log that shows the application being killed with timestamps that make more sense (launching 10s before timeout is struck and app is killed):
martin-ejdestig
changed the title
Web applications that takes longer than 10s to load are killed
Web applications that take longer than 10s to load are killed
Jul 25, 2020
Have taken https://github.com/webosose/test-apps/tree/master/com.webos.app.test.youtube and just replaced:
with
And modified other strings by just replacing "Youtube" with "SVT Play". Just for testing.
On a RPI4 with webOS OSE 2.5.0 it looks like it very often takes longer than 10s for svtplay.se to load. I can see the following in the journal:
Looks like application spends too long (>10s) in "launching" state and is killed in
sam/src/base/RunningApp.cpp
Line 257 in 8a1443b
If I try to launch the application again soon after it very often succeeds, e.g. the web application only spends 4s in launching state before it goes to foreground state:
Perhaps it loads faster the second time due to web content being cached locally, not sure.
Also not sure that this is something that should be fixed in SAM or in WAM. Or is there e.g. a way to make the web application behave better (say that it should be brought to foreground before loading has finished). Have not found any documentation for how to handle web apps that take a long time to load on https://www.webosose.org yet.
The text was updated successfully, but these errors were encountered: