Author Topic: Local METAR reports Not loading  (Read 11634 times)

0 Members and 1 Guest are viewing this topic.

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #150 on: October 05, 2019, 06:45:47 PM »
It's not Ken's issue... It's Godady's...  I actually tried to get the guy to come on here and admit it, but obviously he can't.  Even if you have C-panel if you are on an old cluster it won't work. They would like to move you to a new cluster, but if they can they would like to charge you to do it. If you wait they'll just do it.
« Last Edit: October 05, 2019, 07:03:08 PM by wcrowder »
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline gateway2capecod

  • Senior Member
  • **
  • Posts: 99
    • West Wareham, Ma Weather
Re: Local METAR reports Not loading
« Reply #151 on: October 05, 2019, 07:02:55 PM »
It's not Ken's issue... It's Godady's...


Yes I know.


So I just called godaddy and asked if they could put me on the 10.255.xxx.xxx name servers like Bismark is on and his Metar is working and they said only if I switch from a Shared Hosting plan to a Dedicated One.

My shared plan with no HTTPS  is running me about $30.00 a Year...The Dedicated Plan would run me about $240.00 a Year...f**k That !!

Just went to 1and 1 and from what I could see it looks like they would charge about $4.00 a month cancell at anytime. which would be $48.00 a year. Most likely a shared host without Https but Most likely the Metar Data will load correctly unlike Godaddy Hosting.

Actually I think I might just bite the bullet tonight or sunday and sign up for the $4.00 a month Plan with 1and 1, Put copies of all my files on my server/hostng with them and see how it goes.  Maybe even get a new domain with them as well for testing purposes and if all goes well just let my website visitors know that instead of my web address being www.gateway2capecod.com  it will be www.gateway2capecod.net  or something of that nature. Then I can say goodbye to godaddy for webhost and also Domain Name since they Dont want to Help all of us.

....chris

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #152 on: October 05, 2019, 08:14:43 PM »
I think I spend around $1,200.00 a year with Godaddy. Office365 accounts and web hosting. Most of it is a hobby. I'm considering re-evaluating that after the last few weeks of conversations with them. I don't have time for that, especially when it's their fault.

Let me re-iterate this. This is nothing to do with Ken's or those that collaborated's code. This is solely on the shoulders of Godaddy.

I'm staying with them for now because for years, "It just just worked"...

Thank you Ken and all that contribute to these templates. I edit them to fit my phone but without them I would be lost.
« Last Edit: October 05, 2019, 08:19:56 PM by wcrowder »
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Local METAR reports Not loading
« Reply #153 on: October 05, 2019, 10:52:40 PM »
Quote
Just went to 1and 1 and from what I could see it looks like they would charge about $4.00 a month cancell at anytime. which would be $48.00 a year. Most likely a shared host without Https but Most likely the Metar Data will load correctly unlike Godaddy Hosting.

You do get one SSL certificate with that if I'm reading it correctly.

Quote
Actually I think I might just bite the bullet tonight or sunday and sign up for the $4.00 a month Plan with 1and 1, Put copies of all my files on my server/hostng with them and see how it goes.  Maybe even get a new domain with them as well for testing purposes and if all goes well just let my website visitors know that instead of my web address being www.gateway2capecod.com  it will be www.gateway2capecod.net  or something of that nature. Then I can say goodbye to godaddy for webhost and also Domain Name since they Dont want to Help all of us.

When all is ready to go you can always just point your old domain name to the 1&1 servers.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #154 on: October 06, 2019, 12:17:27 AM »
www.new.crowderfarm.com, loads instantly again. Test site on godaddy.

Run http://www.new.crowderfarm.com/TestDNS.php

Have to fix the rest of the site, but it seems to work.



« Last Edit: October 06, 2019, 12:23:02 AM by wcrowder »
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline the beteljuice

  • the beteljuice
  • Forecaster
  • *****
  • Posts: 316
    • test site
Re: Local METAR reports Not loading
« Reply #155 on: October 06, 2019, 12:33:24 AM »
@wcrowder

They've changed your name servers to the 'good' ones ...

Code: [Select]
# Generated via Puppet
nameserver 10.255.250.30
nameserver 10.255.251.30
options rotate
Let's see if they do for everybody, or only the ones who threaten to walk !
Imagine what you will KNOW tomorrow !

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: Local METAR reports Not loading
« Reply #156 on: October 06, 2019, 06:50:27 AM »
www.new.crowderfarm.com, loads instantly again. Test site on godaddy.

