Hi,
Is there anyone else noticing infinite admin app refreshes / redirect loops? We are experiencing this in our own apps as well as in Shopify apps, like Shopify Bundles.
Hi,
Is there anyone else noticing infinite admin app refreshes / redirect loops? We are experiencing this in our own apps as well as in Shopify apps, like Shopify Bundles.
Yes, just got notified about this, by a merchant. @Alan_G. Are you seeing other reports of this?
Wanna ping @Liam-Shopify here too. This is quite urgent.
We have an app that’s stuck in infinite loop. Another app opens, but all navigations within the app flashes in a weird way.
Also been reported in partners slack https://shopifypartners.slack.com/archives/CKK8FHFDF/p1753204341634179
Ah sorry, looks like a slightly different issue, but maybe related
@flavio-b @Brett we experimented a bit and it seems that the issue is happening when there’s no explicitly defined <ui-nav-menu>
– can you check on your end, maybe it’s the same on your end?
Yes, that is what we observed. 2 Apps that have ui-nav-menu don’t get stuck in infinite loop, but their navigation is flashing in a weird way: For example, if I’m on page A and navigate to page B, it flashes page A for a moment, then moves to page B.
On the app that has no ui-nav-menu, it’s stuck in infinite loop.
Navigation that happens inside the frame used to be very fast, handled by Hotwire/Turbo. Now, it flashes as if it’s going outside the frame first.
I know that AppBridge overrides the global fetch
to inject their functionality, so that’s certainly what must have changed.
Sorry, but I don’t think that’s the solution. Something is still broken, even with ui-nav-menu. Also, this kind of change should be always opt-in. The promise of AppBride was no breaking changes, so we can’t have change in behaviour without our direct input.
I hope for some explanation by Shopify staff. We marked as accepted a (temporary) solution that we deployed as a fix for constant redirects that made our app’s admin unusable.
<ui-nav-menu>
<a href="/" rel="home">Home</a>
<a href="/templates">Templates</a>
<a href="/settings">Settings</a>
</ui-nav-menu>
If you have anything else that can help to fully solve the problem, let’s create a checklist to help everyone who might be affected by this too.
Thanks all – we are urgently working on a fix.
Got it. We’re deploying this temporary solution. In Rails, all we had to do was include this in the _embedded_app_html.erb
layout file:
<body>
<ui-nav-menu>
<%= link_to 'Home', home_url %>
</ui-nav-menu>
....
</body>
We are experiencing this as well. Merchants are not happy.
Of course on https://shopstatus.shopifyapps.com/ it’s all sunshine and roses as usual
Yeah. My guess would be that the app bridge script hosted in CDN has a regression.
That was always going to be the risk of using CDN instead of self-hosted app bridge.
It’s scary to think that the next version of polaris is CDN-hosted as well. What could go wrong…
This should now be fixed – please let us know if you continue to see the issue.
@Mitch_Lillie, @architechpro, @Alan_G
Was there a new update in AppBridge as of about 30-40 min ago? We’re seeing a mega spike in requests that I don’t know if it’s caused by some redirects stuck again in a loop.
I can’t reproduce it on my account, but it has some signs of an issue.
Yep, there is a redirect loop between https://admin.shopify.com/store/pnago/apps/{{my-app-handle}} and https://admin.shopify.com/login
None of our apps are accessible
Thanks, for the confirmation. Our app remained accessible to us, but there was a spike in redirects affecting merchants.
It has just normalized now.
The issue is gone here as well.