Hi Steve,
I've actually found a workaround now. I was also using python, but the urllib2 package. For me, calling wget from within python now works.
Here is my working code. Hope it helps.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send email to metoffice...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to metoffice-datapoint+unsub...@googlegroups.com.
Confirmation below from their support desk that they made a breaking change.
Steve
Dear Steve,
Following on from your initial email, I can confirm that there was a change which broke this on Tuesday. It has now been reverted and we'll take Datapoint into consideration when we roll it forward again.
I’m sorry for any inconvenience caused.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send email to metoffice...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
Confirmation below from their support desk that they made a breaking change.
Steve
Dear Steve,
Following on from your initial email, I can confirm that there was a change which broke this on Tuesday. It has now been reverted and we'll take Datapoint into consideration when we roll it forward again.
I’m sorry for any inconvenience caused.
Yes just noticed it had stopped, but it seems okay again now?
Steve
--
Hi WillYes just noticed it had stopped, but it seems okay again now?
Steve
On Fri, 15 Sep 2017, 11:42 Will Cooke <wi...@whizzy.org> wrote:
On Sunday, 10 September 2017 09:16:17 UTC+1, Steve Houghton wrote:Confirmation below from their support desk that they made a breaking change.
Steve
Dear Steve,
Following on from your initial email, I can confirm that there was a change which broke this on Tuesday. It has now been reverted and we'll take Datapoint into consideration when we roll it forward again.
I’m sorry for any inconvenience caused.
--I had the same problem, and it fixed itself (courtesy of you guys logging an issue), and now it's suddenly back again.Can anyone confirm they've got the 403 error back again?Cheers, Will
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datapoint+unsub...@googlegroups.com.
To post to this group, send email to metoffice-datapoint@googlegroups.com.
Some seem to be finding server-side scripts or command line tools (e.g. wget or curl) consistently fail with '403 Forbidden', but they find the URL works fine when accessed from a web browser.
Others, like me, seem to be seeing 'random' failures of their server side scripts. In this case direct testing with a web browser would not be particularly diagnostic as running the script again will almost invariably be successful.
I see the issue mostly with the 3 hourly 5 day forecasts but it has happened with the regional text forecasts too. I fetch the feeds one after the other in the same script and have yet to see both fail at once.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send an email to metoffice...@googlegroups.com.
For me its not random. Wget and curl fail 100%, web works mostly 100%.
Something changed in last 24hrs though. When I tried to ping datapoint.metoffice.gov.uk day before yesterday I never got the same IP two requests on the trot, there were more than a dozen unique responses. Just now I get just two, 23.62.2.80 and 82. All IPs are from Akamai.
Not sure if that is relevant, just an observation.
Sent from my mobile phone
--
You received this message because you are subscribed to the Google Groups "Met Office DataPoint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send email to metoffice...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
Hi,
Apologies for a 'me too'. I'm only checking once per hour but that is sufficient to see that there are intermittent 403 errors on both current obs and three hourly forecasts.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send an email to metoffice...@googlegroups.com.
Me too. Random failures from php script on server, fine from local browser for 5 day forecast.
--
You received this message because you are subscribed to a topic in the Google Groups "Met Office DataPoint" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/metoffice-datapoint/oCFiAHxJNlY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to metoffice-datap...@googlegroups.com.
To post to this group, send email to metoffice...@googlegroups.com.
I've just had the following response from the Met Office: "Our support team have restarted one of the service and have asked to get confirmation that this has been resolved?"Is anyone still getting errors?
You received this message because you are subscribed to the Google Groups "Met Office DataPoint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metoffice-datap...@googlegroups.com.
Martin
I think you could be right. I haven't had any 403 errors since Sept 2019 when I changed my user agent string in the curl request from 'PHP' to the user's user agent: $_SERVER['HTTP_USER_AGENT']. I hope I haven't spoken too soon!
Well, I raised the incident but they stopped happening and I couldn't reproduce the problem so the incident was closed.However, I subsequently found that although I thought my code was using a browser-like user agent string, in fact it wasn't. I've changed it to do so and we'll see what happens.