Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
The live chat is set to go to the Contact form after 60 seconds if no operator responds, but it just goes blank, unless visitor clicks the popup button (upper right).
It seems this may be caused by the Content Security Policy. However, we have that set to allow anything self-hosted. The error I'm seeing is:
"Content Security Policy: The page’s settings blocked the loading of a resource at https://subs.humortimes.com/livehelperc … /(theme)/1 (“default-src”). "
But since that page is within our domain, it should not be getting blocked, as we have the relevant policy set as "default-src 'self' "
How can this be fixed? Thanks!
Last edited by jamminjames (2022-07-27 22:18:17)
Offline
I'm unable to replicate in https://demo.livehelperchat.com
Maybe a video can help to better see what you are experiencing. Have you tried from a different browser and / or in incognito mode?
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Please see my updated question. It's a CSP problem, but our CSP allows anything hosted on our site, so the question becomes, why is LHC violating the CSP? It shouldn't, as it is self-hosted.
Offline
So the chat widget is showed correctly but when user are redirected, in the same widget, to the contact form you get a blank page and the error on browser developer console?
This seems strange. Currently I have not an answer to this, have to look if I have the same issue on my website.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
About this issue I tested on my website and no issue was present.
So I'm unable to repriduce also on my server means you have some server configuration somewhere or you miss some rules configuration.
1. be sure to use the latest live helper chat version
2. check the following topic: https://forum.livehelperchat.com/viewtopic.php?id=2195 they may help you.
If you still have issue about this I think the only help avaiable will be maybe the commercial one, not done by me but done by the developer.
I don't think the developer can help you here to resolve this. You can try to wait here for an answer.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
I hope the developer can help with this. For our CSP, we use nonces. Since LHC creates script urls on the fly (I assume for security purposes), with addresses like the one noted at the start of this thread ("https://subs.humortimes.com/livehelperc … /(theme)/1"), we can't create a nonce for LHC's scripts. So we have a separate policy set up for anything in the /livehelperchat directories, and it works, except for this one issue.
The policy we have to set up for livehelperchat is very permissive ("default-src 'self' 'unsafe-inline';" etc), so it would be better if we could do something that would allow LHC to insert our nonce when it calls for a script. If the developer can help with that issue, it would really be the most secure way to go.
Thanks for any help.
Offline
Pages: 1