Ah, if so, I have no idea what caused the problem, maybe your Android version is too low, mine is Android 10 and the problem was fixed on my device. But it must not be network problem. If Mojang doesn't fixed it, hmm, I think you can try installing Minecraft in root framework like VirtualXposed or Gspace, which doesn't requires real root permissions, but in VirtualXposed you may faced resolving the purchase verifying while in Gspace it brings Google Play on its own. If it still didn't work, I have no more ideas 😅.
XD it was funny, I have reported this issue before but it was on zombies but not drowns.
Reply to the previous comment:
But I haven't ever heard that Minecraft will tell players it was firewall who affected the network. In my experience, any software is not able to judge which node of the route was in trouble, except tracert.What's more, if you can browse this page, it can strongly proved that your router is working correctly. However, you can try using VPN while you accessing the store, or login on win10 platform according to the previous comment, sometimes it may works. And it's normal for realm, achievement and so on was affected if there is something wrong with your Xbox accounts, thus the major problem is the problem with your accounts. By the way, are you sure you renamed /storage/emulated/0/games directory and it didn't work? Reinstall Minecraft is no use, most of its files are still preserved, only if you moved the games directory away can it be considered you deleted all the files completely.
Reply to the previous comment:
What is the circumstance, cannot connect to the market or have no change at all? I just cannot connect to the market but it happens frequently in areas like China, thus I ignored this exception. However, you can try renaming the whole games
directory to make Minecraft cannot recognize it, then login again to see whether it works.
I RESOLVED THE PROBLEM ON ANDROID
I think the root of the problem is in local storage not on the server. I backuped and deleted all files at path storage/emulated/0/games/com.mojang
(I DON'T mean all files under this path, if you did all of your worlds and options will lost) and the error dialog didn't popup anymore and everything went normal.
If your device is PC, it may cost some time to find where Minecraft files are because I forgot the exact path.
I don't think it is difficult to fix this bug, just rewrite the json file, doesn't it? this issue was create at 09/08/19 and today is 23/05/20, the bug still not having been resolved. please fix it as soon as possible 😞
I would suggest Minecraft to start a ftp server binding to 127.0.0.1:* (not 0.0.0.0:*) when starting game, so that external softwares could access the internal files through the network.