·
Added a discussion

Hi All, I hope you are doing well. I have website with free SSL(letsencrypt) and JOT server is also configured to use same domain as website but with different port.

I am using free plan from cloudflare where only universal SSL is allowed and not custom one.

As soon as I turn on cloudflare for my website, messenger is not working and it says connecting. When I checked console of browser it says "Failed to load resource: net::ERR_BLOCKED_BY_CLIENT" . My server url in messender setting. "websitedomainname(dot)com:5000"

When cloudflare is turned off then messenger is working as expected.

Everything is hosted in one VPS. how can i make messenger works when cloudflare is on? Any suggestion will be much appreciated.

Thanks,

  • 942
Comments
    • As I told you, you can not have jot behind cloudflare. So you have two options.

      1. Add the DNS passthrough to cloudflare for jot.yourdomain.tld, make sure your SSL cert covers 'jot' - and be sure to configure everything accordingly.

      2. Get a very cheap vps for jot. Kamatera has one for $4 that I use on setting up others.

      Cons:

      1. This will throw cloudflare warnings, because the DNS exposes your server IP - which is about the only reason to use cloudflare free.

      2. You must setup the second server.

      Pros:

      1. Easy

      2. Separates your jot server IP from your main server IP.

      • Thanks @Wise .

        Option 1:

        1) Once subdomain is created then it will create a sub folder .

        2) What should be next step? Do I need to install jot server on domain name or I can change existing working installation to point it to new domain?

        Option 2:

        1) Once I will buy new VPS then what steps I need to do in order to ensure that both vps is connected to each other?

        Thanks,

        • It is hard to advise completely because I don't know your setup, but either way, regardless of the approach you take, you will have to do the same thing.

          You will need the frontend to proxy the node server back end.

          So, if nginx is your frontend, you would set a reverse proxy to the port you are using. No need to create an actual sub domain. The configuration can be done in nginx config files.

          In cloudflare, you add a DNS record, jot.domain.tld and point it to the IP of either your current server, or the new one.

          If you are using a control panel that auto creates the let's encrypt SSL and you need the subdomain to do so, creation is fine. You still must reverse proxy node.js

          • Yes mine is jitsi.mywebsite.com I was helped with great support on this by AQB soft

            • Thanks @Clubhouse . I will get in touch with AQB soft. I did all the instruction but I am not able to resolve error net::ERR_CERT_COMMON_NAME_INVALID for subdomain . Basiclly subdomain jot(dot)mywebsite(dot)com works fine but when it goes to jot(dot)mywebsite(dot)com:5000 then I am getting above error. Even I tried to update the JOT server SSL to ensure that its same but no luck. :(

              • Can I ask did you install or your host, I tried the host first of all but they did not understand it, There is a great pice on here about it, but if you watch the Youtube instruction it makes it more difficult, I know fully as you have been told Cloudfare can cause problems , as its been said

                  • But the SSL is most important make sure it is the correct one in the correct place of course

                    • If jot.domain.com is working and SSL is not giving an error, then the SSL certificate for jot server is not correct. Or you didn't restart the jot server.

                      SSL for the jot server must be the same one used in your web host. You must copy the files, or point the jot config to the correct SSL certs.

                      Login or Join to comment.