Would like to add more details regarding the error on top of the original post. Yes, I know its on the queue of bugs to fix, but for me it is getting worse and worse everyday. It used to happen maybe once or twice a day, then every hour to 30 minutes, and now it happens every 2 minutes. Sometimes 2-3 times in a row (you have to reload or re-enter game 3 times before json error or server error goes away).
World: Brisgard
Browser and Version: Firefox.
Overview of the bug:
Bug especially occurs when rearranging buildings in your city the json error ("Failed to open connection to JSON gateway") will pop up (after moving 2-5 things, more if I'm lucky) and when you hit OK, it will reload the game.
Also occurs when motivating others cities, I would be able to do about 5 usually before json error pops up and makes me re-enter game. When collecting goods/coins/supplies, occasionally mid-way through collecting the json error will pop up and again, reload the game. Making me have to collect the stuff all over again because it failed to communicate with the server that I had already done so.
It also occurs mid-way through battle, you move a troop (at some random point in the battle), and it will pop up the json error, make you reload the game, and you would have to hit continue combat. When you win, it would not give you the rewards automatically (from the map) until you hit the map and return to that region again to gain the rewards of the won battle.
When it gets especially bad (2-3 json errors in a row), I have noticed the chat is disabled (when you re-enter game), saying I have firewall or bad internet up (even though that has never happened before, until this json error started showing up).
Sometimes after hitting OK on JSON error popup (which causes game to reload), another one will show up IMMEDIATELY after the game finishes loading. After hitting the popup OK button again, it sometimes shows a white page with 502 bad gateway. This causes you to have to reload SEVERAL times before being finally able to play the game (well until another json error hits you and makes you reload again).
Urgency: Making game unplayable and very frustrating.
Preventative Actions: Nothing seems to help prevent it from showing up.