milesmcc / shynet

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Apache License 2.0
2.89k stars 183 forks source link

Dashboard works but when I access the page on my website loading the script.js fails #247

Open gilgtc opened 1 year ago

gilgtc commented 1 year ago

I followed the instructions for docker-compose and everything seemed to go well. I can access dashboard at http and have injected the tracking script code into a relevant page.

When I try to access the page I get the error in the browser console:

Loading failed for the <script> with source “https://mydomain.com:9000/ingress/******-5c88-4f07-88c1-741f77e92c38/script.js”.

And when I try to load the script itself:

Secure Connection Failed

An error occurred during a connection to mydomain.com. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

Do I need to set up some SSL certificates how do I go about doing that?

haaavk commented 1 year ago

You can try to use "http://" in tracking script address. It may be a better solution to generate SSL certificate. Certbot is quite simple to use.