Util methods openApp and openUrl are misbehaving

  1. My goal: Open an app with a url using openUrl method or the openApp method

  2. Issue: The behaviour is inconsistent, it opens the expected app with the parameters and in split seconds reverts to the app from which the navigation was initiated. And also bringing the new params passed to the method back to initial app/page.

  3. Steps I've taken to troubleshoot: Interchanged the two methods, but behaviour remains inconsistent.

  4. Additional info: I’m using Retool Cloud, won’t be able to provide screenshots or screen recordings due to sensitivity of data.

    Would appreciate a quick resolution, this is significantly impacting the teams.

4 Likes

We are experiencing the same. It seems to be working fine in Firefox

We’re seeing the same issue in both Chrome and Arc.

It occurs when we navigate to a page (e.g., Page A), then open a link that should go to Page B. Instead, Retool redirects us to Page A while keeping the URL parameters from Page B.

This looks like the browser is serving a cached version of the previous page.

2 Likes

@sarahs Hi, would be able to help us with this? This affecting our clients.

Hey @Nasirullah , @Snehal , @jackpham.livo we are looking into this behavior on our end and are unable to get a consistent reproduction to help debug this for our engineering team.

If you don’t mind, would one of you be able to export the app(s) you are experiencing this behavior with?

Also in the meantime can you clear your browser cache to see if this resolves the issue? We have seen varying levels of success with this workaround, but if it does work (even temporarily) this will allow us to determine where the caching issue may reside.

Clear the cache doesn’t help, I also try with a brand new browser, the issue is still happening.

Unfortunately, we can’t export the apps for you but here the detailed steps you can try on your end:

  1. Open the app A via a link (our case was a link in Slack message), keep the tab opening
  2. Open the app B via a link in a new tab, keep the tab opening
  3. If the issue is not happening, the try with another tab with another app C
1 Like

Hi,
Clearing cache is not helping for me either. What I have observed is this is happening on the production environment and not on the editor for me.
The steps for me are

  1. I have an app that opens second app (App 2) with query parameter in it
  2. But as I was on the App 1, after clicking the button it won’t load the App 2, if open App 1 with the query parameter or it will open App 2 witht he query parameter but won’t load any contents on the page.
  3. Or as @jackpham.livo mentioned try 3 different apps open. Open App 1, then open App 2. Navigate to App1, then go back to App 2 and from here have a button to open App 3. It will likely open App 1 instead of App 3.

This is happening across our apps for most of our users. Some of our team members seem to be on an older cached version (or a different instance/architecture) and they are not affected.

But most are (and it’s an infuriating one.)

Logging in/out, clearing cache, incognito does not fix it for the affected users.

Safari seems to be faring better than Chrome.

Worth adding that it’s somewhat transient. Successful linking to the intended app maybe 10% of the time, fails the other 90%.

Hey all, we have identified a potential root cause for this issue and have rolled it back for all Cloud organizations.

When you get a chance, do you mind clearing your browser cache and refreshing the page?

2 Likes

Working for me now.
I will notify the team and revert if there is any issue.
Thank you @BAbarquez @Darren

1 Like