Cooper
Cooper
CDCloudflare Developers
Created by Cooper on 10/21/2024 in #general-help
Mirroring cloudflared trycloudflare.com behavior in Zero Trust tunnel
Well I'll leave this here in case it can help anyone else. Given the hash error, I just started messing with the optimization settings in CF. I disabled Rocket Loader and minification (which is deprecated apparently anyways). I think disabling Rocket Loader is what did the trick for me and allowed this to start working.
4 replies
CDCloudflare Developers
Created by Cooper on 10/21/2024 in #general-help
Mirroring cloudflared trycloudflare.com behavior in Zero Trust tunnel
I can see one difference is that I get this error in browser (not discord) when running via the tunnel created on the CF UI
None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==”.
None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==”.
4 replies
CDCloudflare Developers
Created by Cooper on 10/21/2024 in #general-help
Mirroring cloudflared trycloudflare.com behavior in Zero Trust tunnel
The error is this
Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong. See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201
at App.tsx:6:11
Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong. See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201
at App.tsx:6:11
Again, this ONLY happens when using the tunnel from the zero trust UI. cloudflared tunnel works perfectly fine.
4 replies