You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using self hosted chatwoot behind Cloudflare Proxy with Access auth enabled, manifest fail to load with a 302 redirect because cloudflare forces authentication.
This breaks de pwa functions and no reactivity occurs, not updating chats when new messages arrives forcing us to reload full page every time.
To Reproduce
Deploy Chatwoot on your own self-hosted deployment with Docker
Use Cloudflare for DNS with Proxy pointing to your server
Enable Cloudflare Access for extra authentication
Try open chatwoot website and see error on console logs
Expected behavior
manifest.json load and reactivity works
Environment
Docker
Cloud Provider
Other [please specify in the description]
Platform
Browser
Operating system
Ubuntu 22.04
Browser and version
Edge 123.0.2420.97
Docker (if applicable)
Docker Version: 20.10.17
Additional context
Searching, i foud that we need add this attribute crossorigin="use-credentials" to link tag of manifest.
In my deployment i change this part in app/views/layouts/vueapp.html.erb file at line 29 and fixes it and manifest.json loaded
Unfortunately, I detected other problems related to the use of Cloudfalre Access (Zero Trust as the new name), something is interfering only when we try send images and other attachments.
We use cw integrated with evolution api as our central integration node with the official whatsapp api. This is working fine for text messages, reactions, etc.
But when Cloudflare Zero Trust is activated, we are unable to send images and attachments messages, no errors appear in the browser console logs, no erros appears até chatwoot container logs, the message is sent "successfully", but the image received is corrupted.
Disabling Cloudflare Zerto Trust for chatwoot domain, everithing works fine imediatally.
As this is not a Chatwoot related problem, i think we can close this issue.
This image show how message was received by whatsapp when Zero Trus is enabled
Describe the bug
When using self hosted chatwoot behind Cloudflare Proxy with Access auth enabled, manifest fail to load with a 302 redirect because cloudflare forces authentication.
This breaks de pwa functions and no reactivity occurs, not updating chats when new messages arrives forcing us to reload full page every time.
To Reproduce
Expected behavior
manifest.json load and reactivity works
Environment
Docker
Cloud Provider
Other [please specify in the description]
Platform
Browser
Operating system
Ubuntu 22.04
Browser and version
Edge 123.0.2420.97
Docker (if applicable)
Docker Version: 20.10.17
Additional context
Searching, i foud that we need add this attribute crossorigin="use-credentials" to link tag of manifest.
In my deployment i change this part in app/views/layouts/vueapp.html.erb file at line 29 and fixes it and manifest.json loaded
to
The text was updated successfully, but these errors were encountered: