Steelseries Gauges don't work ?
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
I think I figured it out, I disabled Mime Sniffing Protection in PHP on the subdomain. Does that look right now?
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Steelseries Gauges don't work ?
Yeah, I'm scratching my head why. Looking at all my blocks and plugins I cant recreate what's happening on his block and plugn.
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: Steelseries Gauges don't work ?
i got it!!
He did not have solar sensor!!
The plugin was waiting for the solar information.
He did not have solar sensor!!
The plugin was waiting for the solar information.
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
No I'm pretty sure it was the Mime Sniffing Protection setting in PHP, if I toggle that back on it breaks. I did also disable the solar sensor as my station does not currently support that sensor type just in case.
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Steelseries Gauges don't work ?
Thats a new one for me. What are you using to feed you api.php?
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Steelseries Gauges don't work ?
Where is the"Mime Sniffing Protection setting in PHP" located at Sir?
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
I mis-typed, it isn't a PHP setting but rather its part of cross site/cross script vulnerabilities in Apache/Nginx. It is a pretty deep rabbit hole but I use a control panel called Runcloud that manages my web server, etc hosted on a VM with Digitalocean. and it has several security settings enabled by default for every site that you create.
Some very basic info on it can be purused here: https://geekflare.com/secure-mime-types ... e-options/
Some very basic info on it can be purused here: https://geekflare.com/secure-mime-types ... e-options/
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Steelseries Gauges don't work ?
I looked at it quickly but can't find where the “nosniff” is inserted? In the index.html? or htaccess or is at your hosts control panel settings?
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
My host is Digitalocean: https://www.digitalocean.com/. I have multiple VMs running their but for my web server I am using their slightly above rock bottom Droplet plan:
1 vCPUs
2GB / 25GB Disk
Ubuntu 18.04 LTS
If you want to see all their pricing it is listed here: https://www.digitalocean.com/pricing/. If your interested in them I have a referral code that I can give out that gives you credits on your bill for the first few months their lower end plans.
The control panel is Rucloud: https://runcloud.io/. Basically it sets everything up so you have a secure and esy to maintain web server for PHP applications (but you can run anything else on their if you want). I am a Systems Admin/Engineer in my day job for Bass Pro and its noce to not have to get down into the weeds configuring things from the CLI for my hobby projects.
1 vCPUs
2GB / 25GB Disk
Ubuntu 18.04 LTS
If you want to see all their pricing it is listed here: https://www.digitalocean.com/pricing/. If your interested in them I have a referral code that I can give out that gives you credits on your bill for the first few months their lower end plans.
The control panel is Rucloud: https://runcloud.io/. Basically it sets everything up so you have a secure and esy to maintain web server for PHP applications (but you can run anything else on their if you want). I am a Systems Admin/Engineer in my day job for Bass Pro and its noce to not have to get down into the weeds configuring things from the CLI for my hobby projects.
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
I will look a little further when I get home to see where it is behind the scenes.
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: Steelseries Gauges don't work ?
Dang.....I thought it was me....lol.
Knew i could not be that good!
lol
Knew i could not be that good!
lol
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Steelseries Gauges don't work ?
Well I certainly learned something from this. Pretty much did the same troubleshooting you did but a new one on me. The lowering the PHP version was a good call. Beat me to it hahaha. Anyway I learned something new.
- Dehatter
- Professional

- Posts: 350
- Joined: Sun Jan 07, 2018 5:11 am
- Location: Matthews, NC, USA
- Station model: Ecowitt WH80
- Software: Ecowitt GW1000
- Contact:
Re: Steelseries Gauges don't work ?
In the end MIME sniffing has no threat to us as we do not accept data from users of any kind. We call data from specific sources, but users can't upload to us.
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
Correct, Runcloud errs on the side of caution and is probably more paranoid than it needs to be.
-
Gatewayy
- Observer

- Posts: 20
- Joined: Wed Jan 09, 2019 11:31 pm
- Location: United States of America
- Station model: Netatmo
- Software: Weathercat
Re: Steelseries Gauges don't work ?
Ok I was able to locate it eventually. For my setup you see the following listed in /etc/nginx-rc/conf.d/WX.d/headers.conf the file contains the following if nosniff is enabled within Runcloud.
# Do not edit this file
# Editing this file manually might break RunCloud System
# If you think there is a bug, contact us at bug@runcloud.io
# Header option for security purpose
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
# HSTS
# HSTS DISABLED"
include /etc/nginx-rc/extra.d/WX.headers.*.conf;
# Do not edit this file
# Editing this file manually might break RunCloud System
# If you think there is a bug, contact us at bug@runcloud.io
# Header option for security purpose
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
# HSTS
# HSTS DISABLED"
include /etc/nginx-rc/extra.d/WX.headers.*.conf;