Application not loading for certain users

We have a multi-page application that is used by a significant number of external users.

Three of our users (all from the same organization) reported that after a successful login, they are presented with an infinitely spinning wheel on a white background. Essentially, our homepage never loads. This was confirmed via a screen share. During one attempt, we noticed a brief flicker where the user was presented with a view of our application folder structure (only the ones they had permissions for), which is not what they should see, but the view quickly landed on the aforementioned spinning wheel.

We cannot replicate the issue using any of our internal accounts. We have also confirmed via screen share with other external users that this issue is not universal; they are able to log in without issue.

I reviewed the users’ audit logs and can see that there were times a month ago where they were logging in, after which I can see all of the relevant queries running that would indicate they were successfully using the application. Recently, however, I see none of the queries running after a successful login event.

So far we have tried the following without success:

Using multiple browsers

Clearing browsing data

Disabling and re-enabling their accounts

Resetting their 2fa

Groups and relevant permissions confirmed to be correct

Any and all guidance would be most appreciated.

Hey @pod2 - thanks for reaching out! I'm happy to dig into this for you.

This definitely sounds like a permission issue. Can you share the emails of the affected users as well as any error messages that pop up in their browser console during this process? To dig deeper, it would be super helpful to capture their network traffic via a browser trace.

Feel free to share any or all info via DM, for the sake of privacy!

I don’t know if you are still looking into this issue, but we are experiencing something similar. We have used public apps for quite some time, but as of relatively recently, we noticed that we see infinite loadings happening whilst trying to open an app. My current guess is that it relates to browser performance, but this was not occurring a month ago and it is a seemingly random intermitent issue. The app we are experiencing it most on was made before multi-app pages were out of beta, so some end users are experiencing it whilst going between pages.
I made a quick demonstration app here: https://gritppo.retool.com/embedded/public/26d343c2-4595-4ff5-8d28-8e108915b667
Video Demonstrating it: https://drive.google.com/file/d/1Bog-HC9dLDeSze4cqk5YmcSo8EBDIilm/view?usp=sharing
App Json:

Untitled (10).json (15.6 KB)

+1 to what @Daniel_Fleuranvil said….almost word-for-word same problems on my end. Difficult to troubleshoot because the behavior is intermittent…failures occur before my Retool application(s) load. Since the html and js files listed in runtimeManifest.json are never downloaded, I’m thinking it’s an issue with Retool’s runtime.

I published a blank app, made it public, added a custom URL, and then loaded it up a few times. On the second or third hard refresh, I got stuck with a the infinite blue spinner. Screenshots included below…I also have a HAR file I can send if it’s helpful (doesn’t appear I can upload HAR files with this message).

edit: here’s a screenshot of the full network traffic (I had a “runtime” search filter in my first screenshot)

1 Like

Welcome to the community, @shawn-nellisauction! I'd be interested in getting that HAR file, if you want to DM it to me. Thanks for sharing that additional info as well, @Daniel_Fleuranvil.

My initial guess is that this might be related to page caching that we're doing via service worker, but I should be able to confirm with more diagnostics.

+1 Any update on this? We are having similar problems with infinite loading on public apps.

Just wanted to keep bumping this, curious if you have any updates for us @Darren ? Were you able to confirm if the service worker page caching is the issue, and if there might be any workarounds that we can try?

@Andrew_Woloszyk @Daniel_Fleuranvil @pod2

Have you guys had any luck with disabling the beta feature “Cache Service Worker”? I just discovered this in the org admin settings…however, even after toggling it off and hard refreshing & unregistering the service worker via dev tools, it seems to keep coming back (so disabling the org setting has not fixed the problem with my public apps).

Actually, did you explicitly unregister the SW in the browser after disabling the relevant feature flag inside of Retool?

That’s correct…sequence of operations:

  • I found the beta setting in Retool admin, disabled it
  • Went back to my public app, did a hard refresh
  • Noticed I was still having the blue spinning wheel, so I went into dev tools to see if I could find the service worker…I thought a hard refresh would clear it up, but it was still there
  • I clicked the “unregister” button on the service worker in dev tools, and Chrome shows the service worker is “deleted”
  • I closed dev tools and did a hard refresh
  • Re-opened dev tools and the service worker is re-activated and in a “running” state

Kinda feels like the toggle in the beta settings didn’t accomplish anything? I was also wondering if I would need to create a new release of my app and re-publish it after changing the toggle, in order for it to take effect….haven’t tried that just yet.

UPDATE: We have a fix coming for the relevant Beta toggle that will let us confirm cacheServiceWorker as the root cause and optionally disable it entirely.


I did some additional investigation into this and believe that you are right, @shawn-nellisauction. I've reached out internally for confirmation and hopefully we can roll out a quick fix that at least lets you disable the service worker. I'll give you an update as soon as I can.
1 Like

Thank you, that’s an encouraging update!

1 Like

Hey @shawn-nellisauction - I've done some testing and this seems to have been resolved with the recent change to the service worker flag. There's an occasional hang, but nothing that I can consistently reproduce. Let me know what you're seeing on that end!

It does appear that the service worker is staying deleted now, so that seems like improvement.

I don’t believe that this has impacted the blue spinning wheel problem though….I still have to refresh my way through that daily. I think there is varying level of impact around my org though…a developer on my team does not seem to encounter the problem with the same consistency as I do.

Not entirely sure what to do next, I’d be curious if anyone else on the forum is still tryin to navigate this problem.