This other post proposes a workaround to make the contexthub.kernel.js show up in publish instances. It worked for me, probably it can help somebody else as well. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/contexthub-kernel-js-404-on-publish-6-4/qaq-p/299586
Hi, has anybody found a workaround for this? (I am using 6.5.4) Same error, it works in author, and in publish I get a 404 (hitting the instance directly).