Unable to configure link to 'Chat'. Ensure ad-blockers are disabled and try reloading the page

Unable to configure link to ‘Chat’. Ensure ad-blockers are disabled and try reloading the page.

Seeing lots of errors on my discourse forum,

Uncaught SyntaxError: Unexpected identifier ‘#t
discourse-gamificati…df24ec1342936.js:26 Uncaught SyntaxError: Unexpected identifier ‘#a
discourse-gamificati…bc0b7464476afd.js:3 Uncaught SyntaxError: Unexpected identifier ‘#a
discourse-lazy-video…dfeb8ed6127f2.js:10 Uncaught SyntaxError: Unexpected identifier ‘#t
discourse-presence-f…f783c0d7b6fc3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s
discourse-whos-onlin…6a7b6c96d55f3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s
docker_manager_admin…db0da9a0d1924.js:11 Uncaught SyntaxError: Unexpected identifier ‘#t
poll-caab9fa7e923441…fdf6d171b8dd53.js:4 Uncaught SyntaxError: Unexpected identifier ‘#e
6fd02ed……74b887738ade31.js:5 Uncaught SyntaxError: Unexpected identifier ‘#e

What is exactly wrong?

Also the real IP addresses of my users are not showing, all IPs are showing as 127.0.01

Below is my nginx file:

# /ask discourse start
location /ask {
    proxy_ssl_server_name       on;
    proxy_set_header Host $host; # faizan Ensures the Host header is correctly set.
    proxy_set_header X-Real-IP $remote_addr; # faizan added to see if it sends real ip
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_pass      http://localhost:1357/ask;
    proxy_redirect off; # faizan Ensures that any redirects are not altered.

}

# /ask end

https://talkwithstranger.com/ask/

I am on cloudlare and i have also commented this

# - "templates/web.ratelimited.template.yml" commented it to fix 429 error
because rate limit nginx errors were coming and 429 was coming on discourse popup inside.

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/discourse-akismet.git
          - git clone https://github.com/discourse/discourse-whos-online.git
          - git clone https://github.com/discourse/discourse-gamification.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/codergautam/disable-email-verification-discourse.git
          - git clone https://github.com/discourse/discourse-subscriptions.git
          - git clone https://github.com/discourse/discourse-follow.git
          - git clone https://github.com/discourse/discourse-cakeday.git

I also disabled cloudflare rocket-loader, as that was causing my discourse page to stuck in infinite homepage loading screen stuck. How do fix this?

Can anyone please help me fix all my above problems and show real IP addresses of users? What is missing or wrong in my app.yaml file and in my nginx config file? What changes I need to do to fix all above issues, errors permanently? I am on Installed

3.4.0.beta1-dev

(7b14cd98c7)

I used below commands to rebuild

cd /var/discourse
git pull
	./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only

./launcher rebuild data;./launcher rebuild web_only

but I am not exactly sure the difference between the two.

3 Likes