I'm trying to show a web page on my dashboard for additional information. For testing I tried to show "https://duckduckgo.com/". But on the dashboard all I see is a error message stating: duckduckgo refused to connect. I used a template node and iframe to show the message. The complete flow is posted here. What am I doing wrong?
most probably this error occurs because you using an SSL (that is secure) website as src, and Node-RED is not using a certificate - so try replacing with an http URL instead example http://neverssl.com/, if you want to use iframe with a secure connection , you would need node-red server secured
you would need to have node-red secured with a certificate, etc. - so rather than http://localhost , it should be https://localhost - now this is a different discussion.. follow the docs to have a secure node-red server and try with a self-signed certificate then see if this works..
Really NOT a good idea, the pages are secure for a reason.
The forum has lots of info on securing Node-RED and you can run a proxy instead of messing with Node-RED if you want to - just let the proxy deal with the TLS part.