tplink-energy-monitor icon indicating copy to clipboard operation
tplink-energy-monitor copied to clipboard

No Data Shown Through Proxy

Open alexoi2 opened this issue 5 years ago • 1 comments

Hey,

Firstly thanks for the app just exactly what I wanted.

One issue though is that I have no data from the plug that is being displayed if i looked at the dashboard through my proxy (traefik). The local address :3000 show everything right. But if I look through my domian.com I just have the device name / model but that s it. There is no consumption data .. any ideas?

cheers,

alexoi2 avatar Sep 05 '19 09:09 alexoi2

Had the same problem, fixed it by "enabling" websockets through my reverse proxy (nginx in my case).

Addes this to my "location":

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";

This is probably different for traefik, but it was easy to find on google.

StingerTopGun avatar Oct 24 '20 08:10 StingerTopGun