Node stuck at block 5107443

That config file includes stuff related to the upcoming Alonzo release. It should not be there.

One way to get the guaranteed correct config file is to go to the 1.27.0 release announcement, download the tar.gz file linked, extract the configuration/cardano/mainnet-config.json config file from the tarball and use that instead of the one you have now.

You should probably also use the mainnet-topology.json file in the same directory instead of whatever you have now.