Run http://www.new.crowderfarm.com/TestDNS.php

Have to fix the rest of the site, but it seems to work.

How did you get them to switch servers??
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #157 on: October 06, 2019, 12:51:46 PM »
I was on a really old Linux hosting package, they moved me to C Panel on another server.  They wanted to charge me $99.00 to do that, I talked them out of it.
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline gateway2capecod

  • Senior Member
  • **
  • Posts: 99
    • West Wareham, Ma Weather
Re: Local METAR reports Not loading
« Reply #158 on: October 06, 2019, 02:30:59 PM »
Hello......

well I bit the Bullet and Now am on 1and1 Hosting and also got new Domain with them free for first year. The webHosting is $4.00 a month for one website and came with Free SSL Certificate so my site will now be secure/HTTPS.

The new Domain is:
https://www.gateway2capecod.net

(The old Domain on Godaddy is http://www.gateway2capecod.com)

basically just changed from httpto an https  and at end from .com to .net

I have loaded all the files that make up website and used the unaltered   get-metar-conditions-inc.php file and now the Metar Data is working as it should.


I have updated my profile in this forum to reflect the new site is someone clicks on the link for it next to my user name. will need to do this in a few other places as well.

I also plan on leaving the old godaddy site partially up but not updating live data so that I can inform my visitors of the new Domain Name Change and they can update their Bookmarks.

Would have been nice to keep the old domain with the new webhost but this way I will no longer have any dealings with godaddy once they expire.

One really nice benefit of Being on 1and1 is that Ken from Saratoga that writes all these Amazing Scripts and Maintains them for all of Us is also on 1and1.

if anyone knows a simple way for me to point visitors from my old domain to the new domain besides just adding a Special Note at the top of my old domain Homepage, please let me know.

Thanks......Chris      https://www.gateway2capecod.net


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Local METAR reports Not loading
« Reply #159 on: October 06, 2019, 04:30:37 PM »
Hi Chris,
In your old site, you can add to .htaccess
Code: [Select]
Redirect 301 / https://www.gateway2capecod.net/
and all visitors will automatically go to your new site. 

BTW.. I've changed your entry in the NorthEastern network to use your new site :)
It will take up to an hour to propogate to the global network, but the NEWN now shows your conditions.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline gateway2capecod

  • Senior Member
  • **
  • Posts: 99
    • West Wareham, Ma Weather
Re: Local METAR reports Not loading
« Reply #160 on: October 06, 2019, 04:43:28 PM »
Hi Chris,
In your old site, you can add to .htaccess
Code: [Select]
Redirect 301 / https://www.gateway2capecod.net/
and all visitors will automatically go to your new site. 

BTW.. I've changed your entry in the NorthEastern network to use your new site :)
It will take up to an hour to propogate to the global network, but the NEWN now shows your conditions.


Hello Ken......Thank you

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #161 on: October 06, 2019, 04:54:01 PM »
Hello......

well I bit the Bullet and Now am on 1and1 Hosting and also got new Domain with them free for first year. The webHosting is $4.00 a month for one website and came with Free SSL Certificate so my site will now be secure/HTTPS.

The new Domain is:
https://www.gateway2capecod.net


Wow, mines $295.75 per year. Including SSL and dedicated ip.  I also have 8 Office365 accounts with them that makes it hard to leave, or I would. I'm back up mostly, I'll have to redo my front page.  It did take me awhile to fix all the errors that was blocking getting the padlock symbol, but it's mostly working now.
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #162 on: October 06, 2019, 04:58:36 PM »
It's not Ken's issue... It's Godady's...


Yes I know.


So I just called godaddy and asked if they could put me on the 10.255.xxx.xxx name servers like Bismark is on and his Metar is working and they said only if I switch from a Shared Hosting plan to a Dedicated One.


....chris

I'm still on shared hosting, with dedicated ip and SSL addons. They are con artists.
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Local METAR reports Not loading
« Reply #163 on: October 06, 2019, 05:31:49 PM »
Chris,

To add to what Ken said, the following in .htaccess on your NEW (1&1) server will redirect http accesses to https:

Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gateway2capecod

  • Senior Member
  • **
  • Posts: 99
    • West Wareham, Ma Weather
Re: Local METAR reports Not loading
« Reply #164 on: October 06, 2019, 07:08:37 PM »
Chris,

To add to what Ken said, the following in .htaccess on your NEW (1&1) server will redirect http accesses to https:

Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


Hello Jasiu.....

Thanks also for the tip.  a few questions....if I was to put the new URL and not use the https  is it the same thing and will both the https and http both work for eternity?

I also noticed at top part of my browser  pale moon and or microsoft that when I dO  Enter the new domain with the https....it still says not secure even though they included a free ssl certificate with my purchase...any idea why this would be happening and how to fix>?

I think the error about non secure is referring to my site domain being private so maybe this is the issue???

 also wanted to note to both you and ken..I have added a special message to top of my old URL informing regular visitors to site to update their bookmarks...where as if I just do the htaccess redirect code which will work until my old domain gets shut off completely ..at least this way visitors will have a chance to update their saved bookmark for my site and actually see the new domain and know what has happened.

Thank you...Chris


  see attached image....
« Last Edit: October 06, 2019, 07:13:41 PM by gateway2capecod »

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Local METAR reports Not loading
« Reply #165 on: October 06, 2019, 07:47:23 PM »

Thanks also for the tip.  a few questions....if I was to put the new URL and not use the https  is it the same thing and will both the https and http both work for eternity?

I'm not 100% sure what you are asking. If you add the bit I posted to your .htaccess, you can give people the URL with or without the "https://" and they will get secure access. That's what happens on my site (enter lexmaweather.info in your browser and you'll still get an SSL connection).

Quote
I also noticed at top part of my browser  pale moon and or microsoft that when I dO  Enter the new domain with the https....it still says not secure even though they included a free ssl certificate with my purchase...any idea why this would be happening and how to fix>?

I think the error about non secure is referring to my site domain being private so maybe this is the issue???

Scroll a little further down in that image and you get your answer. Some content on your home page (most probably images) is fetched with "http://" URLs. The warning is that not ALL content on the page was fetched with SSL.

Quote
also wanted to note to both you and ken..I have added a special message to top of my old URL informing regular visitors to site to update their bookmarks...where as if I just do the htaccess redirect code which will work until my old domain gets shut off completely ..at least this way visitors will have a chance to update their saved bookmark for my site and actually see the new domain and know what has happened.

I assume you are going to end your GoDaddy contract. But that doesn't mean you can't keep the domain name. GD should have instructions on how to transfer the domain (to 1&1). Then, if you want, you can have both names pointing to the same server and no one has to update their bookmarks, etc. If you don't want to have to pay to maintain both URLs, though, you'd have to go with the new one (unless you can convince a 1&1 tech to swap the old one in as your "freebie" - I was successful with that once).
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #166 on: October 07, 2019, 11:02:08 AM »
I just spent an hour on the phone with Godaddy tech support and have solved nothing on my end.  UGH... 

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: Local METAR reports Not loading
« Reply #167 on: October 07, 2019, 04:06:42 PM »
I just spent an hour on the phone with Godaddy tech support and have solved nothing on my end.  UGH...

Same here...
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline wcrowder

  • Member
  • *
  • Posts: 42
    • Crowderfarm
Re: Local METAR reports Not loading
« Reply #168 on: October 07, 2019, 04:43:02 PM »
Chris,

To add to what Ken said, the following in .htaccess on your NEW (1&1) server will redirect http accesses to https:

Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

This is what I had to do after editing all external links and images in the source files from http:// to https://.

Example: change "http://icons.wunderground.com/data/640x480/ne_rd_anim.gif" to "https://icons.wunderground.com/data/640x480/ne_rd_anim.gif" on your front page.

This is in my .htaccess file edited to fit your needs.

Lines 2 and 3 are to allow "http:\\" access to the gen-MBtags.php and conds.php files to allow Meteobridge to handle them properly.  This snippet should work out of the box if you site is in the root. It appears to be working correctly and I now have a padlock symbol.

Make sure you don't have "RewriteEngine On" in the .htaccess file more then once.

@Jasiu does this look correct to you?

Code: [Select]
RewriteEngine On
RewriteCond %{THE_REQUEST} !/gen-MBtags\.php
RewriteCond %{THE_REQUEST} !/conds\.php
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?gateway2capecod\.net
RewriteRule ^(.*)$ https://www.gateway2capecod.net/$1 [R,L]
« Last Edit: October 07, 2019, 04:53:59 PM by wcrowder »
http://www.crowderfarm.com
Just playing around, work in progress. :)

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 949
    • LexMAWeather
Re: Local METAR reports Not loading
« Reply #169 on: October 07, 2019, 06:56:38 PM »
Just a few comments:

1) I modified the config on my meteobridge so that specific rules were not necessary in .htaccess.  My conds.php URL has an explicit "https://" in it. I use an "SFTP" rather than "FTP" entry for the tags file and the template URL has an explicit "https://" also.

