Author Topic: Environment Canada woes?  (Read 1218 times)

0 Members and 1 Guest are viewing this topic.

Offline weathergirl

  • Forecaster
  • *****
  • Posts: 677
    • Beamsville Weather Station
Environment Canada woes?
« on: May 28, 2016, 10:48:51 AM »
I'm receiving this message on my site-

"Sorry. Incomplete file received from Environment Canada website."

Also, the Environment Canada forecasts are not current.
Ann-Marie
Beamsville, Ontario, Canada

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9296
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Environment Canada woes?
« Reply #1 on: May 28, 2016, 11:10:13 AM »
Looking at the view-source of your wxforecast.php page shows
Quote
<!-- ec-forecast.php - V3.05 - 16-Dec-2015 -->
<!-- GET /city/pages/on-47_metric_e.html HTTP/1.1
      Host: weather.gc.ca  Port: 80 IP=205.189.10.43 -->
<!-- Network error: Connection timed out (110) -->
<!-- HTTP stats:  dns=0.000 conn=4.002 put=n/a get( blocks)=n/a close=n/a total=4.003 secs -->
<!-- fetch function elapsed= 4 secs. -->
<!-- time to fetch: 4.003 sec () -->
<!-- headers returned:

 -->
<!-- using Cached version from ./cache/ec-forecast-0-en.txt due to unsucessful fetch(s); age=52564 seconds old -->
so there seems to be an issue with your webserver connecting to weather.gc.ca website (time out).

It may be just a transient thing.

Running it on my 1and1 site, I see
Quote
<!-- ec-forecast.php - V3.04 - 14-Dec-2015 -->
<!-- GET /city/pages/on-107_metric_e.html HTTP/1.1
      Host: weather.gc.ca  Port: 80 IP=205.189.10.44 -->
<!-- HTTP stats:  dns=0.000 conn=0.059 put=0.000 get(59 blocks)=0.065 close=0.000 total=0.125 secs -->
<!-- fetch function elapsed= 0 secs. -->
<!-- time to fetch: 0.125 sec (200 OK) -->

If it persists for a few hours, contact your tech support for your hoster and ask them to test (on your webserver)
a

wget http://weather.gc.ca/city/pages/on-47_metric_e.html

have them fix any issues discovered.
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 weathergirl

  • Forecaster
  • *****
  • Posts: 677
    • Beamsville Weather Station
Re: Environment Canada woes?
« Reply #2 on: May 28, 2016, 11:15:30 AM »
Will do, thanks Ken. Also, I use 1&1 as well.
« Last Edit: May 28, 2016, 11:25:11 AM by weathergirl »
Ann-Marie
Beamsville, Ontario, Canada

Online PaulMy

  • Forecaster
  • *****
  • Posts: 5519
    • KomokaWeather
Re: Environment Canada woes?
« Reply #3 on: May 28, 2016, 02:31:59 PM »
Mine seems to be ok

Paul

Offline weathergirl

  • Forecaster
  • *****
  • Posts: 677
    • Beamsville Weather Station
Re: Environment Canada woes?
« Reply #4 on: May 28, 2016, 02:41:03 PM »
The problem might be with my ISP (again!).
Ann-Marie
Beamsville, Ontario, Canada

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9296
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Environment Canada woes?
« Reply #5 on: May 28, 2016, 04:11:13 PM »
No, not your ISP (for your home system).. the problem is with the webserver at 1and1 -- that is where the HTTP GET is done from.
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 weathergirl

  • Forecaster
  • *****
  • Posts: 677
    • Beamsville Weather Station
Re: Environment Canada woes?
« Reply #6 on: May 28, 2016, 06:46:52 PM »
Still trying to get answers, I've gotten cut off during my calls to 1&1 a few times now.
Ann-Marie
Beamsville, Ontario, Canada