weather-widget icon indicating copy to clipboard operation
weather-widget copied to clipboard

Error message

Open WGrav01 opened this issue 2 years ago • 1 comments

(node:11416) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. (Use node-x64 --trace-warnings ... to show where the warning was created) {"code":400,"error":"Poorly formatted request","location":"NOT LEAKING MY LOCATION"}

WGrav01 avatar May 09 '22 18:05 WGrav01

I think this can be fixed either in the Widget or in Uebersicht itself. I posted about this here:

https://github.com/felixhageloh/uebersicht/issues/478

The fix is to just change line 4 of get-weather.js to:

process.env.NODE_TLS_REJECT_UNAUTHORIZED = 1;

jetblackrx89 avatar May 12 '22 22:05 jetblackrx89