2) I use the 301 return code (R=301) rather than the default 302 to indicate that the redirect is permanent.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline gateway2capecod

  • Senior Member
  • **
  • Posts: 99
    • West Wareham, Ma Weather
Re: Local METAR reports Not loading
« Reply #170 on: October 08, 2019, 07:47:57 PM »
Hello Again...

well so far I am pleased with 1and1 as my new Host. Everything is working like it should and I even re-added my usa extreme's script to left sidebar menu that was not working correctly on godaddy server. I probabbly should have just used my old domain with the new webhost but after the bullcrap godaddy put us through and not fixing anything for us loyal customers then the heck with them and they wont be getting another penny from me once the domain and webhost i have from them expires in a few months.

I updated all the places/forums etc etc  with my new domain url and also have the note on my old godaddy ".com" site for all visitors to update their bookmark for my site so hopefully everyone finds me at the .net site now. also updated the links for my domain  on things like my PWS page, Awekas Page, CWOP Page so all visitors to these places will get to the new domain.

If anyone else is sick of the godaddy crap like I was and wants to switch...just go here...https://www.ionos.com/hosting/web-hosting   and choose the ESSENTIAL Package for $4.00/Month.  not a bad deal and if all you have is one domain/website the essential package is all you need.

I still miss the good ol days when Alan from E-RICE Webhost was only Charging us $25.00 a year for Our sites to be online and everything ran Smoothly.

