502 Bad Gateway error1

Everything is perfect site is active on Cloudflare but it shows bad gateway error when I open it. No SSL detect by hosting DEPTH_ZERO_SELF_SIGN_CERT. error. Can you please help me with this problem?

Good afternoon.

I assume you are using a self-signed cert, if your site is running on Nodejs you may try with this:

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" // Avoids DEPTH_ZERO_SELF_SIGNED_CERT error for self-signed certs

You may find more technical details here: https://nodejs.org/dist/v0.12.9/docs/api/tls.html#tls_tls_connect_options_callback.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.