This issue has been happening in the past, I have been ignoring it, but slowly it is becoming a nuisance. I am testing web app in Xojo on my Mac M1 and occasionally getting this dialog box:
If I click Continue Waiting I can get the web page to open or to execute button click. If I click Cancel the app breaks. The app connects to remote Postgress Database and I know it is running 24/7, I can double/triple test by launching the same web app from two remote servers. I know I have internet connectivity as well. What gives? Why is this happening?
Can some of you wise people explain so that I can calm down on this beautiful Monday morning? Thanks.
The âtimeoutâ they set is too low (or something like that).
I always get it and just press Hide.
If you search on Issues there is a request to disable this dialog or at least change the time it takes for the trigger to show it. (I canât find it at the moment)
Just for clarity, the whole reason this dialog exists is for debugging & profiling code in App.Open and App.HandleUrl because either of them could hang your app if configured incorrectly and they give you a way to gracefully exit your app (cancel) or keep waiting with further dialogs (continue) or without dialogs (hide).
Thanks for your responses, at least I know it is not only me who is suffering, I donât quite understand why would I need to turn off the Launch Browser toggle switch (I may discover the answer in the future) as I am typically expecting the browser to open the login page of the app.
I am just confused by the fact that sometimes I get this dialog few times in the row and some days I never get to see it.
If the web application takes too much to launch, for any reason (i.e. the debugger is stopped in a breakpoint in the App.Opening event), youâll start seeing that dialog.
OK, the âBreakâ part I can understand; however, it seems that there is no apparent reason. I can simply cancel, wait a little (like a minute or so) without touching code and Run the web app again, no dialog and everything looks good. So far I havenât been able to find the rhyme and reason for this.
In the App.Opening event there are couple of lines of code that set some properties and call System.Log, I donât see anything that would take any time.
Thatâs possible, yes. At the moment is set to 10 seconds, I guess that could be too low if the project has to setup something during the Opening event.
I couldnât find a related Issue, Iâve created this Feature Request that you can upvote: Issue #77551