Have a Good Evening....Chris

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1043
    • GosportWx.com
Re: Local METAR reports Not loading
« Reply #171 on: October 12, 2019, 09:38:24 PM »
It seems as if the METAR issue has been solved, atleast for me anyway.. It's been a week and they haven't messed up yet.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #172 on: November 06, 2019, 02:14:13 PM »
Low and behold my new web hosting is now (as of today) getting "unable to load KMQS data RC=403 Forbidden"

www.atglenweather.com  it's been working great since I switched from GoDaddy to Hostgator (about a month). 
« Last Edit: November 06, 2019, 02:31:26 PM by ed_heaton »

Offline CamarilloWX

  • CamarilloWX
  • Senior Contributor
  • ****
  • Posts: 184
    • Camarillo Weather
Re: Local METAR reports Not loading
« Reply #173 on: November 06, 2019, 02:47:37 PM »
Low and behold my new web hosting is now (as of today) getting "unable to load KMQS data RC=403 Forbidden"

www.atglenweather.com  it's been working great since I switched from GoDaddy to Hostgator (about a month).
I am getting the same thing and I just moved from Go Daddy to 1 and 1.

Sent from my SM-G960U using Tapatalk

Eric

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9278
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Local METAR reports Not loading
« Reply #174 on: November 06, 2019, 03:25:50 PM »
Low and behold my new web hosting is now (as of today) getting "unable to load KMQS data RC=403 Forbidden"

www.atglenweather.com  it's been working great since I switched from GoDaddy to Hostgator (about a month). 

I'm seeing in a view-source with ?debug=y
Quote
<!-- get-metar-conditions-inc.php - Version 1.17 - 30-Nov-2018 -->
<!-- mtr_conditions using METAR ICAO='KMQS' -->
<!-- curl fetching 'https://tgftp.bldr.ncep.noaa.gov/data/observations/metar/stations/KMQS.TXT' -->
<!-- HTTP stats:  RC=403 dest=140.172.138.79
      Times: dns=0.000 conn=0.069 pxfer=0.319 get=0.060 total=0.379 secs -->
<!-- headers returned:
HTTP/1.1 403 Forbidden
Date: Wed, 06 Nov 2019 20:18:23 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Vary: Accept-Encoding
Content-Length: 243
Content-Type: text/html; charset=iso-8859-1
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
 -->
<!-- mtr_conditions returns RC='403 Forbidden' for ICAO/METAR='KMQS' -->
on your page.  It may be that the NWS site has (temporarily) declared your hostgator website IP address as 'hostile' (or the hostgator egress server) and is blocking the requests.  It's something for hostgator tech support and the NWS to resolve, I fear.

It's working fine on my site, and also on CamarilloWX's site at this time.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything