Anvil IDE not working

Is anyone else having issues with the Anvil IDE not working? About 30 min or so ago, the pages in my IDE stopped loading and I kept getting the “This page isn’t responding” message from the browser.

I have checked other apps I have and am getting the same thing. I even got the same thing on py.space.

I also, tried clearing my browser cache to no avail.

As of 2024-06-04T16:47:56 Florida time, it’s working for me.

1 Like

Hmm, that is strange.

This is from py.space:

And whenever I try to run any of my apps from the Anvil IDE, I get at best a black page.

This is what I get in all of my apps:

Note: that the live published version of the app is still working.

Everything’s fine here (so far):
image

I’d suspect a networking problem at your end, but you’re able to post here, so that is evidence of a working network connection.

1 Like

Everything is fine for me as well (2024-06-04T13:56 Arizona, US).

Have you tried a different browser/incognito mode/different device?

I thought that might have been the problem too, but no.

I even tried turning my VPN off, but that didn’t solve anything either.

My last resort in these cases is usually to reboot. I don’t learn much from it, but it works unnervingly often.

I’ve done a restart and have tried it in another browser (Chrome) and am getting the same result:

I suppose the next thing to do is to check for software updates (OS, antivirus, browser, browser add-ons, …), and apply them.

There could be something to that. I believe Edge just updated.

Today I applied updates to Edge, Chrome, Firefox, Opera, and Git-for-Windows.

Ok, now I’ve discovered an oddity. It must be related to a particular app of mine. Whenever that particular app is open in the browser other apps fail, but if it is not open, they work.

It still does not work.

Is that “particular app” an Anvil app?

Yep. I was working on it earlier and had a reference to a dom node style property that the IDE didn’t like and before I was able to make the method more robust, it just stopped responding.

Sounds like it might be disrupting some of the IDE’s guts or networking, entirely by accident, of course.

If that code is running in the IDE at design time…? If so, you might use the undocumented (but occasionally-mentioned) in_designer work-around.

I know very little of browser internals, so you might want to officially email Anvil support, to bring this to their attention.

1 Like

I’ve updated the code, but the app is just broke… That is exactly what I have done. Thanks for the help. Sometime, the community can help and sometimes we got to get the smarty pants at Anvil involved. :crazy_face:

2 Likes

Not sure, if it was something Anvil did, but my app is running now. The only thing I did that might have had some chance of fixing it was I checked out an older version, then went back to the master. Not sure if that knocked the stick in the spokes out or what.

That all sounds very strange! I can confirm we didn’t deploy new code in that timeframe.

The best hypothesis I can come up with is that something you were doing in your app was hanging your browser – and that, because of live Custom Components, the offending code was running at app load time, which made removing it somewhat tricky.

1 Like