-
Notifications
You must be signed in to change notification settings - Fork 230
Latest version of Livechat Widget does not pop in the web page #290
Comments
@PedroPretto Do you get any error on your console log? |
@renatobecker what do you mean?
to this
is this correct? |
This post shows the console error using the new html tag with RocketChat installed in a subfolder: https://github.com/RocketChat/Rocket.Chat/issues/14519 Another problem is that running RocketChat in / causes a cross domain error. |
@ccfiel you are right removing 1.0.0 resolves the 404 error, but now we have the cross domain error:
Any tip how to solve this? With the old html tag everything works fine. |
@renatobecker any news about the cross domain error? |
Running a new installation of rocketchat version 1.3.2 with url configured to (/) NOT a subfolder everything works fine with the new livechat tag. The problem is upgrading from an old version to 1.3.2. But this is a big problem because I lost the data from the old account. |
Hello. |
@ccfiel |
Here is how we got around it, we changed our proxy config (nginx) to point directly to the livechat js
And in the js included in the page we point directly to This is a bug in the code, the original URL returns an HTML page |
Same problem for me with v1.3.2 |
What did you set on the |
@renatobecker |
Are you sure about the "return an html page"? What is your current server version? |
@renatobecker I'm on version 1.3.2, and getting the same CORB error. Output
Here's the snippet I'm using:
|
Yeah, as I can see at your snippet you still have the Thanks. |
Indeed, we too copied the js snippet straight from the admin interface |
Cool. |
I removed from livechat widget 1.0.0 and my code looks:
|
@maciej87pl you should only remove the 1.0.0 from the first url |
You need to remove the |
Ok I changed code but still the widget is not showing but I can see it only in incognito mode in Chrome, in Firefox and Edge is ok, in Internet Explorer widget is not showing. This situation I have on two laptopts. In chrome console I get only: |
I upgrade to 2.0 and do some test. Maybe this will help: when I use this code for widget: |
Description:
We have an infrastructure based on multiple rocketchats running in containers installed outside the root(/), after installed update 1.3.0v, the new livechat widget does not pop in the sites. E.g:
domain.com.br/rocketchat1
domain.com.br/rocketchat2
Steps to reproduce:
Expected behavior:
The Livechat widget to pop up in the inferior right corner of the web page.
Actual behavior:
The widget does not show anywhere in the site.
Server Setup Information:
This is what my console shows when the configurations are applied.
The text was updated successfully, but these errors were encountered: