I’ve held back reporting a bug as it is difficult to create a reproducible condition. But this has gone on way too long. Restarting Wappler always clears the condition. If left alone, and letting the computer sit idle, the condition does not clear.
I spend much of my time in a mobile app, so using the build options for iOS and Android are used often. XCode and Android Studio are typically also open.
Does it gets triggered on specific page only?
My gut reaction is No. However, the head page is almost always open, so I suppose it could be the trigger. The other content pages come and go depending on what I’m working on.
Or a combination of pages/elements?
See above.
Or is it after a specific action in the editor?
For a while I was theorizing that it was the build process, but I can’t confirm that as a build does not always trigger the issue after a fresh restart of Wappler.
Does it help if you close the tab only?
I don’t believe so, but I will close tabs when this happens again and try to wait out the process.
Or the main window?
By main window you mean close here, rather than Wappler Quit, correct?
Does it run on high cpu even if you don’t do anything?
I’m rarely not doing anything. But once it triggers, doing nothing and waiting it out does not clear the condition.
What if you close the main window - do you still see high cpu?
I’ll try.
Found this error constantly being generated when in design view. If I disable App Connect, the errors continue. If I code to code view, the errors continue counting upwards on the design view panel – In other words, when I leave design view and come back, the counter does not reset and in fact has gone up substantially.
The errors are being triggered on server connect files that have autoload turned off. However, I do have a dmx-bind:url that could be causing this.
Where is the data pre_load.data.config.api_server being set and what value would it be on your dev server? It seems to generate an invalid url with an invalid domain name, the error just tells that it could nor resolve the name which is probably the domain name that is invalid.
With the noload being set it should not load the url unless the load action is being called. The onDeviceReady is never called inside the design view, so that can not trigger the load.
Do you perhaps have a server connect on the page with a dynamic url that doesn’t have the autoload disabled?
Just confirmed, no server connects with autoload enabled.
But also, in confirming this, I’m realizing the errors don’t happen every time I open this page (index.html)…I’ll keep it open and see if something triggers a change.
Ahh, that was easy. I can consistently trigger the huge amounts of (ERR_NAME_NOT_RESOLVED) by changing the value of the env variable while App Connect mode is enabled (with App Connect mode disabled, no errors.) I am changing from ‘dev’ to ‘production’ both of which produce valid domains that work outside of the editor (ie. from the app, from the admin web app, etc.)