Problem
After a deployment or rollback, the application displayed “No gateway set for this App”, even after the gateway configuration was corrected.
Workaround
Save the app to clear the regional cache. This resolved the gateway error and allowed subsequent staging and production deployments to complete successfully.
Note
Avoid unnecessarily clearing the browser’s site cache or local storage during troubleshooting, as this can force users to reload the application and may produce confusing behavior.
Thread Attachments
Original Slack Thread
User U06Q27Y8TL6: Trying to do our roll out to staging and production but it is not getting past 1%, this is scheduled for this morning at 7am so really need this to work.
User UBBJX2EHM: Can you check if closing and returning to page that the version and deploy did happen ?
User U06Q27Y8TL6: Tried that, and it definitely has not deployed
User U06Q27Y8TL6: Tried deploying from Dev to one of our test env as well, does the same thing. Its like it doesn't trigger the start
User U06Q27Y8TL6: Also just tried in a different browser and same result.
User U06Q27Y8TL6: If it helps, this appears in the console when I click Deploy:
```fs.js:2 Error -1007: FileMaker Server Error: Error calling Developer Hook - hookName: onUtility - 0
Error: FileMaker Server Error: Error calling Developer Hook - hookName: onUtility - 0```
User UBBJX2EHM: Yes it does thanks
User UBBJX2EHM: This ssshould bbe ressolved now
User U06Q27Y8TL6: Ok, will test
User U06Q27Y8TL6: Looking good, it is beyond 1%, thank you :pray:
User U06Q27Y8TL6: However, I am now getting this on staging login
User U06Q27Y8TL6: "No gateway set for this App"
User U06Q27Y8TL6: not done the prod roll out as I don't want to risk the same issue. Please let me know when this is resolved. I appreciate it must be really late/early for you guys.
User U06Q27Y8TL6: :man-facepalming: Tried to roll staging back to previous and get this error right at the end
User UBBJX2EHM: I can resolve the gateway issue shortly.
User UBBJX2EHM: This should be resovled, if you can tell me domain we can flush cache if an issue persists
User U06Q27Y8TL6: This is our staging domain: <http://mentorstaging.fmbetterforms.com|mentorstaging.fmbetterforms.com>
I want to do the production deployment but dare not in case we get the same issue.
User U06Q27Y8TL6: still getting error on staging domain
User UBBJX2EHM: Are you doing some weird local storage clearing or something , when I load the site i see odd behaviour ?
User U06Q27Y8TL6: On login screen and on log out we clear local values yes. Part of our auth security
User UBBJX2EHM: looks like you are also clearing the site cache hich forces user to reload each time which is not idea,
User UBBJX2EHM: in the intrim if you to a save to clear the regional cache that shoudl resolve the gateway issue now
User U06Q27Y8TL6: OK, yeah that has resolved it. Is it safe to roll out to it again as I see it is now a version behind, even though it appeared the roll back did not work?
Would also like to do the production deployment
User UBBJX2EHM: if you can wait until the EST team comes online as I will not be available for next few hours
<@UP5N91P8E> <@U03JJ08GZEG>
User U06Q27Y8TL6: OK, no problem, I appreciate your help.
User UP5N91P8E: Do you still need assistance on this?
User U06Q27Y8TL6: Yes please, I haven't done another role out and dare not in case we get the same issue. Just need some reassurance that it will be ok, I can't do it now due to usage, but will be doing another role out in a couple of hours, would appreciate someone on standby for our production system in case it doesn't work.
User U06Q27Y8TL6: It has had a significant knock on affect today, delaying the role outs and causing quite a lot of disruption with timings. It reflects bad on us as the provider.
User U06Q27Y8TL6: these are the two domains that will be affected:
<https://mentorstaging.fmbetterforms.com/#/|mentorstaging.fmbetterforms.com/#>
<http://homes.mentorsoftware.co.uk|homes.mentorsoftware.co.uk> - production env
User UP5N91P8E: okay, <@U03JJ08GZEG> can you confirm that deployments are working correctly? Joe, let us know when you’ll be doing it and we can monitor on our end
User U03JJ08GZEG: Deployments are working after testing
User U06Q27Y8TL6: Its the "No gateway set for this App" message that is the worry. But will let you know when I am doing it.
User UP5N91P8E: Sounds good
User U06Q27Y8TL6: I am about to do the staging roll out again, and then if that goes well, the production one.
User U06Q27Y8TL6: Staging all good, all seems to have been successful.
Now doing production.
User U06Q27Y8TL6: Production successful too. Thank you.
User UP5N91P8E: Great! no problem


