I am using a sentry plugin as middleware
I am using a sentry plugin as middleware and a custom function that responds to form submissions. I'll try removing one or the other to see if it's specific to the middleware, for instance, or just having the directory at all.
12 Replies
Sorry, should have created a thread earlier.
I narrowed it down to the sentry plugin.
I don't have any actual errors being tracked into sentry
Seems strange to me that this could be causing the behavior we saw earlier. @csirolli do you also use a function middleware, by chance?
When watching the function log stream, refreshing the page will show a successful GET to /site.manifest sometimes, but not always. If the page comes up blank, I don't see a log.
Unknown Userā¢2y ago
Message Not Public
Sign In & Join Server To View
That's what I'm wondering, yeah. @Unsmart | Tech debt is that possible?
I have no clue it is possible the middleware is modifying responses that it shouldnt be š¤·
OK, I guess I'll create an issue in GitHub and hope that someone sees it. Thanks for your help in troubleshooting.
@james090500 out of curiosity, do you also use any middleware?
(I opened https://github.com/cloudflare/pages-plugins/issues/23)
I don't have the same issue
I use vhe
Vue* was just attempting to debug
OK, I saw you saying something about having a cached response that was empty
Oh no that was someone else, haha
thanks, sorry for the ping
@proatwork, do you use middleware? You had a similar issue to mine.
Ah, I'm just away to publish an updated version to all Plugins tomorrow. I'll ping here when I've done that ā can you then upgrade and try it for me? I think I'll be included the fix š
Absolutely, thanks so much!
Unknown Userā¢2y ago
Message Not Public
Sign In & Join Server To View
Hi @gregbrimble is there anything else you can share about this? I'm holding off on moving to Cloudflare until middleware works correctly, but if it's going to be a lot longer, I can try working around it and use something other than middleware.
Thanks, I updated to the latest version of the sentry plugin, and the issue seems to be resolved.
š Yes, just released the updated versions of all plugins this afternoon. Please give them a try and let me know if there are any problems!