Cloudflare Worker foy Dynamic Metadata No Longer Working

Hi, since about a week the dynamic metadata using the Cloudflare worker technique isn’t working anymore, it looks like it’s conficting with something in Weweb. My application is multilingual. Visit this website to see the issue: https://smartcuisine.ai/

I don’t understand, it has been working perfectly for several months and now it feels like it’s stucked. I’ve created a new project in weweb and updated the URL of my project in my worker to this new project and it was working fine. Then I made this new project multilingual and it was no longer working. Maybe it has nothing to do with it, I don’t know.

Anyone else got a similar issue? Did Weweb updated something recently that could conflict with the Cloudflare worker?

For info, I submitted a ticket to the Weweb team 6 days ago and didn’t get a response.

Thank you

@kjb was dealing with this some time ago

Hey @alexlem, I had the same issue a few days ago. The theory back then was that I published a new version of my app during the global internet outage. Once I published again on the day after, everything went back to normal for me. When was your last deploy? Have you tried re-deploying? I can’t verify that the problem is related to the Cloudflare setup since I haven’t deployed that in my app.

Hi, yes I did try to publish my app multiple times since and it’s still not working. A ran a lot of test like creating a new project and when I do and use the preview URL of that new project in my working and redeploy my working it’s working flawlessly, but then as soon as I republish a new version of my app it’s glitching. I noticed in the inspector that my service worker’s version isn’t the same as the published version of my app https://smartcuisine.ai/serviceworker.js. I don’t know if this could impact.

Now is your app working?

That’s actually the problem. I just tried reverting back to the v443 of my editor and published and my app was working perfectly. But then, when I republished again (v444), now the glitch re-happened. I don’t know why this line isn’t updating in my worker : const version = 443;

Actualy, I noticed something also. Since this bug appear, when publishing my app, now I can see the version of my app in my backup whereas before I couldn’t… so if I revert back to the Automatic Commit without the version number next to it, it works. But as soon as I publish after, when I see the version number, it’s not working. Anything you guys changed on the deployment Weweb’s team?